org.apache.axis2.tool.codegen.eclipse.util
Class WSDLPropertyReader

java.lang.Object
  extended by 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
WSDLPropertyReader()
           
 
Method Summary
 Map getDefinitionNamespaceMap()
          Returns the namespace map from definition
 List getPortNameList(QName serviceName)
          Returns a list of ports for a particular service the names are QNames
 List getServiceList()
          Returns a list of service names the names are QNames
 javax.wsdl.Definition getWsdlDefinition()
          public method to get loaded wsdl Definition
 String packageFromTargetNamespace()
          get the default package derived by the targetNamespace
 void readWSDL(String filepath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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:


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.