|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openspml.v2.transport.SPMLViaSoapDispatcher
This is a demonstration class for handling SOAP.
| Constructor Summary | |
SPMLViaSoapDispatcher()
|
|
| Method Summary | |
java.lang.String |
dispatchRequest(java.lang.String inMessage)
This does the bulk of the work. |
java.lang.String |
getContentType()
If you handle a request of a given type, you also need to provide us with contentType string to return. |
void |
init(java.util.Map config)
We want to run over the config and instantiate our marshallers and excecutors. |
protected SPMLExecutor[] |
initExecutors(java.util.Map config)
Set up the executors list from the config. |
protected SPMLMarshaller[] |
initMarshallers(java.util.Map config)
Initialize the marshallers names in the config |
protected java.lang.String |
unwrapRequest(java.lang.String message)
Pull out the Soap body |
protected java.lang.String |
wrapResponse(java.lang.String result)
Add a soap envelope. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SPMLViaSoapDispatcher()
| Method Detail |
public void init(java.util.Map config)
throws Spml2TransportException
init in interface RPCDispatcherconfig -
Spml2TransportException
public java.lang.String dispatchRequest(java.lang.String inMessage)
throws Spml2TransportException
dispatchRequest in interface RPCDispatcherinMessage -
Spml2TransportExceptionpublic java.lang.String getContentType()
RPCDispatcher
getContentType in interface RPCDispatcher
protected SPMLMarshaller[] initMarshallers(java.util.Map config)
throws Spml2TransportException
config -
Spml2TransportException
protected SPMLExecutor[] initExecutors(java.util.Map config)
throws Spml2TransportException
config -
Spml2TransportException
protected java.lang.String unwrapRequest(java.lang.String message)
throws Spml2Exception
message -
Spml2Exceptionprotected java.lang.String wrapResponse(java.lang.String result)
result -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||