2 Replies Latest reply on May 12, 2008 3:54 AM by ropalka

    Annotation to specify WS url

    rcarmichael

      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