NullPointerException while generating webservice from wsdl
----------------------------------------------------------

                 Key: XFIRE-906
                 URL: http://jira.codehaus.org/browse/XFIRE-906
             Project: XFire
          Issue Type: Bug
          Components: Documentation
    Affects Versions: 1.2.4
         Environment: Windows XP, MyEclipse 5.5 M1
            Reporter: Jürgen Bockhorn
         Assigned To: Dan Diephouse
         Attachments: XFireCrash.wsdl

XFire crashes if the operations in the binding section don't match the 
operations in the port section as shown in the attached wsdl-File. We run into 
that issue while doing some rework on a bigger wsdl-File with imported schemas 
and it took a big amount of time to figure out what was wrong.

If Xfire's wsgen would produce an error message instead of an 
NullPointerException everything would be find.

The callstack is:

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)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to