XFire
  1. XFire
  2. XFIRE-314

MessagePartContainer: Invalid name [null]

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0
    • Fix Version/s: None
    • Component/s: XMLBeans
    • Labels:
      None
    • Number of attachments :
      1

      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

      1. B2B.wsdl
        239 kB
        Vojtech Knezu

        Activity

        Hide
        Vojtech Knezu added a comment -

        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

        Show
        Vojtech Knezu added a comment - 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
        Hide
        Dan Diephouse added a comment -

        Hi Vojtech, I think I fixed this in SVN, I just totally forgot to get back to you on it. As soon as I get a certain MTOM issue resolved I'll be publishing a new beta with it in it though.

        Show
        Dan Diephouse added a comment - Hi Vojtech, I think I fixed this in SVN, I just totally forgot to get back to you on it. As soon as I get a certain MTOM issue resolved I'll be publishing a new beta with it in it though.

          People

          • Assignee:
            Dan Diephouse
            Reporter:
            Vojtech Knezu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: