|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A WSIFOperation is a handle on a particular operation of a portType
that can be used to invoke web service methods. This interface is
implemented by each provider. A WSIFOperation can be created using
WSIFPort.createOperation(String).
| Method Summary | |
WSIFMessage |
createFaultMessage()
Create a fault message that may be received into via this port. |
WSIFMessage |
createFaultMessage(java.lang.String name)
Create a fault message that may be received into via this port. |
WSIFMessage |
createInputMessage()
Create an input message that will be sent via this port. |
WSIFMessage |
createInputMessage(java.lang.String name)
Create an input message that will be sent via this port. |
WSIFMessage |
createOutputMessage()
Create an output message that will be received into via this port. |
WSIFMessage |
createOutputMessage(java.lang.String name)
Create an output message that will be received into via this port. |
void |
executeInputOnlyOperation(WSIFMessage input)
Execute an input-only operation. |
WSIFCorrelationId |
executeRequestResponseAsync(WSIFMessage input)
Execute an asynchronous request |
WSIFCorrelationId |
executeRequestResponseAsync(WSIFMessage input,
WSIFResponseHandler handler)
Execute an asynchronous request |
boolean |
executeRequestResponseOperation(WSIFMessage input,
WSIFMessage output,
WSIFMessage fault)
Execute a request-response operation. |
void |
fireAsyncResponse(java.lang.Object response)
fireAsyncResponse is called when a response has been received for a previous executeRequestResponseAsync call. |
WSIFMessage |
getContext()
Gets the context information for this binding. |
boolean |
processAsyncResponse(java.lang.Object response,
WSIFMessage output,
WSIFMessage fault)
Processes the response to an asynchronous request. |
void |
setContext(WSIFMessage context)
Allows the application programmer or stub to pass context information to the binding. |
| Method Detail |
public boolean executeRequestResponseOperation(WSIFMessage input,
WSIFMessage output,
WSIFMessage fault)
throws WSIFException
input - input message to send to the operationoutput - an empty message which will be filled in if
the operation invocation succeeds. If it does not
succeed, the contents of this message are undefined.
(This is a return value of this method.)fault - an empty message which will be filled in if
the operation invocation fails. If it succeeds, the
contents of this message are undefined. (This is a
return value of this method.)
WSIFException - if something goes wrong.
public WSIFCorrelationId executeRequestResponseAsync(WSIFMessage input)
throws WSIFException
input - input message to send to the operation
WSIFException - if something goes wrong.
public WSIFCorrelationId executeRequestResponseAsync(WSIFMessage input,
WSIFResponseHandler handler)
throws WSIFException
input - input message to send to the operationhandler - the response handler that will be notified
when the asynchronous response becomes available.
WSIFException - if something goes wrong.
public void fireAsyncResponse(java.lang.Object response)
throws WSIFException
response - an Object representing the response
WSIFException - if something goes wrong
public boolean processAsyncResponse(java.lang.Object response,
WSIFMessage output,
WSIFMessage fault)
throws WSIFException
response - an Object representing the response.output - an empty message which will be filled in if
the operation invocation succeeds. If it does not
succeed, the contents of this message are undefined.
(This is a return value of this method.)fault - an empty message which will be filled in if
the operation invocation fails. If it succeeds, the
contents of this message are undefined. (This is a
return value of this method.)
WSIFException - if something goes wrong
public void executeInputOnlyOperation(WSIFMessage input)
throws WSIFException
input - input message to send to the operation
WSIFException - if something goes wrong.public void setContext(WSIFMessage context)
context - context information
public WSIFMessage getContext()
throws WSIFException
WSIFExceptionpublic WSIFMessage createInputMessage()
public WSIFMessage createInputMessage(java.lang.String name)
name - for the new message
public WSIFMessage createOutputMessage()
public WSIFMessage createOutputMessage(java.lang.String name)
name - for the new message
public WSIFMessage createFaultMessage()
public WSIFMessage createFaultMessage(java.lang.String name)
name - for the new message
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||