com.ibm.di.fc.webservice.util
Class WsdlData

java.lang.Object
  extended by com.ibm.di.fc.webservice.util.WsdlData

public class WsdlData
extends Object

Class that holds the WSDL data


Constructor Summary
WsdlData()
           
 
Method Summary
 String getEncoding()
          Extracts the encoding style
 String getLocationUrl()
          Retrieves the URL.
 String getPortName()
          Retrieves name of the port.
 QName getServiceQName()
          Retrieves qualified service name
 String getSoapActionURI()
          The method returns the action of the SOAP message
static Vector getSoapOperations(String aWsdlUrl)
          The method accepts WSDL url address and returns a Vector holding information for the SOAP operations
 String getStyle()
          Extracts the SOAP message style
 String getTargetNamespace()
          Retrieves target namespace.
static WsdlData getWsdlData(String aWsdlUrl, String aOperationName)
          This method provides an object containing the WSDL data , when the passed arguments are the url address and the name of the operation , which can be one of request-response, solicit response, one way or notification
 boolean isOperationOneWay()
          The method returns true if the operation is one-way
 void setEncoding(String aEncoding)
          Sets the encoding style
 void setLocationUrl(String aLocationUrl)
          Sets the URL
 void setPortName(String aPortName)
          Sets the name of the port
 void setServiceQName(QName aServiceQName)
          Sets the Qualified service name
 void setSoapActionURI(String aSoapActionURI)
          Sets the action of the SOAP message
 void setStyle(String aStyle)
          Sets the SOAP message style
 void setTargetNamespace(String aTargetNamespace)
          Sets the namespace of the target
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsdlData

public WsdlData()
Method Detail

setTargetNamespace

public void setTargetNamespace(String aTargetNamespace)
Sets the namespace of the target

Parameters:
aTargetNamespace - String

getTargetNamespace

public String getTargetNamespace()
Retrieves target namespace.

Returns:
String, the namespace of the target

setServiceQName

public void setServiceQName(QName aServiceQName)
Sets the Qualified service name

Parameters:
aServiceQName - QName

getServiceQName

public QName getServiceQName()
Retrieves qualified service name

Returns:
Qualified service name
See Also:
QName

setPortName

public void setPortName(String aPortName)
Sets the name of the port

Parameters:
aPortName - String

getPortName

public String getPortName()
Retrieves name of the port.

Returns:
String , the name of the port

setLocationUrl

public void setLocationUrl(String aLocationUrl)
Sets the URL

Parameters:
aLocationUrl - String

getLocationUrl

public String getLocationUrl()
Retrieves the URL.

Returns:
String, the URL

setSoapActionURI

public void setSoapActionURI(String aSoapActionURI)
Sets the action of the SOAP message

Parameters:
aSoapActionURI - String

getSoapActionURI

public String getSoapActionURI()
The method returns the action of the SOAP message

Returns:
String

setStyle

public void setStyle(String aStyle)
Sets the SOAP message style

Parameters:
aStyle - String

getStyle

public String getStyle()
Extracts the SOAP message style

Returns:
String

setEncoding

public void setEncoding(String aEncoding)
Sets the encoding style

Parameters:
aEncoding - String

getEncoding

public String getEncoding()
Extracts the encoding style

Returns:
String

isOperationOneWay

public boolean isOperationOneWay()
The method returns true if the operation is one-way

Returns:
boolean

getWsdlData

public static WsdlData getWsdlData(String aWsdlUrl,
                                   String aOperationName)
                            throws Exception
This method provides an object containing the WSDL data , when the passed arguments are the url address and the name of the operation , which can be one of request-response, solicit response, one way or notification

Parameters:
aWsdlUrl - String
aOperationName - String
Returns:
WsdlData
Throws:
Exception - , if problem occurs while retrieving the data

getSoapOperations

public static Vector getSoapOperations(String aWsdlUrl)
                                throws Exception
The method accepts WSDL url address and returns a Vector holding information for the SOAP operations

Parameters:
aWsdlUrl - url address
Returns:
Vector
Throws:
Exception - , if address is not valid or operation is unsuccessful