javax.xml.rpc.Call interface provides support
for the dynamic invocation of a service endpoint. The
javax.xml.rpc.Service interface acts as a factory
for the creation of Call instances.
Once a Call instance is created, various setter
and getter methods may be used to configure this Call
instance.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | ENCODINGSTYLE_URI_PROPERTY
Standard property for encoding Style: Encoding style specified as a namespace URI. |
| public static final String | OPERATION_STYLE_PROPERTY
Standard property for operation style. |
| public static final String | |
| public static final String | SESSION_MAINTAIN_PROPERTY
Standard property: This boolean property is used by a service client to indicate whether or not it wants to participate in a session with a service endpoint. |
| public static final String | SOAPACTION_URI_PROPERTY
Standard property for SOAPAction. |
| public static final String | SOAPACTION_USE_PROPERTY
Standard property for SOAPAction. |
| public static final String |
| Modifier and Type | Method and Description |
|---|---|
| public void | addParameter(String
Name of the parameter paramName, QName XML type of the parameter xmlType, ParameterMode Mode of the parameter-whether
parameterMode)ParameterMode.IN,
ParameterMode.OUT,
or ParameterMode.INOUT,Adds a parameter type and mode for a specific operation. |
| public void | addParameter(String
Name of the parameter paramName, QName XML type of the parameter xmlType, Class<T> Java class of the parameter javaType, ParameterMode Mode of the parameter-whether
ParameterMode.IN, OUT or INOUT parameterMode)Adds a parameter type and mode for a specific operation. |
| public QName | Returns: Qualified name of the operationGets the name of the operation to be invoked using this
|
| public Map | Returns: Map Output parameters for the lastCall.invoke().
Empty Map is returned if there are no output
parameters.Returns a |
| public List | Returns: java.util.List Values for the output parameters. An emptyList is returned if there are
no output values.Returns a |
| public QName | Returns: Returns XML type for the specified parameterName of the parameter paramName)Gets the XML type of a parameter by name |
| public QName | |
| public Object | Returns: Value of the named propertyName of the property name)Gets the value of a named property. |
| public Iterator | Returns: Iterator for the property namesGets the names of configurable properties supported by
this |
| public QName | Returns: Returns the XML type for the return valueGets the return type for a specific operation |
| public String | Returns: Address of the target service endpoint as an URIGets the address of a target service endpoint. |
| public Object | |
| public Object | |
| public void | invokeOneWay(Object[]
Object[]--Parameters for this invocation. This
includes only the input params. inputParams)Invokes a remote method using the one-way interaction mode. |
| public boolean | Returns: Returns true if the Call implementation class requires addParameter and setReturnType to be invoked in the client code for the specified operation. This method returns false otherwise.Qualified name of the operation operationName)Indicates whether |
| public void | |
| public void | |
| public void | setOperationName(QName
QName of the operation to be
invoked using the Call instance operationName)Sets the name of the operation to be invoked using this
|
| public void | setPortTypeName(QName
Qualified name of the port type portType)Sets the qualified name of the port type. |
| public void | setProperty(String
Name of the property name, Object Value of the property value)Sets the value for a named property. |
| public void | setReturnType(QName
XML data type of the return value xmlType)Sets the return type for a specific operation. |
| public void | setReturnType(QName
XML data type of the return value xmlType, Class<T> Java Class of the return value javaType)Sets the return type for a specific operation. |
| public void | setTargetEndpointAddress(String
Address of the target service endpoint;
specified as an URI address)Sets the address of the target service endpoint. |
| ENCODINGSTYLE_URI_PROPERTY | back to summary |
|---|---|
| public static final String ENCODINGSTYLE_URI_PROPERTY Standard property for encoding Style: Encoding style specified
as a namespace URI. The default value is the SOAP 1.1 encoding
Type: | |
| OPERATION_STYLE_PROPERTY | back to summary |
|---|---|
| public static final String OPERATION_STYLE_PROPERTY Standard property for operation style. This property is set to "rpc" if the operation style is rpc; "document" if the operation style is document. Type: | |
| PASSWORD_PROPERTY | back to summary |
|---|---|
| public static final String PASSWORD_PROPERTY Standard property: Password for authentication Type: | |
| SESSION_MAINTAIN_PROPERTY | back to summary |
|---|---|
| public static final String SESSION_MAINTAIN_PROPERTY Standard property: This boolean property is used by a service
client to indicate whether or not it wants to participate in
a session with a service endpoint. If this property is set to
true, the service client indicates that it wants the session
to be maintained. If set to false, the session is not maintained.
The default value for this property is Type: | |
| SOAPACTION_URI_PROPERTY | back to summary |
|---|---|
| public static final String SOAPACTION_URI_PROPERTY Standard property for SOAPAction. Indicates the SOAPAction
URI if the Type: | |
| SOAPACTION_USE_PROPERTY | back to summary |
|---|---|
| public static final String SOAPACTION_USE_PROPERTY Standard property for SOAPAction. This boolean property indicates whether or not SOAPAction is to be used. The default value of this property is false indicating that the SOAPAction is not used. Type: | |
| USERNAME_PROPERTY | back to summary |
|---|---|
| public static final String USERNAME_PROPERTY Standard property: User name for authentication Type: | |
| addParameter | back to summary |
|---|---|
| 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 | back to summary |
|---|---|
| public void addParameter(String paramName, QName xmlType, Class<T> 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.
| |
| getOperationName | back to summary |
|---|---|
| public QName getOperationName() Gets the name of the operation to be invoked using this
| |
| getOutputParams | back to summary |
|---|---|
| public Map Returns a
| |
| getOutputValues | back to summary |
|---|---|
| public List Returns a
| |
| getParameterTypeByName | back to summary |
|---|---|
| public QName getParameterTypeByName(String paramName) Gets the XML type of a parameter by name | |
| getPortTypeName | back to summary |
|---|---|
| public QName getPortTypeName() Gets the qualified name of the port type.
| |
| getProperty | back to summary |
|---|---|
| public Object getProperty(String name) Gets the value of a named property.
| |
| getPropertyNames | back to summary |
|---|---|
| public Iterator Gets the names of configurable properties supported by
this
| |
| getReturnType | back to summary |
|---|---|
| public QName getReturnType() Gets the return type for a specific operation
| |
| getTargetEndpointAddress | back to summary |
|---|---|
| public String getTargetEndpointAddress() Gets the address of a target service endpoint.
| |
| invoke | back to summary |
|---|---|
| public Object invoke(Object[] inputParams) throws RemoteException Invokes a specific operation using a synchronous request-response interaction mode.
| |
| invoke | back to summary |
|---|---|
| public Object invoke(QName operationName, Object[] inputParams) throws RemoteException Invokes a specific operation using a synchronous request-response interaction mode.
| |
| invokeOneWay | back to summary |
|---|---|
| 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
| |
| isParameterAndReturnSpecRequired | back to summary |
|---|---|
| public boolean isParameterAndReturnSpecRequired(QName operationName) Indicates whether
| |
| removeAllParameters | back to summary |
|---|---|
| public void removeAllParameters() Removes all specified parameters from this
| |
| removeProperty | back to summary |
|---|---|
| public void removeProperty(String name) Removes a named property.
| |
| setOperationName | back to summary |
|---|---|
| public void setOperationName(QName operationName) Sets the name of the operation to be invoked using this
| |
| setPortTypeName | back to summary |
|---|---|
| public void setPortTypeName(QName portType) Sets the qualified name of the port type.
| |
| setProperty | back to summary |
|---|---|
| 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
| |
| setReturnType | back to summary |
|---|---|
| public void setReturnType(QName xmlType) Sets the return type for a specific operation. Invoking
| |
| setReturnType | back to summary |
|---|---|
| public void setReturnType(QName xmlType, Class<T> javaType) Sets the return type for a specific operation.
| |
| setTargetEndpointAddress | back to summary |
|---|---|
| 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
| |