public class BasicCall extends Object implements CallEx
ENCODINGSTYLE_URI_PROPERTY, OPERATION_STYLE_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, SOAPACTION_URI_PROPERTY, SOAPACTION_USE_PROPERTY, USERNAME_PROPERTY| Constructor and Description |
|---|
BasicCall(InternalTypeMappingRegistry registry,
javax.xml.rpc.handler.HandlerRegistry handlerRegistry) |
BasicCall(InternalTypeMappingRegistry registry,
javax.xml.rpc.handler.HandlerRegistry handlerRegistry,
SOAPVersion ver) |
protected static final QName EMPTY_QNAME
protected static final QName RESULT_QNAME
protected static final int RETURN_VALUE_INDEX
protected boolean isOneWay
protected static final JAXRPCDeserializer faultDeserializer
protected static final Set recognizedProperties
protected JAXRPCSerializer requestSerializer
protected JAXRPCDeserializer responseDeserializer
protected List inParameterNames
protected List outParameterNames
protected List inParameterXmlTypes
protected List outParameterXmlTypes
protected List inParameterXmlTypeQNames
protected List outParameterXmlTypeQNames
protected List inParameterClasses
protected List outParameterClasses
protected SOAPResponseStructure response
protected List inParameterMembers
protected List outParameterMembers
protected QName returnXmlType
protected QName returnXmlTypeQName
protected Class returnClass
protected String returnClassName
protected QName returnTypeQName
protected ParameterMemberInfo[] returnParameterMembers
protected QName operationName
protected QName portName
protected QName portTypeName
protected String targetEndpointAddress
protected Map properties
protected InternalTypeMappingRegistry typeRegistry
protected CallInvoker invoker
protected Collection packages
protected javax.xml.rpc.handler.HandlerRegistry handlerRegistry
protected OperationInfo operationInfo
public BasicCall(InternalTypeMappingRegistry registry, javax.xml.rpc.handler.HandlerRegistry handlerRegistry)
public BasicCall(InternalTypeMappingRegistry registry, javax.xml.rpc.handler.HandlerRegistry handlerRegistry, SOAPVersion ver)
public boolean isParameterAndReturnSpecRequired(QName operation)
isParameterAndReturnSpecRequired in interface javax.xml.rpc.Callpublic javax.xml.rpc.handler.HandlerChain getHandlerChain()
public void addParameter(String paramName, QName paramXmlType, javax.xml.rpc.ParameterMode parameterMode)
addParameter in interface javax.xml.rpc.Callprotected void doAddParameter(String paramName, QName paramXmlType, javax.xml.rpc.ParameterMode parameterMode)
public void addParameter(String paramName, QName paramXmlType, Class paramClass, javax.xml.rpc.ParameterMode parameterMode)
addParameter in interface javax.xml.rpc.Callprotected void doAddParameter(String paramName, QName paramXmlType, Class paramClass, javax.xml.rpc.ParameterMode parameterMode)
protected void doAddParameter(String paramName, QName paramXmlType, Class paramClass, ParameterMemberInfo[] parameterMemberInfos, javax.xml.rpc.ParameterMode parameterMode)
protected void doAddParameter(String paramName, QName paramXmlType, QName paramXmlTypeQName, Class paramClass, ParameterMemberInfo[] parameterMemberInfos, javax.xml.rpc.ParameterMode parameterMode)
public QName[] getInParameterXmlTypes()
public QName getParameterTypeByName(String parameterName)
getParameterTypeByName in interface javax.xml.rpc.Callprotected boolean isProxy()
protected void setIsProxy(boolean value)
public void setReturnTypeQName(QName returnTypeQName)
public void setReturnXmlTypeQName(QName returnXmlTypeQName)
public void setReturnType(QName type)
setReturnType in interface javax.xml.rpc.Callprotected void doSetReturnType(QName type)
public void setReturnParameterInfos(ParameterMemberInfo[] infos)
public ParameterMemberInfo[] getReturnParameterMembers()
public void setReturnType(QName type, Class javaType)
setReturnType in interface javax.xml.rpc.Callpublic QName getReturnType()
getReturnType in interface javax.xml.rpc.Callprotected void setReturnTypeName(String name)
public void removeAllParameters()
removeAllParameters in interface javax.xml.rpc.Callprotected void doRemoveAllParameters()
protected void resetSerializers()
public QName getPortTypeName()
getPortTypeName in interface javax.xml.rpc.Callpublic void setPortTypeName(QName portType)
setPortTypeName in interface javax.xml.rpc.Callpublic QName getPortName()
getPortName in interface CallExpublic void setPortName(QName port)
setPortName in interface CallExpublic QName getOperationName()
getOperationName in interface javax.xml.rpc.Callprotected void setOperationInfo(OperationInfo info)
public OperationInfo getOperationInfo()
public void setOperationName(QName operationName)
setOperationName in interface javax.xml.rpc.Callpublic void setTargetEndpointAddress(String address)
setTargetEndpointAddress in interface javax.xml.rpc.Callpublic String getTargetEndpointAddress()
getTargetEndpointAddress in interface javax.xml.rpc.Callpublic void setProperty(String name, Object value)
setProperty in interface javax.xml.rpc.Callpublic Object getProperty(String name)
getProperty in interface javax.xml.rpc.Callpublic void removeProperty(String name)
removeProperty in interface javax.xml.rpc.Callpublic Iterator getPropertyNames()
getPropertyNames in interface javax.xml.rpc.Callpublic Object invoke(Object[] parameters) throws RemoteException
invoke in interface javax.xml.rpc.CallRemoteExceptionpublic Object invoke(QName operationName, Object[] inputParams) throws RemoteException
invoke in interface javax.xml.rpc.CallRemoteExceptionpublic void invokeOneWay(Object[] parameters)
invokeOneWay in interface javax.xml.rpc.Callprotected DynamicInvocationException unsupportedOperationStyleException(String operationStyle)
public Map getOutputParams()
getOutputParams in interface javax.xml.rpc.Callpublic Map getOutputParamsQNames()
public List getOutputValues()
getOutputValues in interface javax.xml.rpc.Callprotected void checkIsParameterAndReturnTypeSpecAllowed()
protected CallInvoker getInvoker()
protected JAXRPCSerializer getRequestSerializer() throws Exception
Exceptionprotected void createRpcRequestSerializer()
throws Exception
Exceptionprotected void createLiteralRequestSerializer()
throws Exception
Exceptionprotected void createRpcLiteralRequestSerializer()
throws Exception
Exceptionprotected JAXRPCDeserializer getResponseDeserializer() throws Exception
Exceptionprotected void createRpcResponseSerializer()
throws Exception
Exceptionprotected void createLiteralResponseSerializer()
throws Exception
Exceptionprotected void createRpcLiteralResponseSerializer()
throws Exception
Exceptionprotected JAXRPCDeserializer getFaultDeserializer()
protected String getOperationStyle()
protected DynamicInvocationException serializerNotFoundException(int index, QName name, Class clazz, QName xmlType)
protected DynamicInvocationException propertyNotFoundException(String property)
protected Collection collectPackages(Object[] params)
protected Class getClassForName(String name, Collection packages)
protected Class validateClassPackage(Class returnClass, String classname, Collection packages)
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.