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

java.lang.Object
  extended by org.apache.wsif.base.WSIFDefaultPort
      extended by org.apache.wsif.providers.soap.soaprmi.WSIFPort_SoapRMI
All Implemented Interfaces:
java.io.Serializable, WSIFPort

public class WSIFPort_SoapRMI
extends WSIFDefaultPort

This is SoapRMI dynamic WSIF port that is driven by WSDL.

Author:
Alekander Slominski
See Also:
Serialized Form

Constructor Summary
WSIFPort_SoapRMI(javax.wsdl.Definition def, javax.wsdl.Service service, javax.wsdl.Port port, WSIFDynamicTypeMap typeMap)
          Create dynamic port instance from WDL model defintion and port.
 
Method Summary
 WSIFOperation createOperation(java.lang.String operationName)
          Create a new WSIFOperation.
 WSIFOperation createOperation(java.lang.String operationName, java.lang.String inputName, java.lang.String outputName)
          Create a new WSIFOperation.
 javax.wsdl.Definition getDefinition()
           
 WSIFOperation_SoapRMI getDynamicWSIFOperation(java.lang.String name, java.lang.String inputName, java.lang.String outputName)
           
 java.lang.String getLocation()
           
 javax.wsdl.Port getPort()
           
 void setDefinition(javax.wsdl.Definition value)
           
 void setDynamicWSIFOperation(java.lang.String name, java.lang.String inputName, java.lang.String outputName, WSIFOperation_SoapRMI value)
           
 void setLocation(java.lang.String location)
           
 void setPort(javax.wsdl.Port value)
           
 
Methods inherited from class org.apache.wsif.base.WSIFDefaultPort
close, finalize, getContext, setContext, supportsAsync, supportsSync
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSIFPort_SoapRMI

public WSIFPort_SoapRMI(javax.wsdl.Definition def,
                        javax.wsdl.Service service,
                        javax.wsdl.Port port,
                        WSIFDynamicTypeMap typeMap)
                 throws WSIFException
Create dynamic port instance from WDL model defintion and port.

NOTE: this constructor is doing full initialization therefore after dynamic port is created overhead of executing operation should be as small as possible for dynamic case...

Throws:
WSIFException
Method Detail

getLocation

public java.lang.String getLocation()

setLocation

public void setLocation(java.lang.String location)

getDefinition

public javax.wsdl.Definition getDefinition()

setDefinition

public void setDefinition(javax.wsdl.Definition value)

getPort

public javax.wsdl.Port getPort()

setPort

public void setPort(javax.wsdl.Port value)

setDynamicWSIFOperation

public void setDynamicWSIFOperation(java.lang.String name,
                                    java.lang.String inputName,
                                    java.lang.String outputName,
                                    WSIFOperation_SoapRMI value)

createOperation

public WSIFOperation createOperation(java.lang.String operationName)
                              throws WSIFException
Description copied from interface: WSIFPort
Create a new WSIFOperation. There must be exactly one operation in this port's portType with this name. For overloaded operations see WSIFPort.createOperation(String,String,String).

Parameters:
operationName - the name of an operation in this port's portType
Returns:
the new WSIFOperation
Throws:
WSIFException - if something goes wrong

createOperation

public WSIFOperation createOperation(java.lang.String operationName,
                                     java.lang.String inputName,
                                     java.lang.String outputName)
                              throws WSIFException
Description copied from interface: WSIFPort
Create a new WSIFOperation. There must be an operation in this port's portType with this operation name, input message name and output message name. The input message name distinguishes overloaded operations.

Parameters:
operationName - the name of an operation in this port's portType
inputName - the input message name
outputName - the output message name
Returns:
the new WSIFOperation
Throws:
WSIFException - if something goes wrong

getDynamicWSIFOperation

public WSIFOperation_SoapRMI getDynamicWSIFOperation(java.lang.String name,
                                                     java.lang.String inputName,
                                                     java.lang.String outputName)
                                              throws WSIFException
Throws:
WSIFException


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