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

top-down ws does not honour user selected JAX-WS spec version

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 3.2.1.M1
    • 3.2.0.CR1
    • webservices
    • None

      -register JBossAS 6 in the IDE
      -create new dynamic web module (version 3.0)
      -open new web service wizard
      -set the type to top down, use some arbitrary WSDL, press next
      -see that JAX-WS spec version is set to 2.0
      -finish the wizard
      -open generated *Service.java file

      => generated file contains among others following constructor:

      public EchoWSService(WebServiceFeature ... features)

      { super(WSDL_LOCATION, SERVICE, features); }

      problem is that the WebServiceFeature class has been introduced in JAX-WS 2.1 hence the mismatch of the "user" selected JAX-WS version in the wizard - 2.0 - and the version of sources generated by wsconsume - they're actually of version 2.2

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

              Created:
              Updated:
              Resolved: