Class WSDLPropertyReader


  • public class WSDLPropertyReader
    extends Object
    This class presents a convenient way of reading the WSDL file(url) and producing a useful set of information It does NOT use any of the standard WSDL classes from Axis2, rather it uses wsdl4j to read the wsdl and extract the properties (This is meant as a convenience for the UI only. We may not need the whole conversion the WSDLpump goes through) One would need to change this to suit a proper WSDL
    • Constructor Detail

      • WSDLPropertyReader

        public WSDLPropertyReader()
    • Method Detail

      • readWSDL

        public void readWSDL​(String filepath)
                      throws javax.wsdl.WSDLException
        Throws:
        javax.wsdl.WSDLException
      • getDefinitionNamespaceMap

        public Map getDefinitionNamespaceMap()
        Returns the namespace map from definition
        Returns:
      • packageFromTargetNamespace

        public String packageFromTargetNamespace()
        get the default package derived by the targetNamespace
      • getServiceList

        public List getServiceList()
        Returns a list of service names the names are QNames
        Returns:
      • getPortNameList

        public List getPortNameList​(QName serviceName)
        Returns a list of ports for a particular service the names are QNames
        Returns:
      • getWsdlDefinition

        public javax.wsdl.Definition getWsdlDefinition()
        public method to get loaded wsdl Definition
        Returns: