Re: Parsing WSDL with DOM after read from URL

Aleksander Slominski <[email protected]> Mon, 23 Jan 2006 16:59:44 -0500
Newsgroups gmane.comp.apache.webservices.wsif.user
Message-ID <[email protected]>
[email protected] wrote:

>Hello all,
>
>I'm able to read a WSDL from an URL with WSIF, but I would like to parse it
>with java DOM API to get the Types section (node) and transform it on a string.
>Transforming a node to a string using java DOM it's possible, but the problem
>is
>because I can't read the WSDL content directly from the URL using DOM. Is there
>a way to transform a WSDL (read from the WSIF API) to an XML Document?
>  
>
hi Fabricio,

WSDL is represented using WSDL4J API so you should be able to use 
WSDLWriter and get Definition into DOM Document 
(WSDLWriter.getDocument()) or other output.

best,

alek

-- 
The best way to predict the future is to invent it - Alan Kay