Hello,
Apologize if this is a dumb question - i did a bit of searching and found no
matches, which makes me think it is :)

I tried downloading a wsdl to my disk, and pointing wsdl2java to this wsdl.
it then wanted me to download all the other xsds specified within the wsdl
and other xsds recursively.
e.g. my wsdl pointed to my xsd which pointed to a wsse secext.xsd, so i
downloaded that to disk. this one then had the following namespace
definition: xmlns:wsp="http://schemas.xmlsoap.org/ws/2002/12/policy";

and i get the following error:
Caused by : WSDLException (at /definitions/types/xsd:schema/xsd:schema):
faultCode=PARSER_ERROR: 
Problem parsing 'http://schemas.xmlsoap.org/ws/2002/12/policy'.:
java.net.UnknownHostException: schemas.xmlsoap.org

tried downloading and saving this as policy.xsd, but it still fails.
my question is: is there some way to specify that beyond the xsds i have
downloaded, it should look for everything else on the specified
host/location?
and if it's already doing that, do i need to specify some kind of proxy
setting so i don't get the UnknownHostException?

Thanks,
Nilesh
-- 
View this message in context: 
http://cxf.547215.n5.nabble.com/using-wsdl2java-on-a-wsdl-located-on-disk-tp2740382p2740382.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to