|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.axis.client.Call
Axis' JAXRPC Dynamic Invocation Interface implementation of the Call interface. This class should be used to actually invoke the Web Service. It can be prefilled by a WSDL document (on the constructor to the Service object) or you can fill in the data yourself.
Standard properties defined by in JAX-RPC's javax..xml.rpc.Call interface: USERNAME_PROPERTY - User name for authentication PASSWORD_PROPERTY - Password for authentication SESSION_PROPERTY - Participate in a session with the endpoint? OPERATION_STYLE_PROPERTY - "rpc" or "document" SOAPACTION_USE_PROPERTY - Should SOAPAction be used? SOAPACTION_URI_PROPERTY - If SOAPAction is used, this is that action ENCODING_STYLE_PROPERTY - Default is SOAP 1.1: "http://schemas.xmlsoap.org/soap/encoding/" AXIS properties: SEND_TYPE_ATTR - Should we send the XSI type attributes (true/false) TIMEOUT - Timeout used by transport sender in milliseconds TRANSPORT_NAME - Name of transport handler to use ATTACHMENT_ENCAPSULATION_FORMAT- Send attachments as MIME the default, or DIME.
Field Summary | |
static java.lang.String |
ATTACHMENT_ENCAPSULATION_FORMAT
Property for setting attachment format. |
static java.lang.String |
ATTACHMENT_ENCAPSULATION_FORMAT_DIME
Property value for setting attachment format as DIME. |
static java.lang.String |
ATTACHMENT_ENCAPSULATION_FORMAT_MIME
Property value for setting attachment format as MIME. |
protected java.util.Vector |
attachmentParts
|
static boolean |
FAULT_ON_NO_RESPONSE
|
static java.lang.String |
JAXRPC_PORTTYPE_NAME
|
static java.lang.String |
JAXRPC_SERVICE
|
protected MessageContext (src) |
msgContext
|
static java.lang.String |
SEND_TYPE_ATTR
|
static java.lang.String |
TRANSPORT_NAME
|
static java.lang.String |
TRANSPORT_PROPERTY
|
static java.lang.String |
WSDL_PORT_NAME
|
static java.lang.String |
WSDL_SERVICE
|
Fields inherited from interface javax.xml.rpc.Call (src) |
ENCODINGSTYLE_URI_PROPERTY, OPERATION_STYLE_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, SOAPACTION_URI_PROPERTY, SOAPACTION_USE_PROPERTY, USERNAME_PROPERTY |
Constructor Summary | |
Call(Service (src) service)
Default constructor - not much else to say. |
|
Call(java.lang.String url)
Build a call from a URL string |
|
Call(java.net.URL url)
Build a call from a URL |
Method Summary | |
void |
addAttachmentPart(java.lang.Object attachment)
This method adds an attachment. |
protected void |
addAttachmentParts(Message (src) msg)
Stub out to allow ws4ee layer to add attachments to the message |
void |
addFault(QName (src) qname,
java.lang.Class cls,
QName (src) xmlType,
boolean isComplex)
Add a fault for this operation Note: Not part of JAX-RPC specificaion |
void |
addHeader(SOAPHeaderElementAxisImpl (src) header)
Add a header which should be inserted into each outgoing message we generate. |
void |
addParameter(QName (src) paramName,
QName (src) xmlType,
java.lang.Class javaType,
ParameterMode (src) parameterMode)
Adds the specified parameter to the list of parameters for the operation associated with this Call object. |
void |
addParameter(QName (src) paramName,
QName (src) xmlType,
java.lang.Class javaType,
ParameterMode (src) parameterMode,
boolean inHeader,
boolean outHeader)
Adds the specified parameter to the list of parameters for the operation associated with this Call object. |
void |
addParameter(QName (src) paramName,
QName (src) xmlType,
ParameterMode (src) parameterMode)
Adds the specified parameter to the list of parameters for the operation associated with this Call object. |
void |
addParameter(java.lang.String paramName,
QName (src) xmlType,
java.lang.Class javaType,
ParameterMode (src) parameterMode)
Adds a parameter type and mode for a specific operation. |
void |
addParameter(java.lang.String paramName,
QName (src) xmlType,
ParameterMode (src) parameterMode)
Adds the specified parameter to the list of parameters for the operation associated with this Call object. |
void |
addParameterAsHeader(QName (src) paramName,
QName (src) xmlType,
java.lang.Class javaType,
ParameterMode (src) parameterMode,
ParameterMode (src) headerMode)
Adds a parameter type as a soap:header. |
static void |
addTransportPackage(java.lang.String packageName)
Add a package to the system protocol handler search path. |
void |
clearHeaders()
Clear the list of headers which we insert into each message Note: Not part of JAX-RPC specification. |
void |
clearOperation()
|
java.lang.String |
getEncodingStyle()
Returns the encoding style as a URI that should be used for the SOAP message. |
boolean |
getMaintainSession()
Get the value of maintainSession flag. |
MessageContext (src) |
getMessageContext()
Obtain a reference to our MessageContext. |
OperationDesc (src) |
getOperation()
|
QName (src) |
getOperationName()
Returns the operation name associated with this Call object. |
Style (src) |
getOperationStyle()
Get the operation style. |
Use (src) |
getOperationUse()
Get the operation use. |
java.util.Map |
getOutputParams()
Get the output parameters (if any) from the last invocation. |
java.util.List |
getOutputValues()
Returns a List values for the output parameters of the last invoked operation. |
QName (src) |
getParameterTypeByName(java.lang.String paramName)
Return the QName of the type of the parameters with the given name. |
QName (src) |
getParameterTypeByQName(QName (src) paramQName)
Return the QName of the type of the parameters with the given name. |
java.lang.String |
getPassword()
Get the password |
QName (src) |
getPortName()
Returns the fully qualified name of the port for this Call object (if there is one). |
QName (src) |
getPortTypeName()
Deprecated. This is really the service's port name, not portType name. Use getPortName instead. |
java.lang.Object |
getProperty(java.lang.String name)
Returns the value associated with the named property |
java.util.Iterator |
getPropertyNames()
Gets the names of configurable properties supported by this Call object. |
Message (src) |
getResponseMessage()
Directly get the response message in our MessageContext. |
QName (src) |
getReturnType()
Returns the QName of the type of the return value of this Call - or null if not set. |
java.lang.Object |
getScopedProperty(java.lang.String name)
Deprecated. |
Service (src) |
getService()
Get the Service object associated with this Call object. |
java.lang.String |
getSOAPActionURI()
Get the soapAction URI. |
java.lang.String |
getTargetEndpointAddress()
Returns the URL of the target Web Service. |
java.lang.Integer |
getTimeout()
|
Transport (src) |
getTransportForProtocol(java.lang.String protocol)
Get the Transport registered for the given protocol. |
TypeMapping (src) |
getTypeMapping()
|
java.lang.String |
getUsername()
Get the user name |
protected java.lang.String |
getWsdlOpName(java.lang.String javaOpName)
The default implementation simply returns the java operation name. |
static void |
initialize()
Set up the default transport URL mappings. |
void |
invoke()
Invoke this Call with its established MessageContext (perhaps because you called this.setRequestMessage()) Note: Not part of JAX-RPC specification. |
java.lang.Object |
invoke(java.lang.Object[] params)
Invokes the operation associated with this Call object using the passed in parameters as the arguments to the method. |
java.lang.Object |
invoke(QName (src) operationName,
java.lang.Object[] params)
Invokes a specific operation using a synchronous request-response interaction mode. |
java.lang.Object |
invoke(RPCElement (src) body)
Invoke an RPC service with a pre-constructed RPCElement. |
SOAPEnvelopeAxisImpl (src) |
invoke(SOAPEnvelopeAxisImpl (src) env)
Invoke the service with a custom SOAPEnvelope. |
java.lang.Object |
invoke(java.lang.String method,
java.lang.Object[] args)
Convenience method to invoke a method with a default (empty) namespace. |
java.lang.Object |
invoke(java.lang.String namespace,
java.lang.String method,
java.lang.Object[] args)
Invoke an RPC service with a method name and arguments. |
void |
invokeOneWay(java.lang.Object[] params)
Invokes the operation associated with this Call object using the passed in parameters as the arguments to the method. |
boolean |
isParameterAndReturnSpecRequired(QName (src) operationName)
Is the caller required to provide the parameter and return type specification? If true, then addParameter and setReturnType MUST be called to provide the meta data. |
boolean |
isPropertySupported(java.lang.String name)
|
void |
registerTypeMapping(java.lang.Class javaType,
QName (src) xmlType,
java.lang.Class sfClass,
java.lang.Class dfClass)
|
void |
registerTypeMapping(java.lang.Class javaType,
QName (src) xmlType,
java.lang.Class sfClass,
java.lang.Class dfClass,
boolean force)
|
void |
registerTypeMapping(java.lang.Class javaType,
QName (src) xmlType,
SerializerFactory (src) sf,
DeserializerFactory (src) df)
Register type mapping information for serialization/deserialization Note: Not part of JAX-RPC specification. |
void |
registerTypeMapping(java.lang.Class javaType,
QName (src) xmlType,
SerializerFactory (src) sf,
DeserializerFactory (src) df,
boolean force)
Register type mapping information for serialization/deserialization Note: Not part of JAX-RPC specification. |
void |
removeAllParameters()
Clears the list of parameters. |
void |
removeProperty(java.lang.String name)
Removes (if set) the named property. |
void |
removeScopedProperty(java.lang.String name)
Deprecated. |
void |
setClientHandlers(Handler (src) reqHandler,
Handler (src) respHandler)
Sets the client-side request and response Handlers. |
void |
setEncodingStyle(java.lang.String namespaceURI)
Sets the encoding style to the URL passed in. |
void |
setMaintainSession(boolean yesno)
Determine whether we'd like to track sessions or not. |
void |
setOperation(OperationDesc (src) operation)
Hand a complete OperationDesc to the Call, and note that this was done so that others don't try to mess with it by calling addParameter, setReturnType, etc. |
void |
setOperation(QName (src) portName,
java.lang.String opName)
prefill as much info from the WSDL as it can. |
void |
setOperation(java.lang.String opName)
Prefill as much info from the WSDL as it can. |
void |
setOperationName(QName (src) opName)
Sets the operation name associated with this Call object. |
void |
setOperationName(java.lang.String opName)
This is a convenience method. |
void |
setOperationStyle(java.lang.String operationStyle)
Set the operation style: "document", "rpc" |
void |
setOperationStyle(Style (src) operationStyle)
Set the operation style |
void |
setOperationUse(java.lang.String operationUse)
Set the operation use: "literal", "encoded" |
void |
setOperationUse(Use (src) operationUse)
Set the operation use |
void |
setOption(java.lang.String name,
java.lang.Object value)
Set engine option. |
void |
setPassword(java.lang.String password)
Set the password. |
void |
setPortName(QName (src) portName)
Sets the port name of this Call object. |
void |
setPortTypeName(QName (src) portType)
Deprecated. This is really the service's port name, not portType name. Use setPortName instead. |
void |
setProperty(java.lang.String name,
java.lang.Object value)
Allows you to set a named property to the passed in value. |
void |
setRequestMessage(Message (src) msg)
Directly set the request message in our MessageContext. |
void |
setReturnClass(java.lang.Class cls)
Sets the desired return Java Class. |
void |
setReturnQName(QName (src) qname)
Set the QName of the return element NOT part of JAX-RPC |
void |
setReturnType(QName (src) returnType)
Sets the return type of the operation associated with this Call object. |
void |
setReturnType(QName (src) xmlType,
java.lang.Class javaType)
Sets the return type for a specific operation. |
void |
setReturnTypeAsHeader(QName (src) xmlType)
Set the return type as a header |
void |
setReturnTypeAsHeader(QName (src) xmlType,
java.lang.Class javaType)
Set the return type as a header |
void |
setScopedProperty(java.lang.String name,
java.lang.Object value)
Deprecated. |
void |
setSOAPActionURI(java.lang.String SOAPActionURI)
Set the soapAction URI. |
void |
setSOAPService(SOAPService (src) service)
|
void |
setSOAPVersion(SOAPConstants (src) soapConstants)
Allow the user to set the default SOAP version. |
void |
setTargetEndpointAddress(java.lang.String address)
Sets the endpoint address of the target service port. |
void |
setTargetEndpointAddress(java.net.URL address)
Sets the URL of the target Web Service. |
void |
setTimeout(java.lang.Integer timeout)
|
void |
setTransport(Transport (src) trans)
Set the Transport Note: Not part of JAX-RPC specification. |
static void |
setTransportForProtocol(java.lang.String protocol,
java.lang.Class transportClass)
Register a Transport that should be used for URLs of the specified protocol. |
void |
setUsername(java.lang.String username)
Set the username. |
void |
setUseSOAPAction(boolean useSOAPAction)
Should soapAction be used? |
boolean |
useSOAPAction()
Are we using soapAction? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected MessageContext (src) msgContext
protected java.util.Vector attachmentParts
public static final java.lang.String SEND_TYPE_ATTR
public static final java.lang.String TRANSPORT_NAME
public static final java.lang.String TRANSPORT_PROPERTY
public static final java.lang.String WSDL_SERVICE
public static final java.lang.String WSDL_PORT_NAME
public static final java.lang.String JAXRPC_SERVICE
public static final java.lang.String JAXRPC_PORTTYPE_NAME
public static final boolean FAULT_ON_NO_RESPONSE
public static final java.lang.String ATTACHMENT_ENCAPSULATION_FORMAT
public static final java.lang.String ATTACHMENT_ENCAPSULATION_FORMAT_MIME
public static final java.lang.String ATTACHMENT_ENCAPSULATION_FORMAT_DIME
Constructor Detail |
public Call(Service (src) service)
public Call(java.lang.String url) throws java.net.MalformedURLException
url
- the target endpoint URL
java.net.MalformedURLException
public Call(java.net.URL url)
url
- the target endpoint URLMethod Detail |
public void setProperty(java.lang.String name, java.lang.Object value)
setProperty
in interface Call (src)
name
- Name of the propertyvalue
- Value of the propertypublic java.lang.Object getProperty(java.lang.String name)
getProperty
in interface Call (src)
name
- Name of the property
JAXRPCException (src)
- if the requested property is not a supported propertypublic void removeProperty(java.lang.String name)
removeProperty
in interface Call (src)
name
- name of the property to removepublic void setScopedProperty(java.lang.String name, java.lang.Object value)
name
- value
- public java.lang.Object getScopedProperty(java.lang.String name)
name
-
public void removeScopedProperty(java.lang.String name)
name
- public java.util.Iterator getPropertyNames()
Call (src)
getPropertyNames
in interface Call (src)
public boolean isPropertySupported(java.lang.String name)
public void setUsername(java.lang.String username)
public java.lang.String getUsername()
public void setPassword(java.lang.String password)
public java.lang.String getPassword()
public void setMaintainSession(boolean yesno)
yesno
- true if session state is desired, false if not.public boolean getMaintainSession()
public void setOperationStyle(java.lang.String operationStyle)
operationStyle
- string designating stylepublic void setOperationStyle(Style (src) operationStyle)
operationStyle
- public Style (src) getOperationStyle()
public void setOperationUse(java.lang.String operationUse)
operationUse
- string designating usepublic void setOperationUse(Use (src) operationUse)
operationUse
- public Use (src) getOperationUse()
public void setUseSOAPAction(boolean useSOAPAction)
public boolean useSOAPAction()
public void setSOAPActionURI(java.lang.String SOAPActionURI) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public java.lang.String getSOAPActionURI()
public void setEncodingStyle(java.lang.String namespaceURI)
namespaceURI
- URI of the encoding to use.public java.lang.String getEncodingStyle()
public void setTargetEndpointAddress(java.lang.String address)
setTargetEndpointAddress
in interface Call (src)
address
- - Endpoint address of the target service port; specified
as URIpublic void setTargetEndpointAddress(java.net.URL address)
address
- URL of the target Web Servicepublic java.lang.String getTargetEndpointAddress()
getTargetEndpointAddress
in interface Call (src)
public java.lang.Integer getTimeout()
public void setTimeout(java.lang.Integer timeout)
public boolean isParameterAndReturnSpecRequired(QName (src) operationName)
isParameterAndReturnSpecRequired
in interface Call (src)
operationName
- Qualified name of the operation
public void addParameter(QName (src) paramName, QName (src) xmlType, ParameterMode (src) parameterMode)
paramName
- Name that will be used for the parameter in the XMLxmlType
- XMLType of the parameterparameterMode
- one of IN, OUT or INOUTpublic void addParameter(QName (src) paramName, QName (src) xmlType, java.lang.Class javaType, ParameterMode (src) parameterMode, boolean inHeader, boolean outHeader)
paramName
- Name that will be used for the parameter in the XMLxmlType
- XMLType of the parameterjavaType
- The Java class of the parameterparameterMode
- one of IN, OUT or INOUTpublic void addParameter(QName (src) paramName, QName (src) xmlType, java.lang.Class javaType, ParameterMode (src) parameterMode)
paramName
- Name that will be used for the parameter in the XMLxmlType
- XMLType of the parameterjavaType
- The Java class of the parameterparameterMode
- one of IN, OUT or INOUTpublic void addParameter(java.lang.String paramName, QName (src) xmlType, ParameterMode (src) parameterMode)
addParameter
in interface Call (src)
paramName
- Name that will be used for the parameter in the XMLxmlType
- XMLType of the parameterparameterMode
- one of IN, OUT or INOUTpublic void addParameter(java.lang.String paramName, QName (src) xmlType, java.lang.Class javaType, ParameterMode (src) parameterMode)
addParameter
in interface Call (src)
paramName
- - Name of the parameterxmlType
- - XML datatype of the parameterjavaType
- - The Java class of the parameterparameterMode
- - Mode of the parameter-whether IN, OUT or INOUT
JAXRPCException (src)
- - if isParameterAndReturnSpecRequired returns
false, then addParameter MAY throw
JAXRPCException....actually Axis allows
modification in such casespublic void addParameterAsHeader(QName (src) paramName, QName (src) xmlType, java.lang.Class javaType, ParameterMode (src) parameterMode, ParameterMode (src) headerMode)
paramName
- - Name of the parameterxmlType
- - XML datatype of the parameterjavaType
- - The Java class of the parameterparameterMode
- - Mode of the parameter-whether IN, OUT or INOUTheaderMode
- - Mode of the header. Even if this is an INOUT
parameter, it need not be in the header in both
directions.
JAXRPCException (src)
- - if isParameterAndReturnSpecRequired returns
false, then addParameter MAY throw
JAXRPCException....actually Axis allows
modification in such casespublic QName (src) getParameterTypeByName(java.lang.String paramName)
getParameterTypeByName
in interface Call (src)
paramName
- name of the parameter to return
public QName (src) getParameterTypeByQName(QName (src) paramQName)
paramQName
- QName of the parameter to return
public void setReturnType(QName (src) returnType)
setReturnType
in interface Call (src)
returnType
- QName of the return value type.public void setReturnType(QName (src) xmlType, java.lang.Class javaType)
setReturnType
in interface Call (src)
xmlType
- - QName of the data type of the return valuejavaType
- - Java class of the return value
JAXRPCException (src)
- - if isParameterAndReturnSpecRequired returns
false, then setReturnType MAY throw JAXRPCException...Axis allows
modification without throwing the exception.public void setReturnTypeAsHeader(QName (src) xmlType)
public void setReturnTypeAsHeader(QName (src) xmlType, java.lang.Class javaType)
public QName (src) getReturnType()
getReturnType
in interface Call (src)
public void setReturnQName(QName (src) qname)
public void setReturnClass(java.lang.Class cls)
cls
- the desired return class.public void removeAllParameters()
removeAllParameters
in interface Call (src)
JAXRPCException (src)
- - if isParameterAndReturnSpecRequired returns
false, then removeAllParameters MAY throw JAXRPCException...Axis allows
modification to the Call object without throwing an exception.public QName (src) getOperationName()
getOperationName
in interface Call (src)
public void setOperationName(QName (src) opName)
setOperationName
in interface Call (src)
opName
- Name of the operation.public void setOperationName(java.lang.String opName)
public void setOperation(java.lang.String opName)
opName
- Operation(method) that's going to be invokedprotected java.lang.String getWsdlOpName(java.lang.String javaOpName)
public void setOperation(QName (src) portName, java.lang.String opName)
portName
- PortName in the WSDL doc to search foropName
- Operation(method) that's going to be invokedpublic QName (src) getPortName()
public void setPortName(QName (src) portName)
portName
- Fully qualified name of the portpublic QName (src) getPortTypeName()
getPortTypeName
in interface Call (src)
public void setPortTypeName(QName (src) portType)
setPortTypeName
in interface Call (src)
portType
- Fully qualified name of the portTypepublic void setSOAPVersion(SOAPConstants (src) soapConstants)
soapConstants
- the SOAPConstants object representing the correct
versionpublic java.lang.Object invoke(QName (src) operationName, java.lang.Object[] params) throws java.rmi.RemoteException
invoke
in interface Call (src)
operationName
- - Name of the operation to invokeparams
- - Parameters for this invocation
java.rmi.RemoteException
- - if there is any error in the remote method invocation or if the Call
object is not configured properly.public java.lang.Object invoke(java.lang.Object[] params) throws java.rmi.RemoteException
invoke
in interface Call (src)
params
- Array of parameters to invoke the Web Service with
java.rmi.RemoteException
- if there's an errorpublic void invokeOneWay(java.lang.Object[] params)
invokeOneWay
in interface Call (src)
params
- Array of parameters to invoke the Web Service with
JAXRPCException (src)
- is there's an errorpublic SOAPEnvelopeAxisImpl (src) invoke(SOAPEnvelopeAxisImpl (src) env) throws java.rmi.RemoteException
env
- a SOAPEnvelope to send.
AxisFault (src)
java.rmi.RemoteException
public static void setTransportForProtocol(java.lang.String protocol, java.lang.Class transportClass)
protocol
- the URL protocol (i.e. "tcp" for "tcp://" urls)transportClass
- the class of a Transport type which will be used
for matching URLs.public static void initialize()
public static void addTransportPackage(java.lang.String packageName)
packageName
- the package in which to search for protocol names.public void setTransport(Transport (src) trans)
trans
- the Transport object we'll use to set up
MessageContext properties.public Transport (src) getTransportForProtocol(java.lang.String protocol)
protocol
- a protocol such as "http" or "local" which may
have a Transport object associated with it.
public void setRequestMessage(Message (src) msg)
msg
- the new request message.protected void addAttachmentParts(Message (src) msg)
public Message (src) getResponseMessage()
public MessageContext (src) getMessageContext()
public void addHeader(SOAPHeaderElementAxisImpl (src) header)
header
- a SOAPHeaderElement to be inserted into messagespublic void clearHeaders()
public TypeMapping (src) getTypeMapping()
public void registerTypeMapping(java.lang.Class javaType, QName (src) xmlType, SerializerFactory (src) sf, DeserializerFactory (src) df)
javaType
- is the Java class of the data type.xmlType
- the xsi:type QName of the associated XML type.public void registerTypeMapping(java.lang.Class javaType, QName (src) xmlType, SerializerFactory (src) sf, DeserializerFactory (src) df, boolean force)
javaType
- is the Java class of the data type.xmlType
- the xsi:type QName of the associated XML type.force
- Indicates whether to add the information if already registered.public void registerTypeMapping(java.lang.Class javaType, QName (src) xmlType, java.lang.Class sfClass, java.lang.Class dfClass)
public void registerTypeMapping(java.lang.Class javaType, QName (src) xmlType, java.lang.Class sfClass, java.lang.Class dfClass, boolean force)
public java.lang.Object invoke(java.lang.String namespace, java.lang.String method, java.lang.Object[] args) throws AxisFault (src)
namespace
- the desired namespace URI of the method elementmethod
- the method nameargs
- an array of Objects representing the arguments to the
invoked method. If any of these objects are RPCParams,
Axis will use the embedded name of the RPCParam as the
name of the parameter. Otherwise, we will serialize
each argument as an XML element called "argAxisFault (src)
public java.lang.Object invoke(java.lang.String method, java.lang.Object[] args) throws AxisFault (src)
method
- the method nameargs
- an array of Objects representing the arguments to the
invoked method. If any of these objects are RPCParams,
Axis will use the embedded name of the RPCParam as the
name of the parameter. Otherwise, we will serialize
each argument as an XML element called "argAxisFault (src)
public java.lang.Object invoke(RPCElement (src) body) throws AxisFault (src)
body
- an RPCElement containing all the information about
this call.
AxisFault (src)
public void setOption(java.lang.String name, java.lang.Object value)
public void invoke() throws AxisFault (src)
AxisFault (src)
public java.util.Map getOutputParams()
getOutputParams
in interface Call (src)
public java.util.List getOutputValues()
getOutputValues
in interface Call (src)
JAXRPCException (src)
- - If this method is invoked for a
one-way operation or is invoked
before any invoke method has been called.public Service (src) getService()
public void setSOAPService(SOAPService (src) service)
public void setClientHandlers(Handler (src) reqHandler, Handler (src) respHandler)
public void addAttachmentPart(java.lang.Object attachment)
java.lang.RuntimeException
- if there is no support for attachments.public void addFault(QName (src) qname, java.lang.Class cls, QName (src) xmlType, boolean isComplex)
public void setOperation(OperationDesc (src) operation)
operation
- the OperationDesc to associate with this call.public OperationDesc (src) getOperation()
public void clearOperation()
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |