[jboss-user] [JBossWS] - Annotation to specify WS url

rcarmichael do-not-reply at jboss.com
Thu May 8 12:57:05 EDT 2008


So far I have been able to use web services in JBoss without having to modify my web.xml (or any xml files really) at all thanks to great annotations. However, I recently started adding version numbers to my wars/ears/jars and this has caused a number of problems. One of them is that JBoss uses Ear + Jar filename as the URL. So if I had A-0.3.2.ear containing EJB B-0.8.6.jar containing C.java which is a @WebService, the URL for the WSDL will be :

http://localhost:8080/A-0.3.2-B-0.8.6/C?WSDL

This is extremely inconvenient. Is there a way for me to specify in the annotations what the URL for the web service should be?

Thanks,
- Ryan

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149525#4149525

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149525



More information about the jboss-user mailing list