public class CallImpl extends CommonClient implements javax.xml.rpc.Call, RoleSource
bindingProvider, epMetaData, operationName, SESSION_COOKIESENCODINGSTYLE_URI_PROPERTY, OPERATION_STYLE_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, SOAPACTION_URI_PROPERTY, SOAPACTION_USE_PROPERTY, USERNAME_PROPERTYPROPERTY_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, setOperationNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOperationName, setOperationNamepublic ServiceImpl getServiceImpl()
protected Map<String,Object> getRequestContext()
getRequestContext in class CommonClientprotected EndpointInvocation createEndpointInvocation(OperationMetaData opMetaData)
createEndpointInvocation in class CommonClientpublic String getTargetEndpointAddress()
getTargetEndpointAddress in interface javax.xml.rpc.CallgetTargetEndpointAddress in class CommonClientpublic void setTargetEndpointAddress(String address)
setTargetEndpointAddress in interface javax.xml.rpc.CallsetTargetEndpointAddress in class CommonClientaddress - 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.Callpublic void addParameter(String paramName, QName xmlType, Class javaType, javax.xml.rpc.ParameterMode mode)
addParameter in interface javax.xml.rpc.Callpublic void addParameter(QName xmlName, QName xmlType, Class javaType, javax.xml.rpc.ParameterMode mode, boolean inHeader)
public void removeAllParameters()
removeAllParameters in interface javax.xml.rpc.Calljavax.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.Callpublic void setReturnType(QName xmlType, Class javaType)
setReturnType in interface javax.xml.rpc.Callpublic void invokeOneWay(Object[] inputParams)
invokeOneWay in interface javax.xml.rpc.Callpublic Object invoke(Object[] inputParams) throws RemoteException
invoke in interface javax.xml.rpc.CallRemoteExceptionpublic Object invoke(QName operationName, Object[] inputParams) throws RemoteException
invoke in interface javax.xml.rpc.CallRemoteExceptionprotected CommonMessageContext processPivot(CommonMessageContext requestContext)
processPivot in class CommonClientpublic List getOutputValues()
getOutputValues in interface javax.xml.rpc.Calljavax.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.Calljavax.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.Callpublic QName getReturnType()
getReturnType in interface javax.xml.rpc.Callpublic void setPortTypeName(QName portType)
setPortTypeName in interface javax.xml.rpc.CallportType - - Qualified name of the port typepublic boolean isParameterAndReturnSpecRequired(QName opName)
isParameterAndReturnSpecRequired in interface javax.xml.rpc.CallopName - Qualified name of the operationIllegalArgumentException - If invalid operation name is specifiedpublic Iterator getPropertyNames()
getPropertyNames in interface javax.xml.rpc.Callpublic Object getProperty(String name)
getProperty in interface javax.xml.rpc.Callpublic void setProperty(String name, Object value)
setProperty in interface javax.xml.rpc.Callpublic void removeProperty(String name)
removeProperty in interface javax.xml.rpc.Callpublic QName getParameterTypeByName(String paramName)
getParameterTypeByName in interface javax.xml.rpc.Callprotected CommonBindingProvider getCommonBindingProvider()
getCommonBindingProvider in class CommonClientprotected void setInboundContextProperties()
setInboundContextProperties in class CommonClientprotected void setOutboundContextProperties()
setOutboundContextProperties in class CommonClientprotected boolean callRequestHandlerChain(QName portName, org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedHandlerMetaData.HandlerType type)
callRequestHandlerChain in class CommonClientprotected boolean callResponseHandlerChain(QName portName, org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedHandlerMetaData.HandlerType type)
callResponseHandlerChain in class CommonClientprotected boolean callFaultHandlerChain(QName portName, org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedHandlerMetaData.HandlerType type, Exception ex)
callFaultHandlerChain in class CommonClientprotected void closeHandlerChain(QName portName, org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedHandlerMetaData.HandlerType type)
closeHandlerChain in class CommonClientpublic Set<QName> getHeaders()
HeaderSourcegetHeaders in interface HeaderSourcepublic Set<String> getRoles()
RoleSourcegetRoles in interface RoleSourceprotected boolean shouldMaintainSession()
shouldMaintainSession in class CommonClientCopyright © 2013 JBoss, by Red Hat. All Rights Reserved.