|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.wsif.base.WSIFDefaultOperation | +--org.apache.wsif.providers.soap.apachesoap.WSIFOperation_ApacheSOAP
Provide concrete implementation of WSDL operation with Apache SOAP RPC method invocation.
Constructor Summary | |
---|---|
WSIFOperation_ApacheSOAP(WSIFPort_ApacheSOAP pi,
javax.wsdl.Operation op,
WSIFDynamicTypeMap typeMap)
Create Apache SOAP operation instance that encapsultes all necessary information required to create and execute Apache SOAP Call. |
Method Summary | |
---|---|
WSIFOperation_ApacheSOAP |
copy()
Create a new copy of this object. |
java.lang.String |
deep()
|
void |
executeInputOnlyOperation(WSIFMessage input)
Execute an input-only operation. |
WSIFCorrelationId |
executeRequestResponseAsync(WSIFMessage input)
Performs a request response operation asynchronously. |
WSIFCorrelationId |
executeRequestResponseAsync(WSIFMessage input,
WSIFResponseHandler handler)
Performs a request response operation asynchronously. |
boolean |
executeRequestResponseOperation(WSIFMessage input,
WSIFMessage output,
WSIFMessage fault)
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()
Gets the correlation ID of the last request sent by the executeRequestResponseAsync method. |
javax.wsdl.Definition |
getDefinition()
|
WSIFPort_ApacheSOAP |
getDynamicWSIFPort()
|
java.lang.String |
getInputEncodingStyle()
|
java.lang.String |
getInputNamespace()
|
java.lang.String |
getInputUse()
Gets the inputUse. |
java.lang.String |
getName()
Return name of operation. |
javax.wsdl.Operation |
getOperation()
|
java.lang.String |
getOutputEncodingStyle()
|
java.lang.String |
getOutputUse()
Gets the outputUse. |
java.util.List |
getPartNames()
|
java.lang.String |
getPartSerializerName()
Gets the partSerializerName. |
java.lang.String |
getReturnName()
|
java.lang.String |
getSoapActionURI()
|
java.lang.String |
getStyle()
Gets the style. |
java.lang.String |
getTargetNamespaceURI()
Gets the target namespace URI of this WSIFOperation |
org.apache.soap.transport.SOAPTransport |
getTransport()
Gets the transport being used by this operation |
boolean |
invokeRequestResponseOperation(WSIFMessage input,
WSIFMessage output,
WSIFMessage fault)
Invoke RPC operation using ApacheSOAP |
boolean |
invokeRequestResponseOperationDocument(WSIFMessage input,
WSIFMessage output,
WSIFMessage fault)
|
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 value)
|
void |
setDynamicWSIFPort(WSIFPort_ApacheSOAP value)
|
void |
setInputEncodingStyle(java.lang.String value)
|
void |
setInputNamespace(java.lang.String value)
|
void |
setInputUse(java.lang.String inputUse)
Sets the inputUse. |
void |
setOperation(javax.wsdl.Operation value)
|
void |
setOutputEncodingStyle(java.lang.String value)
|
void |
setOutputUse(java.lang.String outputUse)
Sets the outputUse. |
void |
setPartNames(java.util.List value)
|
void |
setPartSerializerName(java.lang.String partSerializerName)
Sets the partSerializerName. |
void |
setReturnName(java.lang.String value)
|
void |
setSoapActionURI(java.lang.String value)
|
void |
setStyle(java.lang.String style)
Sets the style. |
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, getContext, setContext |
Constructor Detail |
public WSIFOperation_ApacheSOAP(WSIFPort_ApacheSOAP pi, javax.wsdl.Operation op, WSIFDynamicTypeMap typeMap) throws WSIFException
Method Detail |
public WSIFOperation_ApacheSOAP copy() throws WSIFException
public java.lang.String getTargetNamespaceURI()
public boolean executeRequestResponseOperation(WSIFMessage input, WSIFMessage output, WSIFMessage fault) throws WSIFException
WSIFOperation
executeRequestResponseOperation
in interface WSIFOperation
executeRequestResponseOperation
in class WSIFDefaultOperation
org.apache.wsif.WSIFOperation
op
- name of operation to executeinput
- 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 void executeInputOnlyOperation(WSIFMessage input) throws WSIFException
WSIFOperation
executeInputOnlyOperation
in interface WSIFOperation
executeInputOnlyOperation
in class WSIFDefaultOperation
org.apache.wsif.WSIFOperation
input
- input message to send to the operationWSIFException
- if something goes wrong.public boolean invokeRequestResponseOperation(WSIFMessage input, WSIFMessage output, WSIFMessage fault) throws WSIFException
public boolean invokeRequestResponseOperationDocument(WSIFMessage input, WSIFMessage output, WSIFMessage fault) throws WSIFException
public WSIFCorrelationId executeRequestResponseAsync(WSIFMessage input) throws WSIFException
executeRequestResponseAsync
in interface WSIFOperation
executeRequestResponseAsync
in class WSIFDefaultOperation
input
- input message to send to the operationWSIFException
- if something goes wrong.WSIFOperation.executeRequestResponseAsync(WSIFMessage)
public WSIFCorrelationId executeRequestResponseAsync(WSIFMessage input, 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
will be raw XMLWSIFOperation.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.)public java.lang.String getName()
public java.lang.String getSoapActionURI()
public void setSoapActionURI(java.lang.String value)
public java.lang.String getInputNamespace()
public void setInputNamespace(java.lang.String value)
public java.lang.String getInputEncodingStyle()
public void setInputEncodingStyle(java.lang.String value)
public java.lang.String getOutputEncodingStyle()
public void setOutputEncodingStyle(java.lang.String value)
public java.util.List getPartNames()
public void setPartNames(java.util.List value)
public java.lang.String getReturnName()
public void setReturnName(java.lang.String value)
public javax.wsdl.Operation getOperation()
public void setOperation(javax.wsdl.Operation value)
public javax.wsdl.Definition getDefinition()
public void setDefinition(javax.wsdl.Definition value)
public WSIFPort_ApacheSOAP getDynamicWSIFPort()
public void setDynamicWSIFPort(WSIFPort_ApacheSOAP value)
public java.lang.String getStyle()
public org.apache.soap.transport.SOAPTransport getTransport()
public WSIFCorrelationId getAsyncRequestID()
public void setStyle(java.lang.String style)
style
- The style to setpublic java.lang.String getInputUse()
public void setInputUse(java.lang.String inputUse)
inputUse
- The inputUse to setpublic java.lang.String getOutputUse()
public void setOutputUse(java.lang.String outputUse)
outputUse
- The outputUse to setpublic java.lang.String getPartSerializerName()
public boolean isAsyncOperation()
public void setPartSerializerName(java.lang.String partSerializerName)
partSerializerName
- The partSerializerName to setpublic java.lang.String deep()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |