Hi,

I'm working on creating a java based client on a web service originally
created with the .net framework over https.  So, yeah, it's been a bit of a
pain. :)

I've been able to export the proper certificates to my keystore using
keytool and I'm now trying to run wsdl2java on the wsdl url and create the
java client classes.

I'm getting a WSDLRuntimeExcection: Fail to create wsdl definition from :
file:/<wsdl, wsdl, wsdl>
Buildfile: build.xml

cxfWSDL2Java:
     [java] Loading FrontEnd jaxws ...
     [java] Loading DataBinding jaxb ...
     [java] wsdl2java -ant -client -verbose -sn CustomerService -d
instant-support-client -wsdlList https://urltowsdlservice?wsdl
     [java] wsdl2java - Apache CXF 2.2.2
     [java] 
     [java] 
     [java] WSDLToJava Error: org.apache.cxf.wsdl11.WSDLRuntimeException:
Fail to create wsdl definition from : file:/<?xml version="1.0"
encoding="utf-8"?><wsdl:definitions name="CustomerService"
targetNamespace="http://tempuri.org/"; xmlns
 [java] Caused by : null 
 [java] 

It appears that I'm accessing the wsdl correctly but then throwing the
runtime exception due to a null pointer.

If I download the wsdl file and run it through xmllint I don't get any
parsing errors.

The interesting thing about the url based wsdl is that it has other
references embedded in it for schema definitions - like a wsdl pointing to a
wsdl pointing to a wsdl, etc.

Any help would be appreciated.

conorb


-- 
View this message in context: 
http://www.nabble.com/wsdl2java-runtime-exception-tp24469693p24469693.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to