Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0
-
None
-
Unknown
Description
When I try to apply the attached bindings file it gives this exception:
Caused by: java.lang.NullPointerException
at org.apache.cxf.tools.wsdlto.frontend.jaxws.customization.CustomizationParser.copyAllJaxbDeclarations(CustomizationParser.java:269)
at org.apache.cxf.tools.wsdlto.frontend.jaxws.customization.CustomizationParser.internalizeBinding(CustomizationParser.java:379)
at org.apache.cxf.tools.wsdlto.frontend.jaxws.customization.CustomizationParser.internalizeBinding(CustomizationParser.java:390)
at org.apache.cxf.tools.wsdlto.frontend.jaxws.customization.CustomizationParser.parse(CustomizationParser.java:126)
at org.apache.cxf.tools.wsdlto.frontend.jaxws.wsdl11.JAXWSDefinitionBuilder.customize(JAXWSDefinitionBuilder.java:113)
at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.processWsdl(WSDLToJavaContainer.java:199)
at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:164)
at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:412)
If I add a single space right before </jaxws:bindings> it works.
For the problem to happen the targetNamespace "X" has to be found in the wsdl. In my wsdl I also have all schemas embedded.