[jboss-user] [JBoss Web Services] - Re: JBoss 6 Web Service with JAXB generated Classes wsdl problem
Alessio Soldano
do-not-reply at jboss.com
Tue Feb 8 04:19:57 EST 2011
Alessio Soldano [http://community.jboss.org/people/alessio.soldano%40jboss.com] created the discussion
"Re: JBoss 6 Web Service with JAXB generated Classes wsdl problem"
To view the discussion, visit: http://community.jboss.org/message/586132#586132
--------------------------------------------------------------
Can you check if the wsdl of the published endpoint on AS 6 differs from the one of the same service on AS 5 ?
JBoss AS 5 and 6 come with different default WS stack (6 having JBossWS-CXF), so you might see minor changes in the published wsdl when doing code-first development. While it would be interesting to understand if this is a bug in the way the imported schema is handled in the wsdl, or if it's a consequence of how the namespaces are defined in the jaxb annotated classes, please keep in mind that you can develop starting from a given wsdl you want your services to have (wsconsume tool on the wsdl, then implement the generated service endpoint interface).
Regarding the libs to be used, take a look at the wsrunclient scripts in AS 6 bin folder to have an idea of everything you might need. In your java.endorsed.dirs env variable you should include only the libs that are in lib/endorsed on the AS version you're using. That influences the JAXB/JAXWS api version used when running with JDK6.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/586132#586132]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110208/82bc92fb/attachment.html
More information about the jboss-user
mailing list