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 Details

    • 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:
    • 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 Details

  • Method Details

    • isParameterAndReturnSpecRequired

      public boolean isParameterAndReturnSpecRequired(QName operation)
      Specified by:
      isParameterAndReturnSpecRequired in interface javax.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 interface javax.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:
      addParameter in interface javax.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:
      getParameterTypeByName in interface javax.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:
      setReturnType in interface javax.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:
      setReturnType in interface javax.xml.rpc.Call
    • doSetReturnType

      protected void doSetReturnType(QName type, Class javaType)
    • getReturnType

      public QName getReturnType()
      Specified by:
      getReturnType in interface javax.xml.rpc.Call
    • setReturnTypeName

      protected void setReturnTypeName(String name)
    • removeAllParameters

      public void removeAllParameters()
      Specified by:
      removeAllParameters in interface javax.xml.rpc.Call
    • doRemoveAllParameters

      protected void doRemoveAllParameters()
    • resetSerializers

      protected void resetSerializers()
    • getPortTypeName

      public QName getPortTypeName()
      Specified by:
      getPortTypeName in interface javax.xml.rpc.Call
    • setPortTypeName

      public void setPortTypeName(QName portType)
      Specified by:
      setPortTypeName in interface javax.xml.rpc.Call
    • getPortName

      public QName getPortName()
      Specified by:
      getPortName in interface CallEx
    • setPortName

      public void setPortName(QName port)
      Specified by:
      setPortName in interface CallEx
    • getOperationName

      public QName getOperationName()
      Specified by:
      getOperationName in interface javax.xml.rpc.Call
    • setOperationInfo

      protected void setOperationInfo(OperationInfo info)
    • getOperationInfo

      public OperationInfo getOperationInfo()
    • setOperationName

      public void setOperationName(QName operationName)
      Specified by:
      setOperationName in interface javax.xml.rpc.Call
    • setTargetEndpointAddress

      public void setTargetEndpointAddress(String address)
      Specified by:
      setTargetEndpointAddress in interface javax.xml.rpc.Call
    • getTargetEndpointAddress

      public String getTargetEndpointAddress()
      Specified by:
      getTargetEndpointAddress in interface javax.xml.rpc.Call
    • setProperty

      public void setProperty(String name, Object value)
      Specified by:
      setProperty in interface javax.xml.rpc.Call
    • getProperty

      public Object getProperty(String name)
      Specified by:
      getProperty in interface javax.xml.rpc.Call
    • removeProperty

      public void removeProperty(String name)
      Specified by:
      removeProperty in interface javax.xml.rpc.Call
    • getPropertyNames

      public Iterator getPropertyNames()
      Specified by:
      getPropertyNames in interface javax.xml.rpc.Call
    • invoke

      public Object invoke(Object[] parameters) throws RemoteException
      Specified by:
      invoke in interface javax.xml.rpc.Call
      Throws:
      RemoteException
    • invoke

      public Object invoke(QName operationName, Object[] inputParams) throws RemoteException
      Specified by:
      invoke in interface javax.xml.rpc.Call
      Throws:
      RemoteException
    • invokeOneWay

      public void invokeOneWay(Object[] parameters)
      Specified by:
      invokeOneWay in interface javax.xml.rpc.Call
    • unsupportedOperationStyleException

      protected DynamicInvocationException unsupportedOperationStyleException(String operationStyle)
    • getOutputParams

      public Map getOutputParams()
      Specified by:
      getOutputParams in interface javax.xml.rpc.Call
    • getOutputParamsQNames

      public Map getOutputParamsQNames()
    • getOutputValues

      public List getOutputValues()
      Specified by:
      getOutputValues in interface javax.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)