|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBMCall
This interface exposes IBM value-add methods.
Call
Field Summary |
---|
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 |
Method Summary | |
---|---|
void |
addAttachmentParameter(javax.xml.namespace.QName paramName,
java.lang.String mimeType,
java.lang.Class javaType,
javax.xml.rpc.ParameterMode mode)
Adds an description of a parameter as a MIME attachment. |
void |
addParameter(javax.xml.namespace.QName paramName,
javax.xml.namespace.QName xmlType,
java.lang.Class javaType,
javax.xml.rpc.ParameterMode parameterMode)
Adds a parameter type and mode for a specific operation. |
void |
addParameter(javax.xml.namespace.QName paramName,
javax.xml.namespace.QName xmlType,
javax.xml.rpc.ParameterMode parameterMode)
Adds a parameter type and mode for a specific operation. |
void |
setAttachmentReturnType(java.lang.String mimeType,
java.lang.Class javaType)
Sets the return type for a specific operation as a MIME attachment type. |
Methods inherited from interface javax.xml.rpc.Call |
---|
addParameter, addParameter, getOperationName, getOutputParams, getOutputValues, getParameterTypeByName, getPortTypeName, getProperty, getPropertyNames, getReturnType, getTargetEndpointAddress, invoke, invoke, invokeOneWay, isParameterAndReturnSpecRequired, removeAllParameters, removeProperty, setOperationName, setPortTypeName, setProperty, setReturnType, setReturnType, setTargetEndpointAddress |
Method Detail |
---|
void addAttachmentParameter(javax.xml.namespace.QName paramName, java.lang.String mimeType, java.lang.Class javaType, javax.xml.rpc.ParameterMode mode)
It is an addition to the standard JAX-RPC functionality. However, this functionality may be added to JAX-RPC in the future, in which case it will then become deprecated.
paramName
- Name of the parametermimeType
- MIME datatype of the parametermode
- Mode of the parameter-whether
ParameterMode.IN
,
ParameterMode.OUT
,
or ParameterMode.INOUT
JAXRPCException
- This exception may
be thrown if the method isParameterAndReturnSpecRequired
returns false
for this operation.
java.lang.IllegalArgumentException
- If any illegal
parameter name is specifiedvoid setAttachmentReturnType(java.lang.String mimeType, java.lang.Class javaType)
setReturnType(null)
removes the return
type for this Call object.
It is an addition to the standard JAX-RPC functionality. However, this functionality may be added to JAX-RPC in the future, in which case it will then become deprecated.
mimeType
- MIME data type of the return value
JAXRPCException
- This exception
may be thrown when the method
isParameterAndReturnSpecRequired
returns
false
.void addParameter(javax.xml.namespace.QName paramName, javax.xml.namespace.QName xmlType, javax.xml.rpc.ParameterMode parameterMode)
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.
NOTE: In the JAX-RPC version of this method, paramName is a String. In some cases that is insufficient.
It is an addition to the standard JAX-RPC functionality. However, this functionality may be added to JAX-RPC in the future, in which case it will then become deprecated.
paramName
- QName of the parameterxmlType
- XML datatype of the parameterparameterMode
- Mode of the parameter-whether
ParameterMode.IN
,
ParameterMode.OUT
,
or ParameterMode.INOUT
JAXRPCException
- This exception may
be thrown if the method isParameterAndReturnSpecRequired
returns false
for this operation.
java.lang.IllegalArgumentException
- If any illegal
parameter name or XML type is specifiedvoid addParameter(javax.xml.namespace.QName paramName, javax.xml.namespace.QName xmlType, java.lang.Class javaType, javax.xml.rpc.ParameterMode parameterMode)
NOTE: In the JAX-RPC version of this method, paramName is a String. In some cases that is insufficient.
It is an addition to the standard JAX-RPC functionality. However, this functionality may be added to JAX-RPC in the future, in which case it will then become deprecated.
paramName
- QName of the parameterxmlType
- XML datatype of the parameterjavaType
- The Java class of the parameterparameterMode
- Mode of the parameter-whether
ParameterMode.IN, OUT or INOUT
JAXRPCException
- isParameterAndReturnSpecRequired
returns false
.
TypeMappingRegistry
has no serializers for this mapping.
java.lang.IllegalArgumentException
- If any illegal
parameter name or XML type is specified
java.lang.UnsupportedOperationException
- If this
method is not supported
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |