public class XMLDispatch<T> extends BaseDispatch<T>
ic, mode, serviceClient
BINDING_PROVIDER, endpointDesc, requestContext, responseContext, serviceDelegate
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, SOAPACTION_URI_PROPERTY, SOAPACTION_USE_PROPERTY, USERNAME_PROPERTY
Constructor and Description |
---|
XMLDispatch(ServiceDelegate svcDelegate,
EndpointDescription endpointDesc,
EndpointReference epr,
String addressingNamespace,
WebServiceFeature... features) |
XMLDispatch(ServiceDelegate svcDelegate,
EndpointDescription endpointDesc,
WebServiceFeature... features) |
Modifier and Type | Method and Description |
---|---|
AsyncResponse |
createAsyncResponseListener()
Creates an instance of the AsyncListener that is to be used for waiting for async responses.
|
Message |
createMessageFromValue(Object value)
Take the input object and turn it into an OMElement so that it can be sent.
|
Class |
getType() |
Object |
getValueFromMessage(Message message)
Given a message, return the business object based on the requestor's required format (PAYLOAD
vs.
|
protected void |
initMessageContext(Object obj,
MessageContext requestMsgCtx) |
void |
setType(Class c) |
getFaultResponse, getMode, hasFaultResponse, invoke, invokeAsync, invokeAsync, invokeOneWay, setMode, setServiceClient
checkMaintainSessionState, getBinding, getEndpointDescription, getEndpointReference, getEndpointReference, getRequestContext, getResponseContext, getServiceDelegate, setupSessionContext, useSoapAction
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBinding, getEndpointReference, getEndpointReference, getRequestContext, getResponseContext
public XMLDispatch(ServiceDelegate svcDelegate, EndpointDescription endpointDesc, WebServiceFeature... features)
public XMLDispatch(ServiceDelegate svcDelegate, EndpointDescription endpointDesc, EndpointReference epr, String addressingNamespace, WebServiceFeature... features)
public Class getType()
public void setType(Class c)
public AsyncResponse createAsyncResponseListener()
BaseDispatch
createAsyncResponseListener
in class BaseDispatch<T>
public Message createMessageFromValue(Object value)
BaseDispatch
createMessageFromValue
in class BaseDispatch<T>
public Object getValueFromMessage(Message message)
BaseDispatch
getValueFromMessage
in class BaseDispatch<T>
protected void initMessageContext(Object obj, MessageContext requestMsgCtx)
initMessageContext
in class BaseDispatch<T>
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.