| java.lang.Object javax.microedition.xml.rpc.Operation com.sun.j2mews.xml.rpc.OperationImpl
OperationImpl | public class OperationImpl extends Operation (Code) | | The OperationImpl class is an implementation
of the javax.microedition.xml.rpc.Operation
class, corresponding to a wsdl:operation defined for a
target service endpoint.
version: 0.1 |
OperationImpl | public OperationImpl(QName name, Element input, Element output) throws IllegalArgumentException(Code) | | Default constructor matches that of Operation
Parameters: name - the QName of this Operation Parameters: input - the input Type for this Operation Parameters: output - the output Type for this Operation |
OperationImpl | public OperationImpl(QName name, Element input, Element output, FaultDetailHandler faultDetailHandler) throws IllegalArgumentException(Code) | | Default constructor matches that of Operation
Parameters: name - the QName of this Operation Parameters: input - the input Type for this Operation Parameters: output - the output Type for this Operation Parameters: faultDetailHandler - the handler which will return the typedescriptor for a custom fault detailthis operation may encounter |
invoke | public Object invoke(Object params) throws JAXRPCException(Code) | | Invokes the wsdl:operation defined by this
Operation and returns the result.
Parameters: params - a ValueType array representing theinput parameters for this Operation .Can be null if this operation takesno parameters. a ValueType array representing the outputvalue(s) for this operation. Can be null if this operation returns no value. throws: JAXRPCException - - if an error occurs while excuting the operation.
See Also: javax.microedition.xml.rpc.Operation |
setupReqStream | protected OutputStream setupReqStream(HttpConnection http) throws IOException(Code) | | Method to configure the HTTP request stream.
This method will do whatever mechanics are necessary to
utilize the HTTP connection object to return an output
stream to be utilized to send the HTTP request.
Parameters: http - the HttpConnection object, unopened, with noheaders or any configuration yet set an OutputStream which can be used to write therequest data to this HTTP request. |
setupResStream | protected InputStream setupResStream(HttpConnection http) throws IOException, ServerException(Code) | | Method to configure the HTTP response stream.
This method will do whatever mechanics are necessary to
utilize the HTTP connection object to return an input
stream to the HTTP response.
Parameters: http - the HttpConnection object, already opened andpresumably with response data waiting an InputStream corresponding to the response datafrom this HttpConnection or null if not available. |
Fields inherited from javax.microedition.xml.rpc.Operation | final public static String SOAPACTION_URI_PROPERTY(Code)(Java Doc)
|
|
|