Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.0
-
Fix Version/s: None
-
Component/s: XMLBeans
-
Labels:None
-
Number of attachments :
Description
I meet troubles when generating XFire client with xmlbeans binding. I take the attached WSDL (generated by BEA WebLogic) and try to generate a client via WsGenTask. I get the following exception
Caused by: java.lang.IllegalArgumentException: Invalid name [null]
at org.codehaus.xfire.service.MessagePartContainer.addMessagePart(Messag
ePartContainer.java:55)
at org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.createMessagePart
(WSDLServiceBuilder.java:351)
at org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.createMessagePart
s(WSDLServiceBuilder.java:343)
at org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.visit(WSDLService
Builder.java:316)
at org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.visit(WSDLService
Builder.java:277)
at org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.walkTree(WSDLServ
iceBuilder.java:160)
at org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.java:
53)
at org.codehaus.xfire.gen.WsGenTask.execute(WsGenTask.java:37)
The corresponding XML bean is on the classpath. A mapping between namespaces and Java packages (xsdconfig) was used.
It might be caused by fact, that element "submitInvoice" contains elements from an imported schema. But, hard to say.
Thanks for your help,
Vojtech
Dan, hello, I know you are pretty busy, but if you have a chance to have a look on this issue, it will be great. Thanks, Woitech