|
JSR 172 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.microedition.xml.rpc.Operation
public class Operation
The javax.microedition.xml.rpc.Operation
class corresponds to a wsdl:operation defined for a
target service endpoint.
Field Summary | |
---|---|
static java.lang.String |
SOAPACTION_URI_PROPERTY
Standard property for SOAPAction. |
Constructor Summary | |
---|---|
protected |
Operation()
|
Method Summary | |
---|---|
java.lang.Object |
invoke(java.lang.Object inParams)
Invokes the wsdl:operation defined by this Operation and returns the result. |
static Operation |
newInstance(QName name,
Element input,
Element output)
Creates an Operation corresponding to the
operation that is being performed. |
static Operation |
newInstance(QName name,
Element input,
Element output,
FaultDetailHandler faultDetailHandler)
Creates an Operation corresponding to the
operation that is being performed. |
void |
setProperty(java.lang.String name,
java.lang.String value)
Sets the property name to the value,
value . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SOAPACTION_URI_PROPERTY
javax.xml.rpc.soap.http.soapaction.use
property is set to true
.
Type: java.lang.String
Constructor Detail |
---|
protected Operation()
Method Detail |
---|
public static Operation newInstance(QName name, Element input, Element output)
Operation
corresponding to the
operation that is being performed.
input
- the Element describing the input parameter to
this operation.output
- the Element describing the return result to this
operation. NULL indicates there is no return
value.
Operation
with the given input
and output Type characteristicspublic static Operation newInstance(QName name, Element input, Element output, FaultDetailHandler faultDetailHandler)
Operation
corresponding to the
operation that is being performed. The faultDetailHandler
parameter is passed to the runtime and used to map custom SOAP faults.
input
- the Element describing the input parameter to
this operation.output
- the Element describing the return result to this
operation. NULL indicates there is no return
value.faultDetailHandler
- the FaultDetailHandler to be called
to handle custom faults thrown by this
Operation
.
Operation
with the given input
and output Type characteristicspublic void setProperty(java.lang.String name, java.lang.String value) throws java.lang.IllegalArgumentException
name
to the value,
value
.
name
- the name of the property to be setvalue
- the value the property is to be set
java.lang.IllegalArgumentException
- public java.lang.Object invoke(java.lang.Object inParams) throws JAXRPCException
Operation
and returns the result.
inParams
- an Object
representing the input
parameter value(s) to this operation
Object
representing the output
value(s) for this operation. Can be null
if this operation returns no value.
JAXRPCException
- Operation
|
JSR 172 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |