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
- Author:
- JAX-RPC RI Development Team
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final QName
protected static final JAXRPCDeserializer
for SOAP 1.2 needs work.protected javax.xml.rpc.handler.HandlerRegistry
protected List
protected List
protected List
protected List
protected List
protected CallInvoker
protected boolean
protected OperationInfo
protected QName
protected List
protected List
protected List
protected List
protected List
protected Collection
protected QName
protected QName
protected Map
protected static final Set
protected JAXRPCSerializer
protected SOAPResponseStructure
protected JAXRPCDeserializer
protected static final QName
protected static final int
protected Class
protected String
protected ParameterMemberInfo[]
protected QName
protected QName
protected QName
protected String
protected InternalTypeMappingRegistry
Fields inherited from interface javax.xml.rpc.Call
ENCODINGSTYLE_URI_PROPERTY, OPERATION_STYLE_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, SOAPACTION_URI_PROPERTY, SOAPACTION_USE_PROPERTY, USERNAME_PROPERTY
-
Constructor Summary
ConstructorsConstructorDescriptionBasicCall
(InternalTypeMappingRegistry registry, javax.xml.rpc.handler.HandlerRegistry handlerRegistry) BasicCall
(InternalTypeMappingRegistry registry, javax.xml.rpc.handler.HandlerRegistry handlerRegistry, SOAPVersion ver) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addParameter
(String paramName, QName paramXmlType, Class paramClass, javax.xml.rpc.ParameterMode parameterMode) void
addParameter
(String paramName, QName paramXmlType, javax.xml.rpc.ParameterMode parameterMode) protected void
protected Collection
collectPackages
(Object[] params) protected void
protected void
protected void
protected void
protected void
protected void
protected void
doAddParameter
(String paramName, QName paramXmlType, Class paramClass, ParameterMemberInfo[] parameterMemberInfos, javax.xml.rpc.ParameterMode parameterMode) protected void
doAddParameter
(String paramName, QName paramXmlType, Class paramClass, javax.xml.rpc.ParameterMode parameterMode) protected void
doAddParameter
(String paramName, QName paramXmlType, QName paramXmlTypeQName, Class paramClass, ParameterMemberInfo[] parameterMemberInfos, javax.xml.rpc.ParameterMode parameterMode) protected void
doAddParameter
(String paramName, QName paramXmlType, javax.xml.rpc.ParameterMode parameterMode) protected void
protected void
doSetReturnType
(QName type) protected void
doSetReturnType
(QName type, Class javaType) protected Class
getClassForName
(String name, Collection packages) protected JAXRPCDeserializer
javax.xml.rpc.handler.HandlerChain
QName[]
protected CallInvoker
protected String
getParameterTypeByName
(String parameterName) getProperty
(String name) protected JAXRPCSerializer
protected JAXRPCDeserializer
void
invokeOneWay
(Object[] parameters) boolean
isParameterAndReturnSpecRequired
(QName operation) protected boolean
isProxy()
protected DynamicInvocationException
propertyNotFoundException
(String property) void
void
removeProperty
(String name) protected void
protected DynamicInvocationException
serializerNotFoundException
(int index, QName name, Class clazz, QName xmlType) protected void
setIsProxy
(boolean value) protected void
void
setOperationName
(QName operationName) void
setPortName
(QName port) void
setPortTypeName
(QName portType) void
setProperty
(String name, Object value) void
void
setReturnType
(QName type) void
setReturnType
(QName type, Class javaType) protected void
setReturnTypeName
(String name) void
setReturnTypeQName
(QName returnTypeQName) void
setReturnXmlTypeQName
(QName returnXmlTypeQName) void
setTargetEndpointAddress
(String address) protected DynamicInvocationException
unsupportedOperationStyleException
(String operationStyle) protected Class
validateClassPackage
(Class returnClass, String classname, Collection packages)
-
Field Details
-
EMPTY_QNAME
-
RESULT_QNAME
-
RETURN_VALUE_INDEX
protected static final int RETURN_VALUE_INDEX- See Also:
-
isOneWay
protected boolean isOneWay -
faultDeserializer
for SOAP 1.2 needs work. -
recognizedProperties
-
requestSerializer
-
responseDeserializer
-
inParameterNames
-
outParameterNames
-
inParameterXmlTypes
-
outParameterXmlTypes
-
inParameterXmlTypeQNames
-
outParameterXmlTypeQNames
-
inParameterClasses
-
outParameterClasses
-
response
-
inParameterMembers
-
outParameterMembers
-
returnXmlType
-
returnXmlTypeQName
-
returnClass
-
returnClassName
-
returnTypeQName
-
returnParameterMembers
-
operationName
-
portName
-
portTypeName
-
targetEndpointAddress
-
properties
-
typeRegistry
-
invoker
-
packages
-
handlerRegistry
protected javax.xml.rpc.handler.HandlerRegistry handlerRegistry -
operationInfo
-
-
Constructor Details
-
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 Details
-
isParameterAndReturnSpecRequired
- Specified by:
isParameterAndReturnSpecRequired
in 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:
addParameter
in interfacejavax.xml.rpc.Call
-
doAddParameter
-
addParameter
public void addParameter(String paramName, QName paramXmlType, Class paramClass, javax.xml.rpc.ParameterMode parameterMode) - Specified by:
addParameter
in interfacejavax.xml.rpc.Call
-
doAddParameter
-
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
-
getParameterTypeByName
- Specified by:
getParameterTypeByName
in interfacejavax.xml.rpc.Call
-
isProxy
protected boolean isProxy() -
setIsProxy
protected void setIsProxy(boolean value) -
setReturnTypeQName
-
setReturnXmlTypeQName
-
setReturnType
- Specified by:
setReturnType
in interfacejavax.xml.rpc.Call
-
doSetReturnType
-
setReturnParameterInfos
-
getReturnParameterMembers
-
setReturnType
- Specified by:
setReturnType
in interfacejavax.xml.rpc.Call
-
doSetReturnType
-
getReturnType
- Specified by:
getReturnType
in interfacejavax.xml.rpc.Call
-
setReturnTypeName
-
removeAllParameters
public void removeAllParameters()- Specified by:
removeAllParameters
in interfacejavax.xml.rpc.Call
-
doRemoveAllParameters
protected void doRemoveAllParameters() -
resetSerializers
protected void resetSerializers() -
getPortTypeName
- Specified by:
getPortTypeName
in interfacejavax.xml.rpc.Call
-
setPortTypeName
- Specified by:
setPortTypeName
in interfacejavax.xml.rpc.Call
-
getPortName
- Specified by:
getPortName
in interfaceCallEx
-
setPortName
- Specified by:
setPortName
in interfaceCallEx
-
getOperationName
- Specified by:
getOperationName
in interfacejavax.xml.rpc.Call
-
setOperationInfo
-
getOperationInfo
-
setOperationName
- Specified by:
setOperationName
in interfacejavax.xml.rpc.Call
-
setTargetEndpointAddress
- Specified by:
setTargetEndpointAddress
in interfacejavax.xml.rpc.Call
-
getTargetEndpointAddress
- Specified by:
getTargetEndpointAddress
in interfacejavax.xml.rpc.Call
-
setProperty
- Specified by:
setProperty
in interfacejavax.xml.rpc.Call
-
getProperty
- Specified by:
getProperty
in interfacejavax.xml.rpc.Call
-
removeProperty
- Specified by:
removeProperty
in interfacejavax.xml.rpc.Call
-
getPropertyNames
- Specified by:
getPropertyNames
in interfacejavax.xml.rpc.Call
-
invoke
- Specified by:
invoke
in interfacejavax.xml.rpc.Call
- Throws:
RemoteException
-
invoke
- Specified by:
invoke
in interfacejavax.xml.rpc.Call
- Throws:
RemoteException
-
invokeOneWay
- Specified by:
invokeOneWay
in interfacejavax.xml.rpc.Call
-
unsupportedOperationStyleException
-
getOutputParams
- Specified by:
getOutputParams
in interfacejavax.xml.rpc.Call
-
getOutputParamsQNames
-
getOutputValues
- Specified by:
getOutputValues
in interfacejavax.xml.rpc.Call
-
checkIsParameterAndReturnTypeSpecAllowed
protected void checkIsParameterAndReturnTypeSpecAllowed() -
getInvoker
-
getRequestSerializer
- Throws:
Exception
-
createRpcRequestSerializer
- Throws:
Exception
-
createLiteralRequestSerializer
- Throws:
Exception
-
createRpcLiteralRequestSerializer
- Throws:
Exception
-
getResponseDeserializer
- Throws:
Exception
-
createRpcResponseSerializer
- Throws:
Exception
-
createLiteralResponseSerializer
- Throws:
Exception
-
createRpcLiteralResponseSerializer
- Throws:
Exception
-
getFaultDeserializer
-
getOperationStyle
-
serializerNotFoundException
protected DynamicInvocationException serializerNotFoundException(int index, QName name, Class clazz, QName xmlType) -
propertyNotFoundException
-
collectPackages
-
getClassForName
-
validateClassPackage
-