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

java.lang.Object
  extended byorg.apache.axis2.tool.codegen.eclipse.util.WSDLPropertyReader

public class WSDLPropertyReader
extends java.lang.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
 java.util.Map getDefinitionNamespaceMap()
          Returns the namespace map from definition
 java.util.List getPortNameList(javax.xml.namespace.QName serviceName)
          Returns a list of ports for a particular service the names are QNames
 java.util.List getServiceList()
          Returns a list of service names the names are QNames
 javax.wsdl.Definition getWsdlDefinition()
          public method to get loaded wsdl Definition
 java.lang.String packageFromTargetNamespace()
          get the default package derived by the targetNamespace
 void readWSDL(java.lang.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(java.lang.String filepath)
              throws javax.wsdl.WSDLException
Throws:
javax.wsdl.WSDLException

getDefinitionNamespaceMap

public java.util.Map getDefinitionNamespaceMap()
Returns the namespace map from definition

Returns:

packageFromTargetNamespace

public java.lang.String packageFromTargetNamespace()
get the default package derived by the targetNamespace


getServiceList

public java.util.List getServiceList()
Returns a list of service names the names are QNames

Returns:

getPortNameList

public java.util.List getPortNameList(javax.xml.namespace.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-2007 Apache Software Foundation. All Rights Reserved.