com.sun.xml.ws.client.dispatch
Class SOAPSourceDispatch

java.lang.Object
  extended by com.sun.xml.ws.client.Stub
      extended by com.sun.xml.ws.client.dispatch.DispatchImpl<Source>
          extended by com.sun.xml.ws.client.dispatch.SOAPSourceDispatch
All Implemented Interfaces:
ResponseContextReceiver, WSBindingProvider, Closeable, javax.xml.ws.BindingProvider, javax.xml.ws.Dispatch<Source>

final class SOAPSourceDispatch
extends DispatchImpl<Source>

The SOAPSourceDispatch class provides support for the dynamic invocation of a service endpoint operation using XML constructs. The javax.xml.ws.Service interface acts as a factory for the creation of SOAPSourceDispatch instances.

See Also:
RESTSourceDispatch

Field Summary
 
Fields inherited from class com.sun.xml.ws.client.dispatch.DispatchImpl
AWAIT_TERMINATION_TIME, HTTP_REQUEST_METHOD_GET, HTTP_REQUEST_METHOD_POST, HTTP_REQUEST_METHOD_PUT, mode, portname, soapVersion
 
Fields inherited from class com.sun.xml.ws.client.Stub
addrVersion, binding, endpointReference, owner, requestContext, wsdlPort
 
Fields inherited from interface javax.xml.ws.BindingProvider
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, SOAPACTION_URI_PROPERTY, SOAPACTION_USE_PROPERTY, USERNAME_PROPERTY
 
Constructor Summary
SOAPSourceDispatch(QName port, javax.xml.ws.Service.Mode mode, WSServiceDelegate owner, Tube pipe, BindingImpl binding, WSEndpointReference epr)
           
 
Method Summary
(package private)  Packet createPacket(Source msg)
          Abstract method that is implemented by each concrete Dispatch class
(package private)  Source toReturnValue(Packet response)
          Obtains the value to return from the response message.
 
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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.xml.ws.BindingProvider
getBinding, getEndpointReference, getEndpointReference, getRequestContext, getResponseContext
 

Constructor Detail

SOAPSourceDispatch

public SOAPSourceDispatch(QName port,
                          javax.xml.ws.Service.Mode mode,
                          WSServiceDelegate owner,
                          Tube pipe,
                          BindingImpl binding,
                          WSEndpointReference epr)
Method Detail

toReturnValue

Source toReturnValue(Packet response)
Description copied from class: DispatchImpl
Obtains the value to return from the response message.

Specified by:
toReturnValue in class DispatchImpl<Source>

createPacket

Packet createPacket(Source msg)
Description copied from class: DispatchImpl
Abstract method that is implemented by each concrete Dispatch class

Specified by:
createPacket in class DispatchImpl<Source>
Parameters:
msg - message passed in from the client program on the invocation
Returns:
The Message created returned as the Interface in actuallity a concrete Message Type