org.apache.wsif.providers.ejb
Class WSIFOperation_EJB
java.lang.Object
org.apache.wsif.base.WSIFDefaultOperation
org.apache.wsif.providers.ejb.WSIFOperation_EJB
- All Implemented Interfaces:
- java.io.Serializable, WSIFOperation
public class WSIFOperation_EJB
- extends WSIFDefaultOperation
- implements WSIFOperation
EJB operation.
- Author:
- Gerhard Pfau, Owen Burroughs , Jeremy Hughes
- See Also:
WSIFPort_EJB
,
Serialized Form
Methods inherited from class org.apache.wsif.base.WSIFDefaultOperation |
addInputJmsPropertyValues, createFaultMessage, createFaultMessage, createInputMessage, createInputMessage, createOutputMessage, createOutputMessage, executeRequestResponseAsync, executeRequestResponseAsync, fireAsyncResponse, getContext, getInputJmsProperties, getInputJmsPropertyValues, getOutputJmsProperties, processAsyncResponse, setContext, setInputJmsProperties, setInputJmsProperties, setInputJmsPropertyValues, setOutputJmsProperties, setOutputJmsProperties |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.wsif.WSIFOperation |
createFaultMessage, createFaultMessage, createInputMessage, createInputMessage, createOutputMessage, createOutputMessage, executeRequestResponseAsync, executeRequestResponseAsync, fireAsyncResponse, getContext, processAsyncResponse, setContext |
WSIFOperation_EJB
public WSIFOperation_EJB(javax.wsdl.Port portModel,
javax.wsdl.BindingOperation bindingOperationModel,
WSIFPort_EJB port)
throws WSIFException
- Throws:
WSIFException
copy
public WSIFOperation_EJB copy()
throws WSIFException
- Create a new copy of this object. This is not a clone, since
it does not copy the referenced objects as well.
- Throws:
WSIFException
getWSIFPort
public WSIFPort getWSIFPort()
- Specified by:
getWSIFPort
in class WSIFDefaultOperation
executeRequestResponseOperation
public boolean executeRequestResponseOperation(WSIFMessage input,
WSIFMessage output,
WSIFMessage fault)
throws WSIFException
- Description copied from interface:
WSIFOperation
- Execute a request-response operation. The signature allows for
input, output and fault messages. WSDL in fact allows one to
describe the set of possible faults an operation may result
in, however, only one fault can occur at any one time.
- Specified by:
executeRequestResponseOperation
in interface WSIFOperation
- Specified by:
executeRequestResponseOperation
in class WSIFDefaultOperation
- Parameters:
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.)
- Returns:
- true or false indicating whether a fault message was
generated or not. The truth value indicates whether
the output or fault message has useful information.
- Throws:
WSIFException
- if something goes wrong.- See Also:
WSIFOperation.executeRequestResponseOperation(WSIFMessage, WSIFMessage, WSIFMessage)
executeInputOnlyOperation
public void executeInputOnlyOperation(WSIFMessage input)
throws WSIFException
- Description copied from interface:
WSIFOperation
- Execute an input-only operation.
- Specified by:
executeInputOnlyOperation
in interface WSIFOperation
- Specified by:
executeInputOnlyOperation
in class WSIFDefaultOperation
- Parameters:
input
- input message to send to the operation
- Throws:
WSIFException
- if something goes wrong.- See Also:
WSIFOperation.executeInputOnlyOperation(WSIFMessage)
deep
public java.lang.String deep()
Copyright ? 2002, 2006 Apache XML Project. All Rights Reserved.