Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-16783

[wsconsume.sh] Inconsistency in supported JAX-WS spec versions stated by the script

    XMLWordPrintable

Details

    • ---
    • ---

    Description

      Our inner QE test suite has a couple of simple tests that verify the output of wscomsume.sh while generating classes/sources files. The only difference in them is the passed --target/-t  JAX-WS spec version. 

      If version 2.1 is passed, the script states the following warning:

      JBWS024002: Failed to invoke org.apache.cxf.tools.wsdlto.WSDLToJava
      com.sun.tools.xjc.BadCommandLineException: "2.1" is not a valid target version. "3.0" is supported. 

      But when the target version 3.0 is passed to the script, the following INFO statement can be observed:

      INFO  [ScriptUtil] (main) Shell command: [bash, -c, ./wsconsume.sh -k -t 3.0 -p org.jboss.test.script -o /tmp/ test-classes/wsdl/Echo1Service.wsdl]
      ...
      INFO  [ScriptTest] (main) JBWS024003: Unsupported value '3.0' for target, using default value '2.2'
      

      The script help message itself states:

      --target=<2.1|2.2>
      

      What is the default version then?

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-ema Jim Ma
              szhantem@redhat.com Sultan Zhantemirov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: