[jboss-user] [JBoss Web Services] - JBossWS - AS 7 FAQ

Alessio Soldano do-not-reply at jboss.com
Wed Apr 13 12:55:03 EDT 2011


Alessio Soldano [http://community.jboss.org/people/asoldano] modified the document:

"JBossWS - AS 7 FAQ"

To view the document, visit: http://community.jboss.org/docs/DOC-16722

--------------------------------------------------------------
h1. JBossWS - AS 7 FAQ
This page is about the JBossWS integration with JBoss Application Server 7, which comes with a completely new architecture based on modules.

h4. Which modules belong to JBossWS? Am I supposed to modify them?
The org.jboss.as.webservices.* and org.jboss.ws.* modules belongs to the JBossWS - AS7 integration. Users should not need to change anything in them.
h4. I'm getting a ClassNotFoundException with an application that used to work on AS6, what's happening?
On JBoss AS7 the user deployment classloader does not have any visibility over JBoss internals; so for instance you can't directly use JBossWS +implementation+ classes unless you explicitly set a dependency to the corresponding module.
h4. How do I add dependencies to modules on my deployments?
Dependencies are configured in the deployment MANIFEST.MF file:
Manifest-Version: 1.0
Dependencies: org.jboss.ws.cxf.jbossws-cxf-client services export, foo.bar

Here above +org.jboss.ws.cxf.jbossws-cxf-client+ and +foo.bar+ are the module you want to set dependencies to; +services+ tells the modules framework that you want to also import +META-INF/services/..+ declarations from the dependency, while +export+ exports the classes in the module so that you can actually use them in your code.
h4. How can I use JAXB classes?
In order for successfully use JAXB contexts, etc. in your client or endpoint running in-container, you need to properly setup a JAXB implementation; that is performed setting the following dependency:
Dependencies: com.sun.xml.bind services export

h4. How can I use JBossWS APIs?
...
h4. How can I use Apache CXF APIs?
...
h4. Is there an aggregation client side module with all WS dependencies?
...
h4. What is the org.jboss.ws.jaxws-client module for?
...
h4. How do I use Spring with JBossWS-CXF?
...
h4. What SAAJ impl do I get doing MessageFactory.getFactory()?
...
--------------------------------------------------------------

Comment by going to Community
[http://community.jboss.org/docs/DOC-16722]

Create a new document in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2044]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110413/4a2a828a/attachment.html 


More information about the jboss-user mailing list