Class 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 style
      java.lang.String getLocationUrl()
      Retrieves the URL.
      java.lang.String getPortName()
      Retrieves name of the port.
      javax.xml.namespace.QName getServiceQName()
      Retrieves qualified service name
      java.lang.String getSoapActionURI()
      The method returns the action of the SOAP message
      static java.util.Vector getSoapOperations​(java.lang.String aWsdlUrl)
      The method accepts WSDL url address and returns a Vector holding information for the SOAP operations
      java.lang.String getStyle()
      Extracts the SOAP message style
      java.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 notification
      static WsdlData getWsdlData​(java.lang.String aWsdlUrl, java.lang.String aOperationName, CustomWSDLLocator loc)  
      boolean isOperationOneWay()
      The method returns true if the operation is one-way
      void setEncoding​(java.lang.String aEncoding)
      Sets the encoding style
      void setLocationUrl​(java.lang.String aLocationUrl)
      Sets the URL
      void setPortName​(java.lang.String aPortName)
      Sets the name of the port
      void setServiceQName​(javax.xml.namespace.QName aServiceQName)
      Sets the Qualified service name
      void setSoapActionURI​(java.lang.String aSoapActionURI)
      Sets the action of the SOAP message
      void setStyle​(java.lang.String aStyle)
      Sets the SOAP message style
      void setTargetNamespace​(java.lang.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​(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 - String
        aOperationName - 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 a Vector 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