Hi,
I’m trying to generate a webservice from a given WSDL facing the following issue.
!ENTRY com.genuitec.eclipse.ws.xfire 4 0 2007-03-06 14:26:16.015
!MESSAGE Error generating services
!STACK 0
java.lang.NullPointerException
at org.codehaus.xfire.wsdl11.parser.SoapBindingAnnotator.visit(SoapBindingAnnotator.java:174)
at org.codehaus.xfire.wsdl11.parser.WSDLServiceConfigurator.visit(WSDLServiceConfigurator.java:240)
at org.codehaus.xfire.wsdl11.parser.WSDLServiceConfigurator.configure(WSDLServiceConfigurator.java:198)
at org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.build(WSDLServiceBuilder.java:218)
at org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.java:130)
at com.genuitec.eclipse.ws.xfire.generator.WSGenJob.run(WSGenJob.java:209)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
The myeclipse-version is 5.5M1.
We are useing literal/document binding style and XSD-Includes.
The wsdl/xsd are quite long, so I only will post them on request. Here are the first lines
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:pwns="http://panel.autobrennero.it/iface/"
xmlns:cns="http://common.autobrennero.it/data/"
xmlns:pns="http://panel.autobrennero.it/data/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Panel"
targetNamespace="http://panel.autobrennero.it/iface/">
<wsdl:types>
<xsd:schema
targetNamespace="http://panel.autobrennero.it/iface/">
<xsd:import namespace="http://common.autobrennero.it/data/" schemaLocation="Common.xsd" />
<xsd:import namespace="http://panel.autobrennero.it/data/" schemaLocation="Panel.xsd" />
</xsd:schema>
</wsdl:types>
Thx for help
JayBee