Class WSDLPropertyReader
- java.lang.Object
-
- org.apache.axis2.tool.codegen.eclipse.util.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 Summary
Constructors Constructor Description WSDLPropertyReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map
getDefinitionNamespaceMap()
Returns the namespace map from definitionList
getPortNameList(QName serviceName)
Returns a list of ports for a particular service the names are QNamesList
getServiceList()
Returns a list of service names the names are QNamesjavax.wsdl.Definition
getWsdlDefinition()
public method to get loaded wsdl DefinitionString
packageFromTargetNamespace()
get the default package derived by the targetNamespacevoid
readWSDL(String filepath)
-
-
-
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:
-
-