public class JAXWSProxyHandler extends BindingProvider implements InvocationHandler
Modifier and Type | Field and Description |
---|---|
protected InvocationController |
controller |
protected ServiceDescription |
serviceDesc |
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 |
---|
JAXWSProxyHandler(ServiceDelegate delegate,
Class seiClazz,
EndpointDescription epDesc,
EndpointReference epr,
String addressingNamespace,
WebServiceFeature... features) |
JAXWSProxyHandler(ServiceDelegate delegate,
Class seiClazz,
EndpointDescription epDesc,
WebServiceFeature... features) |
Modifier and Type | Method and Description |
---|---|
protected MessageContext |
createRequest(Method method,
Object[] args)
Creates a request MessageContext for the method call.
|
protected Object |
createResponse(Method method,
Object[] args,
MessageContext responseContext,
OperationDescription operationDesc)
Creates a response MessageContext for the method call.
|
protected static Throwable |
getFaultResponse(MessageContext msgCtx,
OperationDescription opDesc) |
Class |
getSeiClazz() |
protected static boolean |
hasFaultResponse(MessageContext mc) |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
protected boolean |
isAsync() |
void |
setSeiClazz(Class seiClazz) |
checkMaintainSessionState, getBinding, getEndpointDescription, getEndpointReference, getEndpointReference, getRequestContext, getResponseContext, getServiceDelegate, setupSessionContext, useSoapAction
protected ServiceDescription serviceDesc
protected InvocationController controller
public JAXWSProxyHandler(ServiceDelegate delegate, Class seiClazz, EndpointDescription epDesc, WebServiceFeature... features)
public JAXWSProxyHandler(ServiceDelegate delegate, Class seiClazz, EndpointDescription epDesc, EndpointReference epr, String addressingNamespace, WebServiceFeature... features)
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke
in interface InvocationHandler
Throwable
protected boolean isAsync()
protected MessageContext createRequest(Method method, Object[] args) throws Throwable
method
- - The method invoked on the proxy object.args
- - The parameter listThrowable
protected Object createResponse(Method method, Object[] args, MessageContext responseContext, OperationDescription operationDesc) throws Throwable
method
- - The method invoked on the proxy object.args
- - The parameter list.responseContext
- - The MessageContext to be used for the response.operationDesc
- - The OperationDescription that for the invoked method.Throwable
protected static Throwable getFaultResponse(MessageContext msgCtx, OperationDescription opDesc)
protected static boolean hasFaultResponse(MessageContext mc)
public Class getSeiClazz()
public void setSeiClazz(Class seiClazz)
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.