Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8033113

wsimport fails on WSDL:header parameter name customization

XMLWordPrintable

    • b01

        Using wsimport to compile a WSDL with multiple <message> stanzas that have
        <part> elements with non-unique "name" attributes, the operation fails with
        the message:

        '[ERROR] Failed to generate Java signature: duplicate parameter name "param".

        Try one of these
               1. Use JAXWS binding customization to rename the wsdl:part "param"
               2. Run wsimport with -extension switch.'

        Using a customization file as per item 1. and/or using the -extension switch
        as per item 2. does not address the issue, and the same error is encountered.


              mkos Miroslav Kos (Inactive)
              asaha Abhijit Saha
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: