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

WSDL2Java tool error: failed to generate codes with twoHeadersSameNameDifferentNamespace

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 2.0.5
    • Tooling
    • None
    • windows.

    Description

      I am running WSDL2Java tool to generate codes, and then got the message as follow:

      WSDLToJava Error : Failed to create java parameter for part [stringHeader2] in method [twoHeadersSameNameDiffNS] - this wsdl is invalid, please use the wsdlvalidator tool to validate this wsdl

      I also run wsdlvalidator, it says valid WSDL, and I can get generated codes from JAXWS-RI.

      Attachments

        1. headerDatatype.wsdl
          30 kB
          Jeff Yu

        Issue Links

          Activity

            People

              dkulp Daniel Kulp
              jeff.yu Jeff Yu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: