electric.soap.wsdl
Class RPCSOAPWriter
java.lang.Object
electric.soap.wsdl.RPCSOAPWriter
- All Implemented Interfaces:
- ISOAPWriter, IWSDLConstants
- public class RPCSOAPWriter
- extends java.lang.Object
- implements ISOAPWriter, IWSDLConstants
RPCSOAPWriter
- Author:
- webMethods
Field Summary |
protected static java.lang.String |
SMALL_PREFIX
|
Fields inherited from interface electric.wsdl.IWSDLConstants |
ADDRESS, BINDING, DEFINITIONS, DESCRIPTION, DOCUMENT, DOCUMENTATION, ELEMENT, ENCODED, ENCODING_STYLE, ENDPOINT, FAULT, FAULT_DETAIL, GET, GETPOST, HTTP, INPUT, LITERAL, LOCATION, MESSAGE, METHOD_NAMESPACE, MIME, NAME, NAMESPACE, OPERATION, OUTPUT, PARAMETER_ORDER, PARAMETERS, PART, PORT, PORT_TYPE, POST, RPC, SERVICE, SOAP, SOAP_ACTION, STYLE, TARGET_NAMESPACE, TARGET_NAMESPACE_PREFIX, TNS, TRANSPORT, TYPE, USE, VERB, WSDL_EXTENSION, WSDL_NAMESPACE, WSDL_PREFIX, WSDL_SOAP_NAMESPACE, WSDL_SOAP_PREFIX, WSDL_SOAP11_NAMESPACE, WSDL_SOAP11_PREFIX, WSDL_SOAP12_NAMESPACE, WSDL_SOAP12_PREFIX |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SMALL_PREFIX
protected static final java.lang.String SMALL_PREFIX
- See Also:
- Constant Field Values
RPCSOAPWriter
public RPCSOAPWriter(SOAPOperation operation)
throws SchemaException
- Parameters:
operation
-
- Throws:
SchemaException
RPCSOAPWriter
public RPCSOAPWriter(SOAPOperation operation,
java.lang.String encodingStyle)
throws SchemaException
- Parameters:
operation
- encodingStyle
-
- Throws:
SchemaException
RPCSOAPWriter
public RPCSOAPWriter()
- USED BY JAX-RPC only.
setSOAPOperation
public void setSOAPOperation(SOAPOperation operation)
- Parameters:
operation
-
getResponseWriter
public IWriter getResponseWriter(SOAPMessage response)
- Specified by:
getResponseWriter
in interface ISOAPWriter
- Parameters:
response
-
getRequestWriter
public IWriter getRequestWriter(SOAPMessage request)
- Specified by:
getRequestWriter
in interface ISOAPWriter
- Parameters:
request
-
getReader
public IReader getReader(SOAPMessage response)
- Description copied from interface:
ISOAPWriter
- Get the reader for the message.
- Specified by:
getReader
in interface ISOAPWriter
- Parameters:
response
-
remapException
public Type remapException(SOAPMessageDecl fault,
boolean forceExceptionInheritence)
throws SchemaException
- Specified by:
remapException
in interface ISOAPWriter
- Parameters:
fault
- forceExceptionInheritence
-
- Throws:
SchemaException
writeException
public void writeException(SOAPMessage exceptionMessage,
java.lang.Throwable throwable)
throws java.io.IOException
- Specified by:
writeException
in interface ISOAPWriter
- Parameters:
exceptionMessage
-
- Throws:
java.io.IOException
readException
public java.rmi.RemoteException readException(SOAPMessage faultMessage,
SOAPOperation operation)
- Specified by:
readException
in interface ISOAPWriter
- Parameters:
faultMessage
- operation
-
selectOptimizations
public SOAPOptimizations selectOptimizations(SOAPOptimizations optimizations)
- Specified by:
selectOptimizations
in interface ISOAPWriter
- Parameters:
optimizations
-
isRPC
public boolean isRPC()
- Specified by:
isRPC
in interface ISOAPWriter
writeStyle
public void writeStyle(Element soapOperation)
- Description copied from interface:
ISOAPWriter
- Since WSDL is almost always the same for a SOAP Operation, that is handled at the
base class level. The one big difference was that the style must be different,
thus we delegate to this method to write it out as appropriate.
- Specified by:
writeStyle
in interface ISOAPWriter
- Parameters:
soapOperation
-
setParameters
public void setParameters()
throws SchemaException
- Throws:
SchemaException
setDocument
public void setDocument(SOAPMessage request,
SOAPOptimizations optimizations)
- Specified by:
setDocument
in interface ISOAPWriter
- Parameters:
request
- optimizations
-
getRequestName
public java.lang.String getRequestName()
- Specified by:
getRequestName
in interface ISOAPWriter
setRequestName
public void setRequestName(java.lang.String requestName)
- Specified by:
setRequestName
in interface ISOAPWriter
- Parameters:
requestName
-
getResponseName
public java.lang.String getResponseName()
- Specified by:
getResponseName
in interface ISOAPWriter
setResponseName
public void setResponseName(java.lang.String responseName)
- Specified by:
setResponseName
in interface ISOAPWriter
- Parameters:
responseName
-
copyright© 2001-2004 by webMethods All Rights Reserved.