org.apache.axis2.jaxws.client.dispatch
Class XMLDispatch<T>

java.lang.Object
  extended by org.apache.axis2.jaxws.BindingProvider
      extended by org.apache.axis2.jaxws.client.dispatch.BaseDispatch<T>
          extended by org.apache.axis2.jaxws.client.dispatch.XMLDispatch<T>
All Implemented Interfaces:
BindingProvider, Dispatch

public class XMLDispatch<T>
extends BaseDispatch<T>


Field Summary
 
Fields inherited from class org.apache.axis2.jaxws.client.dispatch.BaseDispatch
ic, mode, serviceClient
 
Fields inherited from class org.apache.axis2.jaxws.BindingProvider
endpointDesc, requestContext, responseContext, serviceDelegate
 
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
XMLDispatch(ServiceDelegate svcDelegate, EndpointDescription endpointDesc, EndpointReference epr, java.lang.String addressingNamespace, WebServiceFeature... features)
           
XMLDispatch(ServiceDelegate svcDelegate, EndpointDescription endpointDesc, WebServiceFeature... features)
           
 
Method Summary
 AsyncResponse createAsyncResponseListener()
          Creates an instance of the AsyncListener that is to be used for waiting for async responses.
 Message createMessageFromValue(java.lang.Object value)
          Take the input object and turn it into an OMElement so that it can be sent.
 java.lang.Class getType()
           
 java.lang.Object getValueFromMessage(Message message)
          Given a message, return the business object based on the requestor's required format (PAYLOAD vs.
 void setType(java.lang.Class c)
           
 
Methods inherited from class org.apache.axis2.jaxws.client.dispatch.BaseDispatch
getFaultResponse, getMode, hasFaultResponse, invoke, invokeAsync, invokeAsync, invokeOneWay, setMode, setServiceClient
 
Methods inherited from class org.apache.axis2.jaxws.BindingProvider
checkMaintainSessionState, getBinding, getEndpointDescription, getEndpointReference, getEndpointReference, getRequestContext, getResponseContext, getServiceDelegate, setupSessionContext, useSoapAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.xml.ws.BindingProvider
getBinding, getEndpointReference, getEndpointReference, getRequestContext, getResponseContext
 

Constructor Detail

XMLDispatch

public XMLDispatch(ServiceDelegate svcDelegate,
                   EndpointDescription endpointDesc,
                   WebServiceFeature... features)

XMLDispatch

public XMLDispatch(ServiceDelegate svcDelegate,
                   EndpointDescription endpointDesc,
                   EndpointReference epr,
                   java.lang.String addressingNamespace,
                   WebServiceFeature... features)
Method Detail

getType

public java.lang.Class getType()

setType

public void setType(java.lang.Class c)

createAsyncResponseListener

public AsyncResponse createAsyncResponseListener()
Description copied from class: BaseDispatch
Creates an instance of the AsyncListener that is to be used for waiting for async responses.

Specified by:
createAsyncResponseListener in class BaseDispatch<T>
Returns:
a configured AsyncListener instance

createMessageFromValue

public Message createMessageFromValue(java.lang.Object value)
Description copied from class: BaseDispatch
Take the input object and turn it into an OMElement so that it can be sent.

Specified by:
createMessageFromValue in class BaseDispatch<T>
Returns:

getValueFromMessage

public java.lang.Object getValueFromMessage(Message message)
Description copied from class: BaseDispatch
Given a message, return the business object based on the requestor's required format (PAYLOAD vs. MESSAGE) and datatype.

Specified by:
getValueFromMessage in class BaseDispatch<T>
Returns:


Copyright © 2007 Apache Web Services Project. All Rights Reserved.