Package com.sun.xml.rpc.client.dii
Class BasicCall
- java.lang.Object
-
- com.sun.xml.rpc.client.dii.BasicCall
-
- All Implemented Interfaces:
CallEx,javax.xml.rpc.Call
- Direct Known Subclasses:
ConfiguredCall
public class BasicCall extends Object implements CallEx
- Author:
- JAX-RPC RI Development Team
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BasicCall(InternalTypeMappingRegistry registry, javax.xml.rpc.handler.HandlerRegistry handlerRegistry)BasicCall(InternalTypeMappingRegistry registry, javax.xml.rpc.handler.HandlerRegistry handlerRegistry, SOAPVersion ver)
-
Method Summary
-
-
-
Field Detail
-
EMPTY_QNAME
protected static final QName EMPTY_QNAME
-
RESULT_QNAME
protected static final QName RESULT_QNAME
-
RETURN_VALUE_INDEX
protected static final int RETURN_VALUE_INDEX
- See Also:
- Constant Field Values
-
isOneWay
protected boolean isOneWay
-
faultDeserializer
protected static final JAXRPCDeserializer faultDeserializer
for SOAP 1.2 needs work.
-
recognizedProperties
protected static final Set recognizedProperties
-
requestSerializer
protected JAXRPCSerializer requestSerializer
-
responseDeserializer
protected JAXRPCDeserializer responseDeserializer
-
inParameterNames
protected List inParameterNames
-
outParameterNames
protected List outParameterNames
-
inParameterXmlTypes
protected List inParameterXmlTypes
-
outParameterXmlTypes
protected List outParameterXmlTypes
-
inParameterXmlTypeQNames
protected List inParameterXmlTypeQNames
-
outParameterXmlTypeQNames
protected List outParameterXmlTypeQNames
-
inParameterClasses
protected List inParameterClasses
-
outParameterClasses
protected List outParameterClasses
-
response
protected SOAPResponseStructure response
-
inParameterMembers
protected List inParameterMembers
-
outParameterMembers
protected List outParameterMembers
-
returnXmlType
protected QName returnXmlType
-
returnXmlTypeQName
protected QName returnXmlTypeQName
-
returnClass
protected Class returnClass
-
returnClassName
protected String returnClassName
-
returnTypeQName
protected QName returnTypeQName
-
returnParameterMembers
protected ParameterMemberInfo[] returnParameterMembers
-
operationName
protected QName operationName
-
portName
protected QName portName
-
portTypeName
protected QName portTypeName
-
targetEndpointAddress
protected String targetEndpointAddress
-
properties
protected Map properties
-
typeRegistry
protected InternalTypeMappingRegistry typeRegistry
-
invoker
protected CallInvoker invoker
-
packages
protected Collection packages
-
handlerRegistry
protected javax.xml.rpc.handler.HandlerRegistry handlerRegistry
-
operationInfo
protected OperationInfo operationInfo
-
-
Constructor Detail
-
BasicCall
public BasicCall(InternalTypeMappingRegistry registry, javax.xml.rpc.handler.HandlerRegistry handlerRegistry)
-
BasicCall
public BasicCall(InternalTypeMappingRegistry registry, javax.xml.rpc.handler.HandlerRegistry handlerRegistry, SOAPVersion ver)
-
-
Method Detail
-
isParameterAndReturnSpecRequired
public boolean isParameterAndReturnSpecRequired(QName operation)
- Specified by:
isParameterAndReturnSpecRequiredin interfacejavax.xml.rpc.Call
-
getHandlerChain
public javax.xml.rpc.handler.HandlerChain getHandlerChain()
-
addParameter
public void addParameter(String paramName, QName paramXmlType, javax.xml.rpc.ParameterMode parameterMode)
- Specified by:
addParameterin interfacejavax.xml.rpc.Call
-
doAddParameter
protected void doAddParameter(String paramName, QName paramXmlType, javax.xml.rpc.ParameterMode parameterMode)
-
addParameter
public void addParameter(String paramName, QName paramXmlType, Class paramClass, javax.xml.rpc.ParameterMode parameterMode)
- Specified by:
addParameterin interfacejavax.xml.rpc.Call
-
doAddParameter
protected void doAddParameter(String paramName, QName paramXmlType, Class paramClass, javax.xml.rpc.ParameterMode parameterMode)
-
doAddParameter
protected void doAddParameter(String paramName, QName paramXmlType, Class paramClass, ParameterMemberInfo[] parameterMemberInfos, javax.xml.rpc.ParameterMode parameterMode)
-
doAddParameter
protected void doAddParameter(String paramName, QName paramXmlType, QName paramXmlTypeQName, Class paramClass, ParameterMemberInfo[] parameterMemberInfos, javax.xml.rpc.ParameterMode parameterMode)
-
getInParameterXmlTypes
public QName[] getInParameterXmlTypes()
-
getParameterTypeByName
public QName getParameterTypeByName(String parameterName)
- Specified by:
getParameterTypeByNamein interfacejavax.xml.rpc.Call
-
isProxy
protected boolean isProxy()
-
setIsProxy
protected void setIsProxy(boolean value)
-
setReturnTypeQName
public void setReturnTypeQName(QName returnTypeQName)
-
setReturnXmlTypeQName
public void setReturnXmlTypeQName(QName returnXmlTypeQName)
-
setReturnType
public void setReturnType(QName type)
- Specified by:
setReturnTypein interfacejavax.xml.rpc.Call
-
doSetReturnType
protected void doSetReturnType(QName type)
-
setReturnParameterInfos
public void setReturnParameterInfos(ParameterMemberInfo[] infos)
-
getReturnParameterMembers
public ParameterMemberInfo[] getReturnParameterMembers()
-
setReturnType
public void setReturnType(QName type, Class javaType)
- Specified by:
setReturnTypein interfacejavax.xml.rpc.Call
-
getReturnType
public QName getReturnType()
- Specified by:
getReturnTypein interfacejavax.xml.rpc.Call
-
setReturnTypeName
protected void setReturnTypeName(String name)
-
removeAllParameters
public void removeAllParameters()
- Specified by:
removeAllParametersin interfacejavax.xml.rpc.Call
-
doRemoveAllParameters
protected void doRemoveAllParameters()
-
resetSerializers
protected void resetSerializers()
-
getPortTypeName
public QName getPortTypeName()
- Specified by:
getPortTypeNamein interfacejavax.xml.rpc.Call
-
setPortTypeName
public void setPortTypeName(QName portType)
- Specified by:
setPortTypeNamein interfacejavax.xml.rpc.Call
-
getPortName
public QName getPortName()
- Specified by:
getPortNamein interfaceCallEx
-
setPortName
public void setPortName(QName port)
- Specified by:
setPortNamein interfaceCallEx
-
getOperationName
public QName getOperationName()
- Specified by:
getOperationNamein interfacejavax.xml.rpc.Call
-
setOperationInfo
protected void setOperationInfo(OperationInfo info)
-
getOperationInfo
public OperationInfo getOperationInfo()
-
setOperationName
public void setOperationName(QName operationName)
- Specified by:
setOperationNamein interfacejavax.xml.rpc.Call
-
setTargetEndpointAddress
public void setTargetEndpointAddress(String address)
- Specified by:
setTargetEndpointAddressin interfacejavax.xml.rpc.Call
-
getTargetEndpointAddress
public String getTargetEndpointAddress()
- Specified by:
getTargetEndpointAddressin interfacejavax.xml.rpc.Call
-
setProperty
public void setProperty(String name, Object value)
- Specified by:
setPropertyin interfacejavax.xml.rpc.Call
-
getProperty
public Object getProperty(String name)
- Specified by:
getPropertyin interfacejavax.xml.rpc.Call
-
removeProperty
public void removeProperty(String name)
- Specified by:
removePropertyin interfacejavax.xml.rpc.Call
-
getPropertyNames
public Iterator getPropertyNames()
- Specified by:
getPropertyNamesin interfacejavax.xml.rpc.Call
-
invoke
public Object invoke(Object[] parameters) throws RemoteException
- Specified by:
invokein interfacejavax.xml.rpc.Call- Throws:
RemoteException
-
invoke
public Object invoke(QName operationName, Object[] inputParams) throws RemoteException
- Specified by:
invokein interfacejavax.xml.rpc.Call- Throws:
RemoteException
-
invokeOneWay
public void invokeOneWay(Object[] parameters)
- Specified by:
invokeOneWayin interfacejavax.xml.rpc.Call
-
unsupportedOperationStyleException
protected DynamicInvocationException unsupportedOperationStyleException(String operationStyle)
-
getOutputParams
public Map getOutputParams()
- Specified by:
getOutputParamsin interfacejavax.xml.rpc.Call
-
getOutputParamsQNames
public Map getOutputParamsQNames()
-
getOutputValues
public List getOutputValues()
- Specified by:
getOutputValuesin interfacejavax.xml.rpc.Call
-
checkIsParameterAndReturnTypeSpecAllowed
protected void checkIsParameterAndReturnTypeSpecAllowed()
-
getInvoker
protected CallInvoker getInvoker()
-
getRequestSerializer
protected JAXRPCSerializer getRequestSerializer() throws Exception
- Throws:
Exception
-
createRpcRequestSerializer
protected void createRpcRequestSerializer() throws Exception- Throws:
Exception
-
createLiteralRequestSerializer
protected void createLiteralRequestSerializer() throws Exception- Throws:
Exception
-
createRpcLiteralRequestSerializer
protected void createRpcLiteralRequestSerializer() throws Exception- Throws:
Exception
-
getResponseDeserializer
protected JAXRPCDeserializer getResponseDeserializer() throws Exception
- Throws:
Exception
-
createRpcResponseSerializer
protected void createRpcResponseSerializer() throws Exception- Throws:
Exception
-
createLiteralResponseSerializer
protected void createLiteralResponseSerializer() throws Exception- Throws:
Exception
-
createRpcLiteralResponseSerializer
protected void createRpcLiteralResponseSerializer() throws Exception- Throws:
Exception
-
getFaultDeserializer
protected JAXRPCDeserializer getFaultDeserializer()
-
getOperationStyle
protected String getOperationStyle()
-
serializerNotFoundException
protected DynamicInvocationException serializerNotFoundException(int index, QName name, Class clazz, QName xmlType)
-
propertyNotFoundException
protected DynamicInvocationException propertyNotFoundException(String property)
-
collectPackages
protected Collection collectPackages(Object[] params)
-
getClassForName
protected Class getClassForName(String name, Collection packages)
-
validateClassPackage
protected Class validateClassPackage(Class returnClass, String classname, Collection packages)
-
-