electric.soap.wsdl
Interface ISOAPWriter

All Known Implementing Classes:
DocLitSOAPWriter, RPCLitSOAPWriter, RPCSOAPWriter

public interface ISOAPWriter

ISOAPWriter

Author:
webMethods

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 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.
 

Method Detail

selectOptimizations

public SOAPOptimizations selectOptimizations(SOAPOptimizations optimizations)
Parameters:
optimizations -

setDocument

public void setDocument(SOAPMessage request,
                        SOAPOptimizations optimizations)
Parameters:
request -
optimizations -

getReader

public IReader getReader(SOAPMessage message)
Get the reader for the message.

Parameters:
message -

getRequestWriter

public IWriter getRequestWriter(SOAPMessage request)
Parameters:
request -

getResponseWriter

public IWriter getResponseWriter(SOAPMessage response)
Parameters:
response -

remapException

public Type remapException(SOAPMessageDecl fault,
                           boolean forceExceptionInheritence)
                    throws SchemaException
Throws:
SchemaException

readException

public java.rmi.RemoteException readException(SOAPMessage faultMessage,
                                              SOAPOperation operation)
Parameters:
faultMessage -
operation -

writeException

public void writeException(SOAPMessage exceptionMessage,
                           java.lang.Throwable throwable)
                    throws java.io.IOException
Parameters:
exceptionMessage -
Throws:
java.io.IOException

writeStyle

public void writeStyle(Element soapOperation)
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.

Parameters:
soapOperation -

getRequestName

public java.lang.String getRequestName()

setRequestName

public void setRequestName(java.lang.String requestName)
Parameters:
requestName -

getResponseName

public java.lang.String getResponseName()

setResponseName

public void setResponseName(java.lang.String responseName)
Parameters:
responseName -

isRPC

public boolean isRPC()


copyright© 2001-2004 by webMethods All Rights Reserved.