public class JAXBDispatch extends DispatchImpl<Object>
JAXBDispatch class provides support
for the dynamic invocation of a service endpoint operation using
JAXB objects. The javax.xml.ws.Service
interface acts as a factory for the creation of JAXBDispatch
instances.allowFaultResponseMsg, AWAIT_TERMINATION_TIME, HTTP_REQUEST_METHOD_GET, HTTP_REQUEST_METHOD_POST, HTTP_REQUEST_METHOD_PUT, mode, soapVersionaddrVersion, binding, endpointReference, operationDispatcher, owner, portInfo, portname, PREVENT_SYNC_START_FOR_ASYNC_INVOKE, requestContext, wsdlPortENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, SOAPACTION_URI_PROPERTY, SOAPACTION_USE_PROPERTY, USERNAME_PROPERTY| Constructor and Description |
|---|
JAXBDispatch(QName port,
JAXBContext jc,
Service.Mode mode,
WSServiceDelegate service,
Tube pipe,
BindingImpl binding,
WSEndpointReference epr)
Deprecated.
|
JAXBDispatch(WSPortInfo portInfo,
JAXBContext jc,
Service.Mode mode,
BindingImpl binding,
WSEndpointReference epr) |
| Modifier and Type | Method and Description |
|---|---|
(package private) Packet |
createPacket(Object msg)
Abstract method that is implemented by each concrete Dispatch class
|
void |
setOutboundHeaders(Object... headers)
Sets the out-bound headers to be added to messages sent from
this
BindingProvider. |
(package private) Object |
toReturnValue(Packet response)
Obtains the value to return from the response message.
|
checkNullAllowed, checkValidDataSourceDispatch, checkValidSOAPMessageDispatch, createSourceDispatch, createSourceDispatch, doInvoke, getPortName, invoke, invokeAsync, invokeAsync, invokeOneWay, isPAYLOADMode, isXMLHttp, methodNotOk, resolveEndpointAddress, resolveURI, setOutboundAttachments, setPropertiesclose, getBinding, getComponents, getEndpointReference, getEndpointReference, getExecutor, getInboundHeaders, getManagedObjectManager, getOperationDispatcher, getPortInfo, getRequestContext, getResponseContext, getService, getServiceName, getSPI, getTubes, getWSDLPort, getWSEndpointReference, process, processAsync, resetRequestContext, setAddress, setOutboundHeaders, setOutboundHeaders, setResponseContext, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBinding, getEndpointReference, getEndpointReference, getRequestContext, getResponseContext@Deprecated public JAXBDispatch(QName port, JAXBContext jc, Service.Mode mode, WSServiceDelegate service, Tube pipe, BindingImpl binding, WSEndpointReference epr)
public JAXBDispatch(WSPortInfo portInfo, JAXBContext jc, Service.Mode mode, BindingImpl binding, WSEndpointReference epr)
Object toReturnValue(Packet response)
DispatchImpltoReturnValue in class DispatchImpl<Object>Packet createPacket(Object msg)
DispatchImplcreatePacket in class DispatchImpl<Object>msg - message passed in from the client program on the invocationpublic void setOutboundHeaders(Object... headers)
WSBindingProviderBindingProvider.
Each object must be a JAXB-bound object that is understood
by the JAXBContext object known by this WSBindingProvider
(that is, if this is a Dispatch with JAXB, then
JAXBContext given to Service.createDispatch(QName,JAXBContext,Mode)
and if this is a typed proxy, then JAXBContext
implicitly created by the JAX-WS RI.)
setOutboundHeaders in interface WSBindingProvidersetOutboundHeaders in class DispatchImpl<Object>headers - Can be null or empty.Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.