org.apache.wsif.providers.soap.soaprmi
Class WSIFOperation_SoapRMI

java.lang.Object
  |
  +--org.apache.wsif.base.WSIFDefaultOperation
        |
        +--org.apache.wsif.providers.soap.soaprmi.WSIFOperation_SoapRMI
All Implemented Interfaces:
java.io.Serializable, WSIFOperation

public class WSIFOperation_SoapRMI
extends WSIFDefaultOperation
implements WSIFOperation

Provide concrete implementation of WSDL operation with SoapRMI RPC method invocation.

Author:
Alekander Slominski
See Also:
Serialized Form

Constructor Summary
WSIFOperation_SoapRMI(WSIFPort_SoapRMI 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_SoapRMI copy()
          Create a new copy of this object.
 void executeInputOnlyOperation(WSIFMessage input)
          Execute an input-only operation.
 boolean executeRequestResponseOperation(WSIFMessage input, WSIFMessage output, WSIFMessage fault)
          Execute a request-response operation.
 javax.wsdl.Definition getDefinition()
           
 WSIFPort_SoapRMI getDynamicWSIFPort()
           
 java.lang.String getInputEncodingStyle()
           
 java.lang.String getInputNamespace()
           
 java.lang.String getName()
          Return name of operation.
 javax.wsdl.Operation getOperation()
           
 java.lang.String getOutputEncodingStyle()
           
 java.util.List getPartNames()
           
 java.lang.String getReturnName()
           
 java.lang.String getSoapActionURI()
           
 void invokeInputOnlyOperation(WSIFMessage input)
          Invoke only operation are not yet supported.
 boolean invokeRequestResponseOperation(WSIFMessage input, WSIFMessage output, WSIFMessage fault)
          Invoke RPC operation using ApacheSOAP
 void setDefintion(javax.wsdl.Definition value)
           
 void setDynamicWSIFPort(WSIFPort_SoapRMI value)
           
 void setInputEncodingStyle(java.lang.String value)
           
 void setInputNamespace(java.lang.String value)
           
 void setOperation(javax.wsdl.Operation value)
           
 void setOutputEncodingStyle(java.lang.String value)
           
 void setPartNames(java.util.List value)
           
 void setReturnName(java.lang.String value)
           
 void setSoapActionURI(java.lang.String value)
           
 
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
 

Constructor Detail

WSIFOperation_SoapRMI

public WSIFOperation_SoapRMI(WSIFPort_SoapRMI pi,
                             javax.wsdl.Operation op,
                             WSIFDynamicTypeMap typeMap)
                      throws WSIFException
Create Apache SOAP operation instance that encapsultes all necessary information required to create and execute Apache SOAP Call.
Method Detail

copy

public WSIFOperation_SoapRMI 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.

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
Overrides:
executeRequestResponseOperation in class WSIFDefaultOperation
Following copied from interface: org.apache.wsif.WSIFOperation
Parameters:
op - name of operation to execute
input - input message to send to the operation
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.)
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.

executeInputOnlyOperation

public void executeInputOnlyOperation(WSIFMessage input)
                               throws WSIFException
Description copied from interface: WSIFOperation
Execute an input-only operation.
Specified by:
executeInputOnlyOperation in interface WSIFOperation
Overrides:
executeInputOnlyOperation in class WSIFDefaultOperation
Following copied from interface: org.apache.wsif.WSIFOperation
Parameters:
input - input message to send to the operation
Throws:
WSIFException - if something goes wrong.

invokeRequestResponseOperation

public boolean invokeRequestResponseOperation(WSIFMessage input,
                                              WSIFMessage output,
                                              WSIFMessage fault)
                                       throws WSIFException
Invoke RPC operation using ApacheSOAP

invokeInputOnlyOperation

public void invokeInputOnlyOperation(WSIFMessage input)
                              throws WSIFException
Invoke only operation are not yet supported.

getName

public java.lang.String getName()
Return name of operation.

getSoapActionURI

public java.lang.String getSoapActionURI()

setSoapActionURI

public void setSoapActionURI(java.lang.String value)

getInputNamespace

public java.lang.String getInputNamespace()

setInputNamespace

public void setInputNamespace(java.lang.String value)

getInputEncodingStyle

public java.lang.String getInputEncodingStyle()

setInputEncodingStyle

public void setInputEncodingStyle(java.lang.String value)

getOutputEncodingStyle

public java.lang.String getOutputEncodingStyle()

setOutputEncodingStyle

public void setOutputEncodingStyle(java.lang.String value)

getPartNames

public java.util.List getPartNames()

setPartNames

public void setPartNames(java.util.List value)

getReturnName

public java.lang.String getReturnName()

setReturnName

public void setReturnName(java.lang.String value)

getOperation

public javax.wsdl.Operation getOperation()

setOperation

public void setOperation(javax.wsdl.Operation value)

getDefinition

public javax.wsdl.Definition getDefinition()

setDefintion

public void setDefintion(javax.wsdl.Definition value)

getDynamicWSIFPort

public WSIFPort_SoapRMI getDynamicWSIFPort()

setDynamicWSIFPort

public void setDynamicWSIFPort(WSIFPort_SoapRMI value)


Copyright © 2002, 2002 Apache XML Project. All Rights Reserved.