com.sun.xml.ws.client.sei
Class SEIStub
java.lang.Object
com.sun.xml.ws.client.Stub
com.sun.xml.ws.client.sei.SEIStub
- All Implemented Interfaces:
- ResponseContextReceiver, WSBindingProvider, Closeable, InvocationHandler, javax.xml.ws.BindingProvider
public final class SEIStub
- extends Stub
- implements InvocationHandler
Stub
that handles method invocations
through a strongly-typed endpoint interface.
Fields inherited from interface javax.xml.ws.BindingProvider |
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, SOAPACTION_URI_PROPERTY, SOAPACTION_USE_PROPERTY, USERNAME_PROPERTY |
Methods inherited from class com.sun.xml.ws.client.Stub |
close, getBinding, getEndpointReference, getEndpointReference, getExecutor, getInboundHeaders, getRequestContext, getResponseContext, getServiceName, process, processAsync, setAddress, setOutboundHeaders, setOutboundHeaders, setResponseContext, toString |
seiModel
public final SOAPSEIModel seiModel
soapVersion
public final SOAPVersion soapVersion
SEIStub
public SEIStub(WSServiceDelegate owner,
BindingImpl binding,
SOAPSEIModel seiModel,
Tube master,
WSEndpointReference epr)
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke
in interface InvocationHandler
- Throws:
Throwable
doProcess
public final Packet doProcess(Packet request,
RequestContext rc,
ResponseContextReceiver receiver)
doProcessAsync
public final void doProcessAsync(Packet request,
RequestContext rc,
Fiber.CompletionCallback callback)
getPortName
@NotNull
protected final QName getPortName()
- Description copied from class:
Stub
- Gets the port name that this stub is configured to talk to.
When Stub.wsdlPort
is non-null, the port name is always
the same as WSDLPort.getName()
, but this method
returns a port name even if no WSDL is available for this stub.
- Specified by:
getPortName
in class Stub
setOutboundHeaders
public void setOutboundHeaders(Object... headers)
- Description copied from interface:
WSBindingProvider
- Sets the out-bound headers to be added to messages sent from
this
BindingProvider
.
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.)
- Specified by:
setOutboundHeaders
in interface WSBindingProvider
- Parameters:
headers
- Can be null or empty.