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

Unable to select JBossWS CXF as the WS Runtime

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 3.2.2.Final, 3.3.0.M5
    • 3.2.1.Final
    • webservices
    • None

      When you want to create a CXF Client there is no way to select JBossWS CXF as the WS Runtime.

      I have a CXF Web Service deployed to JBoss. The wsdl is published to a URL.

      I go to File->New->Web Services->Web Service Client.

      At this dialogue box I get to choose my configuration to create the client stubs. When selecting Web Service Runtime, I cannot select JBossWS CXF that is within JBoss. It only gives me options for Apache Axis, Apache CXF and JbossWS.

      So I then think I need to add a CXF runtime from Window->Preferences->Web Services->CXF.2x Preferences. Once again, this doesn't let me choose a JBossWS CXF runtime other than an Apache CXF runtime. How can I select JBossWS CXF as the CXF runtime of choice?

      Selecting JBossWS and a JBoss Server With CXF installed does not work either. I choose the CXF JBoss Server Runtime and JBossWS as the Web Service Runtime. The generated classes have the following header.

      /**

      • This class was generated by the JAX-WS RI.
      • JAX-WS RI 2.1.7-09/10/2010 09:17 PM(mockbuild)-
      • Generated source version: 2.1
        *
        */

      Using wsconsume.sh from the same JBoss instance the generated classes have the following header

      /**

      • This class was generated by Apache CXF 2.2.6-patch-01
      • Tue Oct 04 14:16:01 BST 2011
      • Generated source version: 2.2.6-patch-01
        *
        */

      As you can see the JBDS still uses JBossWS Native as the stack to build the client stubs from.

        1. PhoneBook.wsdl
          3 kB
        2. noClassException.txt
          3 kB
        3. JBIDE-9831-Screenshot-3.png
          JBIDE-9831-Screenshot-3.png
          198 kB
        4. JBIDE-9831-Screenshot-2.png
          JBIDE-9831-Screenshot-2.png
          151 kB
        5. JBIDE-9831-Screenshot-1.png
          JBIDE-9831-Screenshot-1.png
          177 kB

              bfitzpat_rh Brian Fitzpatrick (Inactive)
              rhn-support-mus Mustafa Musaji
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: