Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-2587

wsdl2java error when there are several nested wsdl:import

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.5
    • 2.1.9, 2.2.6
    • Tooling
    • None

    Description

      I have used CXF 2.2.5 to generate java class from a complex wsdl generated from .NET environment and composed by the following files:

      ContactCenter.Services.IVR.Accettazione.svc.WSDL
      ContactCenter.Services.IVR.Accettazione.svc.wsdl.wsdl0
      ContactCenter.Services.IVR.Accettazione.svc.wsdl.wsdl1
      ContactCenter.Services.IVR.Accettazione.svc.xsd.xsd0
      ContactCenter.Services.IVR.Accettazione.svc.xsd.xsd1
      ContactCenter.Services.IVR.Accettazione.svc.xsd.xsd2
      ContactCenter.Services.IVR.Accettazione.svc.xsd.xsd3
      ContactCenter.Services.IVR.Accettazione.svc.xsd.xsd4

      I have used maven to perform the wsdl2java generation but i have got the following error:

      ------------------------------------------------------------------------
      [ERROR]BUILD ERROR
      ------------------------------------------------------------------------
      java.lang.RuntimeException: Problem with WSDL: soap:header element is referring to an undefined wsdl:message element.

      Attachments

        1. pom.xml
          2 kB
          bartolomeo sorrentino
        2. WSDL.zip
          8 kB
          bartolomeo sorrentino

        Activity

          People

            dkulp Daniel Kulp
            bsorrentino bartolomeo sorrentino
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: