|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wsif.base.WSIFDefaultOperation
org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis
public class WSIFOperation_ApacheAxis
The WSIFOperation class for invoking WSDL operations using Apache AXIS.
Constructor Summary | |
---|---|
WSIFOperation_ApacheAxis(WSIFPort_ApacheAxis wsifPort,
javax.wsdl.Operation portTypeOperation,
WSIFDynamicTypeMap typeMap)
Construct a new WSIFOperation |
Method Summary | |
---|---|
WSIFOperation_ApacheAxis |
copy()
Deprecated. why was this ever made public??? It should only ever be used by the WSIFPort!!! |
java.lang.String |
deep()
|
void |
executeInputOnlyOperation(WSIFMessage inMsg)
Execute an input-only operation. |
WSIFCorrelationId |
executeRequestResponseAsync(WSIFMessage inMsg)
Performs a request response operation asynchronously. |
WSIFCorrelationId |
executeRequestResponseAsync(WSIFMessage inMsg,
WSIFResponseHandler handler)
Performs a request response operation asynchronously. |
boolean |
executeRequestResponseOperation(WSIFMessage inMsg,
WSIFMessage outMsg,
WSIFMessage faultMsg)
Execute a request-response operation. |
void |
fireAsyncResponse(java.lang.Object response)
fireAsyncResponse is called by an AsyncListener when a response has been received for a previous executeRequestResponseAsync call. |
WSIFCorrelationId |
getAsyncRequestID()
|
javax.wsdl.Definition |
getDefinition()
Returns the Definition object for the WSDL file |
WSIFPort_ApacheAxis |
getDynamicWSIFPort()
Deprecated. use getWSIFPort |
java.lang.String |
getInputEncodingStyle()
|
java.lang.String |
getInputNamespace()
|
java.lang.String |
getInputUse()
Returns the inputUse. |
java.lang.String |
getName()
Gets the name of the portType wsdl:operation element being used by this WSIFOperation |
javax.wsdl.Operation |
getOperation()
Deprecated. use getPortTypeOperation |
java.lang.String |
getOperationStyle()
Returns the operation style. |
java.lang.String |
getOutputEncodingStyle()
|
javax.wsdl.Operation |
getPortTypeOperation()
Gets the portType wsdl:operation element used by this WSIFOperation |
java.lang.String |
getSoapActionURI()
|
java.lang.String |
getStyle()
Deprecated. use getOperationStyle |
java.lang.String |
getTargetNamespaceURI()
Gets the target namespace URI of this WSIFOperation |
org.apache.axis.client.Transport |
getTransport()
|
WSIFPort |
getWSIFPort()
|
boolean |
isAsyncOperation()
Tests if the currently executing request is an asynchronous request. |
boolean |
processAsyncResponse(java.lang.Object response,
WSIFMessage output,
WSIFMessage fault)
Processes the response to an asynchronous request. |
void |
setDefinition(javax.wsdl.Definition definition1)
Deprecated. should anyone be calling this? |
void |
setDynamicWSIFPort(WSIFPort_ApacheAxis wsifport_apacheaxis)
|
void |
setInputEncodingStyle(java.lang.String s)
|
void |
setInputNamespace(java.lang.String s)
|
void |
setOperation(javax.wsdl.Operation operation1)
|
void |
setOperationStyle(java.lang.String style)
Deprecated. should anyone be doing this? |
void |
setOutputEncodingStyle(java.lang.String s)
|
void |
setSoapActionURI(java.lang.String s)
|
void |
setStyle(java.lang.String style)
Deprecated. use setOperationStyle |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WSIFOperation_ApacheAxis(WSIFPort_ApacheAxis wsifPort, javax.wsdl.Operation portTypeOperation, WSIFDynamicTypeMap typeMap) throws WSIFException
WSIFException
Method Detail |
---|
public WSIFOperation_ApacheAxis copy() throws WSIFException
WSIFException
public javax.wsdl.Definition getDefinition()
public WSIFPort_ApacheAxis getDynamicWSIFPort()
public java.lang.String getInputEncodingStyle()
public java.lang.String getInputNamespace()
public java.lang.String getInputUse()
public java.lang.String getName()
public javax.wsdl.Operation getOperation()
public javax.wsdl.Operation getPortTypeOperation()
public java.lang.String getOutputEncodingStyle()
public java.lang.String getSoapActionURI()
public org.apache.axis.client.Transport getTransport() throws WSIFException
WSIFException
public WSIFCorrelationId getAsyncRequestID()
public WSIFPort getWSIFPort()
getWSIFPort
in class WSIFDefaultOperation
public boolean isAsyncOperation()
public void executeInputOnlyOperation(WSIFMessage inMsg) throws WSIFException
WSIFOperation
executeInputOnlyOperation
in interface WSIFOperation
executeInputOnlyOperation
in class WSIFDefaultOperation
inMsg
- input message to send to the operation
WSIFException
- if something goes wrong.WSIFOperation.executeInputOnlyOperation(WSIFMessage)
public boolean executeRequestResponseOperation(WSIFMessage inMsg, WSIFMessage outMsg, WSIFMessage faultMsg) throws WSIFException
WSIFOperation
executeRequestResponseOperation
in interface WSIFOperation
executeRequestResponseOperation
in class WSIFDefaultOperation
inMsg
- input message to send to the operationoutMsg
- 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.)faultMsg
- 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.WSIFOperation.executeRequestResponseOperation(WSIFMessage, WSIFMessage, WSIFMessage)
public WSIFCorrelationId executeRequestResponseAsync(WSIFMessage inMsg) throws WSIFException
executeRequestResponseAsync
in interface WSIFOperation
executeRequestResponseAsync
in class WSIFDefaultOperation
input
- input message to send to the operation
WSIFException
- if something goes wrong.WSIFOperation#executeRequestResponseAsync(WSIFMessage)
public WSIFCorrelationId executeRequestResponseAsync(WSIFMessage inMsg, WSIFResponseHandler handler) throws WSIFException
executeRequestResponseAsync
in interface WSIFOperation
executeRequestResponseAsync
in class WSIFDefaultOperation
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.WSIFOperation#executeRequestResponseAsync(WSIFMessage,WSIFResponseHandler)
public void fireAsyncResponse(java.lang.Object response) throws WSIFException
fireAsyncResponse
in interface WSIFOperation
fireAsyncResponse
in class WSIFDefaultOperation
response
- an Object representing the response. The response
should be a JMS TextMessage containging the XML response.
WSIFException
- if something goes wrongWSIFOperation#fireAsyncResponse(Object)
public boolean processAsyncResponse(java.lang.Object response, WSIFMessage output, WSIFMessage fault) throws WSIFException
processAsyncResponse
in interface WSIFOperation
processAsyncResponse
in class WSIFDefaultOperation
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 wrongWSIFOperation.processAsyncResponse(Object,WSIFMessage,WSIFMessage)
public void setDefinition(javax.wsdl.Definition definition1)
public void setDynamicWSIFPort(WSIFPort_ApacheAxis wsifport_apacheaxis)
public void setInputEncodingStyle(java.lang.String s)
public void setInputNamespace(java.lang.String s)
public void setOperation(javax.wsdl.Operation operation1)
public void setOutputEncodingStyle(java.lang.String s)
public void setSoapActionURI(java.lang.String s)
public java.lang.String getTargetNamespaceURI()
public java.lang.String getStyle()
public java.lang.String getOperationStyle()
public void setStyle(java.lang.String style)
public void setOperationStyle(java.lang.String style)
public java.lang.String deep()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |