Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > get at the elements in the <types> section of a wsdl

Reply
Thread Tools

get at the elements in the <types> section of a wsdl

 
 
Mike Gaab
Guest
Posts: n/a
 
      01-29-2006
Hi,

I am using org.apache.axis.wsdl.symbolTable.gen.Parser.
For some reason I am unable to get at the elements
in the <types> section of the wsdl.

Here is a basic set of calls I am using.
Parser p = new Parser();
p.run("afile.wsdl");
SymbolTable s = p.getSymbolTable();
QName qn = new QName("{a uri}nameOftheElement");
Element e = s.getElement(qn);
Node n = e.getNode();

n is null and nameOftheElement is a complex type
with children.

What am I missing?

Mike



----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
section with in a section config file and reading that config file kampy Python 9 10-19-2012 10:59 PM
webservices, wsdl & xsd (schema-2-wsdl) Dark Java 1 11-14-2008 07:58 PM
WSDL file produces useless class when imported with WSDL.exe RH ASP .Net Web Services 1 05-27-2004 09:40 PM
is the w3c's schema for wsdl and wsdl/soap binding possibly buggy ? _clb_ Chris Bedford XML 0 08-20-2003 11:52 PM
WSDL.EXE: WSDL Import Directive Stephen Edgecombe ASP .Net Web Services 0 08-13-2003 06:38 AM



Advertisments