electric.soap.wsdl
Class RPCLitSOAPWriter

java.lang.Object
  extended byelectric.soap.wsdl.RPCLitSOAPWriter
All Implemented Interfaces:
ISOAPWriter

public class RPCLitSOAPWriter
extends java.lang.Object
implements ISOAPWriter

RPCLitSOAPWriter

Author:
webMethods

Field Summary
protected static java.lang.String SMALL_PREFIX
           
 
Constructor Summary
RPCLitSOAPWriter(SOAPOperation operation)
           
 
Method Summary
static void disable()
           
static void enable()
           
 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)
           
static boolean isEnabled()
           
 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)
          This duplicates lots of code! See DocLitSOAPWriter and RPCSOAPWriter.
 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

RPCLitSOAPWriter

public RPCLitSOAPWriter(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
Throws:
SchemaException

writeException

public void writeException(SOAPMessage exceptionMessage,
                           java.lang.Throwable throwable)
                    throws java.io.IOException
This duplicates lots of code! See DocLitSOAPWriter and RPCSOAPWriter.

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 -

enable

public static void enable()

isEnabled

public static boolean isEnabled()

disable

public static void disable()


copyright© 2001-2004 by webMethods All Rights Reserved.