electric.soap.wsdl
Class DocLitSOAPWriter

java.lang.Object
  extended byelectric.soap.wsdl.DocLitSOAPWriter
All Implemented Interfaces:
ISOAPWriter, IWSDLConstants

public class DocLitSOAPWriter
extends java.lang.Object
implements ISOAPWriter, IWSDLConstants

DocLitSOAPWriter

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
 
Constructor Summary
DocLitSOAPWriter(SOAPOperation operation)
           
 
Method Summary
 IReader getReader(SOAPMessage message)
          Get the reader for the message.
 java.lang.String getRequestName()
           
 IWriter getRequestWriter(SOAPMessage request)
           
 java.lang.String getResponseName()
           
 IWriter getResponseWriter(SOAPMessage response)
           
 boolean isRPC()
           
 java.rmi.RemoteException readException(SOAPMessage faultMessage, SOAPOperation operation)
           
 Type remapException(SOAPMessageDecl fault, boolean forceExceptionInheritence)
           
 SOAPOptimizations selectOptimizations(SOAPOptimizations optimizations)
           
 void setDocument(SOAPMessage request, SOAPOptimizations optimizations)
           
 void setParameters()
           
 void setRequestName(java.lang.String requestName)
           
 void setResponseName(java.lang.String responseName)
           
 void writeException(SOAPMessage exceptionMessage, java.lang.Throwable throwable)
           
 void writeStyle(Element soapOperation)
          Since WSDL is almost always the same for a SOAP Operation, that is handled at the base class level.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SMALL_PREFIX

protected static final java.lang.String SMALL_PREFIX
See Also:
Constant Field Values
Constructor Detail

DocLitSOAPWriter

public DocLitSOAPWriter(SOAPOperation operation)
                 throws SchemaException
Parameters:
operation -
Throws:
SchemaException
Method Detail

getReader

public IReader getReader(SOAPMessage message)
Description copied from interface: ISOAPWriter
Get the reader for the message.

Specified by:
getReader in interface ISOAPWriter
Parameters:
message -

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 -

remapException

public Type remapException(SOAPMessageDecl fault,
                           boolean forceExceptionInheritence)
                    throws SchemaException
Specified by:
remapException in interface ISOAPWriter
Parameters:
fault -
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 -

setDocument

public void setDocument(SOAPMessage request,
                        SOAPOptimizations optimizations)
Specified by:
setDocument in interface ISOAPWriter
Parameters:
request -
optimizations -

setParameters

public void setParameters()
                   throws SchemaException
Throws:
SchemaException

getRequestName

public java.lang.String getRequestName()
Specified by:
getRequestName in interface ISOAPWriter
Returns:

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
Returns:

setResponseName

public void setResponseName(java.lang.String responseName)
Specified by:
setResponseName in interface ISOAPWriter
Parameters:
responseName -


copyright© 2001-2004 by webMethods All Rights Reserved.