You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Dandeneau, David J. (LNG-DAY)" <da...@lexisnexis.com> on 2002/11/15 17:55:30 UTC

Generating java names from the Symbol Table

I am trying to dynamically access some of my wsdl2java generated classes by
walking through the symbol table as generated by
org.apache.axis.wsdl.gen.Parser. I am specifically trying to calculate the
location of the port classes. The problem that I am running into is that the
Documentation elements for most all entries in the symbol table are null. I
would like to obtain the namespace for an element to determine the package
for an element. Am I parsing the file wrong? Is there another way to do
this? 

Right now I do: 
parser.run(<url of wsdl>);
parser.getSymbolTable().getDefinition();
 
>From there I get the service and port definitions.

Thanks,
Dave