Class JAXBDispatch<T>
java.lang.Object
org.apache.axis2.jaxws.BindingProvider
org.apache.axis2.jaxws.client.dispatch.BaseDispatch<T>
org.apache.axis2.jaxws.client.dispatch.JAXBDispatch<T>
- All Implemented Interfaces:
jakarta.xml.ws.BindingProvider,jakarta.xml.ws.Dispatch,BindingProvider
-
Field Summary
Fields inherited from class org.apache.axis2.jaxws.client.dispatch.BaseDispatch
ic, mode, serviceClientFields inherited from class org.apache.axis2.jaxws.BindingProvider
BINDING_PROVIDER, endpointDesc, requestContext, responseContext, serviceDelegateFields inherited from interface jakarta.xml.ws.BindingProvider
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, SOAPACTION_URI_PROPERTY, SOAPACTION_USE_PROPERTY, USERNAME_PROPERTY -
Constructor Summary
ConstructorsConstructorDescriptionJAXBDispatch(ServiceDelegate svcDelegate, org.apache.axis2.jaxws.description.EndpointDescription epDesc, jakarta.xml.ws.WebServiceFeature... features) JAXBDispatch(ServiceDelegate svcDelegate, org.apache.axis2.jaxws.description.EndpointDescription epDesc, org.apache.axis2.addressing.EndpointReference epr, String addressingNamespace, jakarta.xml.ws.WebServiceFeature... features) -
Method Summary
Modifier and TypeMethodDescriptionCreates an instance of the AsyncListener that is to be used for waiting for async responses.createMessageFromValue(Object value) Take the input object and turn it into an OMElement so that it can be sent.jakarta.xml.bind.JAXBContextgetValueFromMessage(Message message) Given a message, return the business object based on the requestor's required format (PAYLOAD vs.voidsetJAXBContext(jakarta.xml.bind.JAXBContext jbc) Methods inherited from class org.apache.axis2.jaxws.client.dispatch.BaseDispatch
getFaultResponse, getMode, hasFaultResponse, initMessageContext, invoke, invokeAsync, invokeAsync, invokeOneWay, setMode, setServiceClientMethods inherited from class org.apache.axis2.jaxws.BindingProvider
checkMaintainSessionState, getBinding, getEndpointDescription, getEndpointReference, getEndpointReference, getRequestContext, getResponseContext, getServiceDelegate, setupSessionContext, useSoapActionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.xml.ws.BindingProvider
getBinding, getEndpointReference, getEndpointReference, getRequestContext, getResponseContext
-
Constructor Details
-
JAXBDispatch
public JAXBDispatch(ServiceDelegate svcDelegate, org.apache.axis2.jaxws.description.EndpointDescription epDesc, jakarta.xml.ws.WebServiceFeature... features) -
JAXBDispatch
public JAXBDispatch(ServiceDelegate svcDelegate, org.apache.axis2.jaxws.description.EndpointDescription epDesc, org.apache.axis2.addressing.EndpointReference epr, String addressingNamespace, jakarta.xml.ws.WebServiceFeature... features)
-
-
Method Details
-
getJAXBContext
public jakarta.xml.bind.JAXBContext getJAXBContext() -
setJAXBContext
public void setJAXBContext(jakarta.xml.bind.JAXBContext jbc) -
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
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
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:
-