Package com.ibm.di.fc.webservice.util
Class WsdlData
- java.lang.Object
-
- com.ibm.di.fc.webservice.util.WsdlData
-
public class WsdlData extends java.lang.Object
Class that holds the WSDL data
-
-
Constructor Summary
Constructors Constructor Description WsdlData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getEncoding()
Extracts the encoding stylejava.lang.String
getLocationUrl()
Retrieves the URL.java.lang.String
getPortName()
Retrieves name of the port.javax.xml.namespace.QName
getServiceQName()
Retrieves qualified service namejava.lang.String
getSoapActionURI()
The method returns the action of the SOAP messagestatic java.util.Vector
getSoapOperations(java.lang.String aWsdlUrl)
The method accepts WSDL url address and returns aVector
holding information for the SOAP operationsjava.lang.String
getStyle()
Extracts the SOAP message stylejava.lang.String
getTargetNamespace()
Retrieves target namespace.static WsdlData
getWsdlData(java.lang.String aWsdlUrl, java.lang.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 notificationstatic WsdlData
getWsdlData(java.lang.String aWsdlUrl, java.lang.String aOperationName, CustomWSDLLocator loc)
boolean
isOperationOneWay()
The method returns true if the operation is one-wayvoid
setEncoding(java.lang.String aEncoding)
Sets the encoding stylevoid
setLocationUrl(java.lang.String aLocationUrl)
Sets the URLvoid
setPortName(java.lang.String aPortName)
Sets the name of the portvoid
setServiceQName(javax.xml.namespace.QName aServiceQName)
Sets the Qualified service namevoid
setSoapActionURI(java.lang.String aSoapActionURI)
Sets the action of the SOAP messagevoid
setStyle(java.lang.String aStyle)
Sets the SOAP message stylevoid
setTargetNamespace(java.lang.String aTargetNamespace)
Sets the namespace of the target
-
-
-
Method Detail
-
setTargetNamespace
public void setTargetNamespace(java.lang.String aTargetNamespace)
Sets the namespace of the target- Parameters:
aTargetNamespace
- String
-
getTargetNamespace
public java.lang.String getTargetNamespace()
Retrieves target namespace.- Returns:
- String, the namespace of the target
-
setServiceQName
public void setServiceQName(javax.xml.namespace.QName aServiceQName)
Sets the Qualified service name- Parameters:
aServiceQName
-QName
-
getServiceQName
public javax.xml.namespace.QName getServiceQName()
Retrieves qualified service name- Returns:
- Qualified service name
- See Also:
QName
-
setPortName
public void setPortName(java.lang.String aPortName)
Sets the name of the port- Parameters:
aPortName
- String
-
getPortName
public java.lang.String getPortName()
Retrieves name of the port.- Returns:
- String , the name of the port
-
setLocationUrl
public void setLocationUrl(java.lang.String aLocationUrl)
Sets the URL- Parameters:
aLocationUrl
- String
-
getLocationUrl
public java.lang.String getLocationUrl()
Retrieves the URL.- Returns:
- String, the URL
-
setSoapActionURI
public void setSoapActionURI(java.lang.String aSoapActionURI)
Sets the action of the SOAP message- Parameters:
aSoapActionURI
- String
-
getSoapActionURI
public java.lang.String getSoapActionURI()
The method returns the action of the SOAP message- Returns:
- String
-
setStyle
public void setStyle(java.lang.String aStyle)
Sets the SOAP message style- Parameters:
aStyle
- String
-
getStyle
public java.lang.String getStyle()
Extracts the SOAP message style- Returns:
- String
-
setEncoding
public void setEncoding(java.lang.String aEncoding)
Sets the encoding style- Parameters:
aEncoding
- String
-
getEncoding
public java.lang.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(java.lang.String aWsdlUrl, java.lang.String aOperationName) throws java.lang.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
- StringaOperationName
- String- Returns:
- WsdlData
- Throws:
java.lang.Exception
- , if problem occurs while retrieving the data
-
getWsdlData
public static WsdlData getWsdlData(java.lang.String aWsdlUrl, java.lang.String aOperationName, CustomWSDLLocator loc) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getSoapOperations
public static java.util.Vector getSoapOperations(java.lang.String aWsdlUrl) throws java.lang.Exception
The method accepts WSDL url address and returns aVector
holding information for the SOAP operations- Parameters:
aWsdlUrl
- url address- Returns:
- Vector
- Throws:
java.lang.Exception
- , if address is not valid or operation is unsuccessful
-
-