[ http://jira.codehaus.org/browse/XFIRE-758?page=comments#action_80230 ] Neeme Praks commented on XFIRE-758: -----------------------------------
we managed to drill it down to some issue within <portType name="Notification"> ... </portType> If we removed that, this error disappeared. As we do not need that port type right now, this work-around is good enough for us. However, we would appreciate if the error message would be better - NPE doesn't say much. Also, the version of WSDL that is available on the net will be fixed (problematic port type removed) - you will need to use the attached versions in order to reproduce this issue. > NPE when generating stubs from WSDL > ----------------------------------- > > Key: XFIRE-758 > URL: http://jira.codehaus.org/browse/XFIRE-758 > Project: XFire > Issue Type: Bug > Components: Generator > Affects Versions: 1.2.2 > Environment: Apache Ant version 1.7alpha compiled on April 5 2005 > Detected Java version: 1.5 in: C:\Java\jdk1.5.0_03\jre > Detected OS: Windows XP > Reporter: Neeme Praks > Assigned To: Dan Diephouse > Attachments: ant-output.txt, build.xml, cai3g1.0_2004_01_22.xsd, > reachuCai3g_2006-11.wsdl, reachuCai3g_2006-11.xsd > > > I'm trying to generate server stubs for the following web service: > http://ws.reach-u.com/avl/cai3g/2006-11/ > During the generation, I get NPE: > java.lang.NullPointerException > at > org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.createMessageParts(WSDLServiceBuilder.java:451) > at > org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.visit(WSDLServiceBuilder.java:652) > at > org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.visit(WSDLServiceBuilder.java:394) > at > org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.build(WSDLServiceBuilder.java:187) > at > org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.java:102) > at org.codehaus.xfire.gen.WsGenTask.execute(WsGenTask.java:44) > [...skip...] > Attached: > * build.xml > * ant-output.txt > Also tried by invoking generator directly but the result was the same. -- 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
