JBoss Community

Re: @WebContext jar hell confusion

created by java coder in JBoss Web Services - View the full discussion

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