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.ObjectClass 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.StringgetEncoding()Extracts the encoding stylejava.lang.StringgetLocationUrl()Retrieves the URL.java.lang.StringgetPortName()Retrieves name of the port.javax.xml.namespace.QNamegetServiceQName()Retrieves qualified service namejava.lang.StringgetSoapActionURI()The method returns the action of the SOAP messagestatic java.util.VectorgetSoapOperations(java.lang.String aWsdlUrl)The method accepts WSDL url address and returns aVectorholding information for the SOAP operationsjava.lang.StringgetStyle()Extracts the SOAP message stylejava.lang.StringgetTargetNamespace()Retrieves target namespace.static WsdlDatagetWsdlData(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 WsdlDatagetWsdlData(java.lang.String aWsdlUrl, java.lang.String aOperationName, CustomWSDLLocator loc)booleanisOperationOneWay()The method returns true if the operation is one-wayvoidsetEncoding(java.lang.String aEncoding)Sets the encoding stylevoidsetLocationUrl(java.lang.String aLocationUrl)Sets the URLvoidsetPortName(java.lang.String aPortName)Sets the name of the portvoidsetServiceQName(javax.xml.namespace.QName aServiceQName)Sets the Qualified service namevoidsetSoapActionURI(java.lang.String aSoapActionURI)Sets the action of the SOAP messagevoidsetStyle(java.lang.String aStyle)Sets the SOAP message stylevoidsetTargetNamespace(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.ExceptionThe method accepts WSDL url address and returns aVectorholding information for the SOAP operations- Parameters:
aWsdlUrl- url address- Returns:
- Vector
- Throws:
java.lang.Exception- , if address is not valid or operation is unsuccessful
-
-