public class CallImpl extends CommonClient implements javax.xml.rpc.Call, RoleSource
bindingProvider, epMetaData, operationName, SESSION_COOKIES
ENCODINGSTYLE_URI_PROPERTY, OPERATION_STYLE_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, SOAPACTION_URI_PROPERTY, SOAPACTION_USE_PROPERTY, USERNAME_PROPERTY
PROPERTY_AUTH_TYPE, PROPERTY_AUTH_TYPE_BASIC, PROPERTY_CHUNKED_ENCODING_SIZE, PROPERTY_CLIENT_TIMEOUT, PROPERTY_CONNECTION_TIMEOUT, PROPERTY_KEY_ALIAS, PROPERTY_KEY_STORE, PROPERTY_KEY_STORE_ALGORITHM, PROPERTY_KEY_STORE_PASSWORD, PROPERTY_KEY_STORE_TYPE, PROPERTY_RECEIVE_TIMEOUT, PROPERTY_SOCKET_FACTORY, PROPERTY_SSL_PROTOCOL, PROPERTY_SSL_PROVIDER_NAME, PROPERTY_TRUST_STORE, PROPERTY_TRUST_STORE_ALGORITHM, PROPERTY_TRUST_STORE_PASSWORD, PROPERTY_TRUST_STORE_TYPE
Modifier and Type | Method and Description |
---|---|
void |
addParameter(QName xmlName,
QName xmlType,
Class javaType,
javax.xml.rpc.ParameterMode mode,
boolean inHeader)
Add a parameter to the current operation description.
|
void |
addParameter(String paramName,
QName xmlType,
Class javaType,
javax.xml.rpc.ParameterMode mode)
Adds a parameter type and mode for a specific operation.
|
void |
addParameter(String paramName,
QName xmlType,
javax.xml.rpc.ParameterMode parameterMode)
Adds a parameter type and mode for a specific operation.
|
protected boolean |
callFaultHandlerChain(QName portName,
org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedHandlerMetaData.HandlerType type,
Exception ex) |
protected boolean |
callRequestHandlerChain(QName portName,
org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedHandlerMetaData.HandlerType type) |
protected boolean |
callResponseHandlerChain(QName portName,
org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedHandlerMetaData.HandlerType type) |
protected void |
closeHandlerChain(QName portName,
org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedHandlerMetaData.HandlerType type) |
protected EndpointInvocation |
createEndpointInvocation(OperationMetaData opMetaData) |
protected CommonBindingProvider |
getCommonBindingProvider() |
Set<QName> |
getHeaders()
Get the set of known headers for this source.
|
Map |
getOutputParams()
Returns a Map of {name, value} for the output parameters of the last invoked operation.
|
List |
getOutputValues()
Returns a List values for the output parameters of the last invoked operation.
|
QName |
getParameterTypeByName(String paramName)
Gets the XML type of a parameter by name.
|
QName |
getPortTypeName()
Gets the qualified name of the port type.
|
Object |
getProperty(String name)
Gets the value of a named property.
|
Iterator |
getPropertyNames()
Gets the names of configurable properties supported by this Call object.
|
protected Map<String,Object> |
getRequestContext() |
QName |
getReturnType()
Gets the return type for a specific operation
|
Set<String> |
getRoles()
Get the set of roles associate with this source.
|
ServiceImpl |
getServiceImpl() |
String |
getTargetEndpointAddress()
Gets the address of a target service endpoint.
|
Object |
invoke(Object[] inputParams)
Invokes a specific operation using a synchronous request-response interaction mode.
|
Object |
invoke(QName operationName,
Object[] inputParams)
Invokes a specific operation using a synchronous request-response interaction mode.
|
void |
invokeOneWay(Object[] inputParams)
Invokes a remote method using the one-way interaction mode.
|
boolean |
isParameterAndReturnSpecRequired(QName opName)
Indicates whether addParameter and setReturnType methods are to be invoked to specify the parameter and return
type specification for a specific operation.
|
protected CommonMessageContext |
processPivot(CommonMessageContext requestContext) |
void |
removeAllParameters()
Removes all specified parameters from this Call instance.
|
void |
removeProperty(String name)
Removes a named property.
|
protected void |
setInboundContextProperties() |
protected void |
setOutboundContextProperties() |
void |
setPortTypeName(QName portType)
Sets the qualified name of the interface.
|
void |
setProperty(String name,
Object value)
Sets the value for a named property.
|
void |
setReturnType(QName xmlType)
Sets the return type for a specific operation.
|
void |
setReturnType(QName xmlType,
Class javaType)
Sets the return type for a specific operation.
|
void |
setTargetEndpointAddress(String address)
Sets the address of the target service endpoint.
|
protected boolean |
shouldMaintainSession() |
addAttachmentPart, addAttachmentParts, addSessionInfo, clearAttachmentParts, createAttachmentPart, getEndpointMetaData, getOperationMetaData, getOperationMetaData, getOperationName, invoke, setOperationName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOperationName, setOperationName
public ServiceImpl getServiceImpl()
protected Map<String,Object> getRequestContext()
getRequestContext
in class CommonClient
protected EndpointInvocation createEndpointInvocation(OperationMetaData opMetaData)
createEndpointInvocation
in class CommonClient
public String getTargetEndpointAddress()
getTargetEndpointAddress
in interface javax.xml.rpc.Call
getTargetEndpointAddress
in class CommonClient
public void setTargetEndpointAddress(String address)
setTargetEndpointAddress
in interface javax.xml.rpc.Call
setTargetEndpointAddress
in class CommonClient
address
- Address of the target service endpoint; specified as an URIpublic void addParameter(String paramName, QName xmlType, javax.xml.rpc.ParameterMode parameterMode)
addParameter
in interface javax.xml.rpc.Call
public void addParameter(String paramName, QName xmlType, Class javaType, javax.xml.rpc.ParameterMode mode)
addParameter
in interface javax.xml.rpc.Call
public void addParameter(QName xmlName, QName xmlType, Class javaType, javax.xml.rpc.ParameterMode mode, boolean inHeader)
public void removeAllParameters()
removeAllParameters
in interface javax.xml.rpc.Call
javax.xml.rpc.JAXRPCException
- This exception may be thrown If this method is called when the method isParameterAndReturnSpecRequired returns false for this Call's operation.public void setReturnType(QName xmlType)
setReturnType
in interface javax.xml.rpc.Call
public void setReturnType(QName xmlType, Class javaType)
setReturnType
in interface javax.xml.rpc.Call
public void invokeOneWay(Object[] inputParams)
invokeOneWay
in interface javax.xml.rpc.Call
public Object invoke(Object[] inputParams) throws RemoteException
invoke
in interface javax.xml.rpc.Call
RemoteException
public Object invoke(QName operationName, Object[] inputParams) throws RemoteException
invoke
in interface javax.xml.rpc.Call
RemoteException
protected CommonMessageContext processPivot(CommonMessageContext requestContext)
processPivot
in class CommonClient
public List getOutputValues()
getOutputValues
in interface javax.xml.rpc.Call
javax.xml.rpc.JAXRPCException
- If this method is invoked for a one-way operation or is invoked before any invoke method has been called.public Map getOutputParams()
getOutputParams
in interface javax.xml.rpc.Call
javax.xml.rpc.JAXRPCException
- If this method is invoked for a one-way operation or is invoked before any invoke method has been called.public QName getPortTypeName()
getPortTypeName
in interface javax.xml.rpc.Call
public QName getReturnType()
getReturnType
in interface javax.xml.rpc.Call
public void setPortTypeName(QName portType)
setPortTypeName
in interface javax.xml.rpc.Call
portType
- - Qualified name of the port typepublic boolean isParameterAndReturnSpecRequired(QName opName)
isParameterAndReturnSpecRequired
in interface javax.xml.rpc.Call
opName
- Qualified name of the operationIllegalArgumentException
- If invalid operation name is specifiedpublic Iterator getPropertyNames()
getPropertyNames
in interface javax.xml.rpc.Call
public Object getProperty(String name)
getProperty
in interface javax.xml.rpc.Call
public void setProperty(String name, Object value)
setProperty
in interface javax.xml.rpc.Call
public void removeProperty(String name)
removeProperty
in interface javax.xml.rpc.Call
public QName getParameterTypeByName(String paramName)
getParameterTypeByName
in interface javax.xml.rpc.Call
protected CommonBindingProvider getCommonBindingProvider()
getCommonBindingProvider
in class CommonClient
protected void setInboundContextProperties()
setInboundContextProperties
in class CommonClient
protected void setOutboundContextProperties()
setOutboundContextProperties
in class CommonClient
protected boolean callRequestHandlerChain(QName portName, org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedHandlerMetaData.HandlerType type)
callRequestHandlerChain
in class CommonClient
protected boolean callResponseHandlerChain(QName portName, org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedHandlerMetaData.HandlerType type)
callResponseHandlerChain
in class CommonClient
protected boolean callFaultHandlerChain(QName portName, org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedHandlerMetaData.HandlerType type, Exception ex)
callFaultHandlerChain
in class CommonClient
protected void closeHandlerChain(QName portName, org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedHandlerMetaData.HandlerType type)
closeHandlerChain
in class CommonClient
public Set<QName> getHeaders()
HeaderSource
getHeaders
in interface HeaderSource
public Set<String> getRoles()
RoleSource
getRoles
in interface RoleSource
protected boolean shouldMaintainSession()
shouldMaintainSession
in class CommonClient
Copyright © 2012 JBoss, by Red Hat. All Rights Reserved.