Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-7281

Wizards should not allow user to select unsupported JAX-WS spec version

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • 3.3.x
    • 3.2.0.Beta1
    • webservices
    • None

      -create a dynamic web project with target runtime set to JBossAS6-M5
      -create a ws client there with JAX-WS spec set to 2.1 and finish the wizard

      => generated code is of JAX-WS version 2.2

      default ws stack in JBossAS6-M5 does not seem to allow user to set JAX-WS spec version. Even though the wsconsume's output says it is generating JAX-WS 2.1 code, it in fact generates code of version 2.2

      jlukas@lukas-laptop:~/latest/jboss-6.0.0.20100911-M5/bin$ ./wsconsume.sh --target=2.2 -o /tmp/fff -k http://footballpool.dataaccess.eu/data/info.wso?WSDL
      Could not find log4j.xml configuration, logging to console.

      WSConsume (CXF) does not allow to setup the JAX-WS specification target, using JAX-WS 2.1.
      log4j:WARN No appenders could be found for logger (org.apache.cxf.common.logging.LogUtils).
      log4j:WARN Please initialize the log4j system properly.
      Loading FrontEnd jaxws ...
      Loading DataBinding jaxb ...
      wsdl2java -compile -exsh false -d /tmp/fff -verbose -classdir /tmp/fff -allowElementReferences http://footballpool.dataaccess.eu/data/info.wso?WSDL
      wsdl2java - Apache CXF 2.2.10

            Unassigned Unassigned
            lukas.jungmann@gmail.com Lukas Jungmann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: