com.sun.xml.ws.client.dispatch
Class SOAPMessageDispatch
java.lang.Object
com.sun.xml.ws.client.Stub
com.sun.xml.ws.client.dispatch.DispatchImpl<javax.xml.soap.SOAPMessage>
com.sun.xml.ws.client.dispatch.SOAPMessageDispatch
- All Implemented Interfaces:
- ResponseContextReceiver, WSBindingProvider, Closeable, javax.xml.ws.BindingProvider, javax.xml.ws.Dispatch<javax.xml.soap.SOAPMessage>
public class SOAPMessageDispatch
- extends DispatchImpl<javax.xml.soap.SOAPMessage>
The SOAPMessageDispatch
class provides support
for the dynamic invocation of a service endpoint operation using
the SOAPMessage
class. The javax.xml.ws.Service
interface acts as a factory for the creation of SOAPMessageDispatch
instances.
Fields inherited from interface javax.xml.ws.BindingProvider |
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, SOAPACTION_URI_PROPERTY, SOAPACTION_USE_PROPERTY, USERNAME_PROPERTY |
Methods inherited from class com.sun.xml.ws.client.dispatch.DispatchImpl |
checkNullAllowed, checkValidDataSourceDispatch, checkValidSOAPMessageDispatch, createSourceDispatch, doInvoke, getPortName, invoke, invokeAsync, invokeAsync, invokeOneWay, isPAYLOADMode, isXMLHttp, methodNotOk, resolveEndpointAddress, resolveURI, setOutboundAttachments, setOutboundHeaders, setProperties |
Methods inherited from class com.sun.xml.ws.client.Stub |
close, getBinding, getEndpointReference, getEndpointReference, getExecutor, getInboundHeaders, getRequestContext, getResponseContext, getServiceName, process, processAsync, setAddress, setOutboundHeaders, setOutboundHeaders, setResponseContext, toString |
Methods inherited from interface javax.xml.ws.BindingProvider |
getBinding, getEndpointReference, getEndpointReference, getRequestContext, getResponseContext |
SOAPMessageDispatch
public SOAPMessageDispatch(QName port,
javax.xml.ws.Service.Mode mode,
WSServiceDelegate owner,
Tube pipe,
BindingImpl binding,
WSEndpointReference epr)
createPacket
Packet createPacket(javax.xml.soap.SOAPMessage arg)
- Description copied from class:
DispatchImpl
- Abstract method that is implemented by each concrete Dispatch class
- Specified by:
createPacket
in class DispatchImpl<javax.xml.soap.SOAPMessage>
- Parameters:
arg
- message passed in from the client program on the invocation
- Returns:
- The Message created returned as the Interface in actuallity a
concrete Message Type
toReturnValue
javax.xml.soap.SOAPMessage toReturnValue(Packet response)
- Description copied from class:
DispatchImpl
- Obtains the value to return from the response message.
- Specified by:
toReturnValue
in class DispatchImpl<javax.xml.soap.SOAPMessage>