I want to parse an WSDL that is located in an URI. I�ve done it with an WSDL that is in the system directory like: document = builder.parse( new File("test.wsdl") ); but when I try with the URI like: document = builder.parse( new File("http://localhost:8080/library-jaxrpc/library") ); it return me an error indicating that the file was not found because it searchs it in the actual directopry plusss the http.... How can I do it to it to search for it in the uri http...?? (I would like, if posible, still using the same apy) thanks in advance Gobellot
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
5
posted
0
You need to use java.net.URL instead of java.io.File if your WSDL document is not a local file. I.e. something like: