Class XMLDispatch<T>
- java.lang.Object
-
- org.apache.axis2.jaxws.BindingProvider
-
- org.apache.axis2.jaxws.client.dispatch.BaseDispatch<T>
-
- org.apache.axis2.jaxws.client.dispatch.XMLDispatch<T>
-
- All Implemented Interfaces:
BindingProvider,Dispatch,BindingProvider
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
BINDING_PROVIDER, 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
Constructors Constructor Description XMLDispatch(ServiceDelegate svcDelegate, EndpointDescription endpointDesc, WebServiceFeature... features)XMLDispatch(ServiceDelegate svcDelegate, EndpointDescription endpointDesc, EndpointReference epr, String addressingNamespace, WebServiceFeature... features)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsyncResponsecreateAsyncResponseListener()Creates an instance of the AsyncListener that is to be used for waiting for async responses.MessagecreateMessageFromValue(Object value)Take the input object and turn it into an OMElement so that it can be sent.ClassgetType()ObjectgetValueFromMessage(Message message)Given a message, return the business object based on the requestor's required format (PAYLOAD vs.protected voidinitMessageContext(Object obj, MessageContext requestMsgCtx)voidsetType(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, String addressingNamespace, WebServiceFeature... features)
-
-
Method Detail
-
getType
public Class getType()
-
setType
public void setType(Class c)
-
createAsyncResponseListener
public AsyncResponse createAsyncResponseListener()
Description copied from class:BaseDispatchCreates an instance of the AsyncListener that is to be used for waiting for async responses.- Specified by:
createAsyncResponseListenerin classBaseDispatch<T>- Returns:
- a configured AsyncListener instance
-
createMessageFromValue
public Message createMessageFromValue(Object value)
Description copied from class:BaseDispatchTake the input object and turn it into an OMElement so that it can be sent.- Specified by:
createMessageFromValuein classBaseDispatch<T>- Returns:
-
getValueFromMessage
public Object getValueFromMessage(Message message)
Description copied from class:BaseDispatchGiven a message, return the business object based on the requestor's required format (PAYLOAD vs. MESSAGE) and datatype.- Specified by:
getValueFromMessagein classBaseDispatch<T>- Returns:
-
initMessageContext
protected void initMessageContext(Object obj, MessageContext requestMsgCtx)
- Overrides:
initMessageContextin classBaseDispatch<T>
-
-