[jboss-user] [JBoss Web Services] New message: "How can I force a particular WS implementation? How to ensure Metro over Native?"

Jan Uhlir do-not-reply at jboss.com
Thu Jan 7 14:11:38 EST 2010


User development,

A new message was posted in the thread "How can I force a particular WS implementation? How to ensure Metro over Native?":

http://community.jboss.org/message/518830#518830

Author  : Jan Uhlir
Profile : http://community.jboss.org/people/espinosa_cz

Message:
--------------------------------------------------------------
How particular web service implementation is selected? How can I force a particular WS implementation? How can I influence selection of let's say Metro over Native on JBoss?
 
I cannot find this important piece of information in JBossWS documentation it is quite weird!
 
What is the WS stack selection route? My naïve imagination how it can work:
* During the deployment scan all classes in JAR or WAR for @WebService annotations (and WebServiceProvider?). 
* If at least one is detected, package is treated as web service containing. It is time to select the stack. 
* Look for WEB-INF directory (META-INF in some cases), if exists, *look for implementation specific files*.
* If *none* found, use JBossWS Native implementation.
* If *sun-jaxws.xml* is found and service class is defined there use SUN Metro implementation (at least for this service class)
* If *jbossws-cxf.xml* is found and service class is defined there Apache CXF is used (at least for this service class).
 
How can I verify for sure which stack is used when I call my web service?
 
Can I mix web service implementations in one project WAR or JAR?  I am asking from curiosity rather then urgent need.
 
Can someone clarify this for me?
Thank you for any hint
Espinosa

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/518830#518830




More information about the jboss-user mailing list