Method from javax.xml.rpc.Call Detail: |
public void addParameter(String paramName,
QName xmlType,
ParameterMode parameterMode)
Adds a parameter type and mode for a specific operation.
Note that the client code may not call any addParameter and setReturnType methods before calling the invoke method.
In this case, the Call implementation class determines the parameter types by using reflection on parameters,
using the WSDL description and configured type mapping registry. |
public void addParameter(String paramName,
QName xmlType,
Class javaType,
ParameterMode parameterMode)
Adds a parameter type and mode for a specific operation.
This method is used to specify the Java type for either OUT or INOUT parameters. |
public QName getOperationName()
Gets the name of the operation to be invoked using this Call instance. |
public Map getOutputParams()
Returns a Map of {name, value} for the output parameters of the last invoked operation.
The parameter names in the returned Map are of type java.lang.String. |
public List getOutputValues()
Returns a List values for the output parameters of the last invoked operation. |
public QName getParameterTypeByName(String paramName)
Gets the XML type of a parameter by name. |
public QName getPortTypeName()
Gets the qualified name of the port type. |
public Object getProperty(String name)
Gets the value of a named property. |
public Iterator getPropertyNames()
Gets the names of configurable properties supported by this Call object. |
public QName getReturnType()
Gets the return type for a specific operation |
public String getTargetEndpointAddress()
Gets the address of a target service endpoint. |
public Object invoke(Object[] inputParams) throws RemoteException
Invokes a specific operation using a synchronous request-response interaction mode. |
public Object invoke(QName operationName,
Object[] inputParams) throws RemoteException
Invokes a specific operation using a synchronous request-response interaction mode. |
public void invokeOneWay(Object[] inputParams)
Invokes a remote method using the one-way interaction mode.
The client thread does not normally block waiting for the completion of the server processing for this
remote method invocation. When the protocol in use is SOAP/HTTP, this method should block until an HTTP response
code has been received or an error occurs. This method must not throw any remote exceptions.
This method may throw a JAXRPCException during the processing of the one-way remote call. |
public boolean isParameterAndReturnSpecRequired(QName operationName)
Indicates whether addParameter and setReturnType methods are to be invoked to specify the parameter and return
type specification for a specific operation. |
public void removeAllParameters()
Removes all specified parameters from this Call instance. Note that this method removes only the parameters and
not the return type. The setReturnType(null) is used to remove the return type. |
public void removeProperty(String name)
Removes a named property. |
public void setOperationName(QName operationName)
Sets the name of the operation to be invoked using this Call instance. |
public void setPortTypeName(QName portType)
Sets the qualified name of the port type. |
public void setProperty(String name,
Object value)
Sets the value for a named property.
JAX-RPC specification specifies a standard set of properties that may be passed to the Call.setProperty method. |
public void setReturnType(QName xmlType)
Sets the return type for a specific operation. Invoking setReturnType(null) removes the return type for this Call object. |
public void setReturnType(QName xmlType,
Class javaType)
Sets the return type for a specific operation. |
public void setTargetEndpointAddress(String address)
Sets the address of the target service endpoint. This address must correspond to the transport
specified in the binding for this Call instance. |