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

java.lang.Object
  extended byorg.apache.wsif.base.WSIFDefaultOperation
      extended byorg.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()
           
 WSIFPort getWSIFPort()
           
 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.

Throws:
WSIFException

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
Throws:
WSIFException
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
Throws:
WSIFException
See Also:
WSIFOperation.executeInputOnlyOperation(WSIFMessage)

invokeRequestResponseOperation

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

Throws:
WSIFException

invokeInputOnlyOperation

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

Throws:
WSIFException

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)

getWSIFPort

public WSIFPort getWSIFPort()
Specified by:
getWSIFPort in class WSIFDefaultOperation


Copyright ? 2002, 2006 Apache XML Project. All Rights Reserved.