[jboss-user] [JBoss Web Services] - Re: @WebContext jar hell confusion

java coder do-not-reply at jboss.com
Fri Apr 22 03:38:34 EDT 2011

java coder [http://community.jboss.org/people/jboss4321] created the discussion

"Re: @WebContext jar hell confusion"

To view the discussion, visit: http://community.jboss.org/message/601588#601588

I found my solution.

I think the annotation did not work because of some jar conflict. Therefore I copied the "jbossws-spi.jar" to my project class path, but *+I did not build it+* into my compiled and deployed EAR. (I used an Apache Ant build script to do this.) Thus, my source code recognizes the @WebContext annotation, but the build application relies on the annotation's implementation stored in JBossWS in the server. Now I understand!  :^0 

@WebContext(transportGuarantee = "CONFIDENTIAL") put my web service in HTTPS. I hope this helps others who have the same confusion.

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110422/4c7ec714/attachment-0001.html 

More information about the jboss-user mailing list