[
https://issues.jboss.org/browse/JBIDE-9831?page=com.atlassian.jira.plugin...
]
Alessio Soldano commented on JBIDE-9831:
----------------------------------------
Please note I don't have any real experience with JBoss Developer Studio, however if
everything you do in it is calling the wsconsume script, that's fine. Depending on the
jbossws-stack that's installed on the selected server, the scripts either uses JBossWS
Native libraries or the JBossWS-CXF libraries + Apache CXF libraries. In particular, the
wsdl-to-java tooling is implemented by internally delegating to Apache CXF core when the
JBossWS-CXF stack is installed. So the comments in the generated classes are expected to
be those produced by Apache CXF. You can see the actual -patchXY version being used. So
the following is not an issue:
<<< "wsdl2java - Apache CXF 2.2.12-patch-02" so it seems that Apache
CXF is used instead of JBossWS-CXF >>>
This said, the linked jira SOA-3319 is the reason for
"java.lang.NoClassDefFoundError: org/springframework/asm/ClassVisitor" mentioned
above, as due to SOA-P requirements of having Spring 3.x installed, the jbossws-cxf
installer has been patched, but the initial patch did not include changes in the tooling
scripts and those changes come with the SOA-3319 fix.
Unable to select JBossWS CXF as the WS Runtime
----------------------------------------------
Key: JBIDE-9831
URL:
https://issues.jboss.org/browse/JBIDE-9831
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Webservices
Affects Versions: 3.2.1.Final
Environment: JBoss Developer Studio 4.1
JBoss Enterprise Platform (EAP) 5.1 with JBossWS CXF installed
Reporter: Mustafa Musaji
Assignee: Brian Fitzpatrick
Fix For: 3.2.2.M2, 3.3.0.M4
Attachments: noClassException.txt, PhoneBook.wsdl
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira