1 Reply Latest reply on Jun 30, 2008 4:01 AM by staticr

    Setting the end-point for a Seam web service

    staticr

      When I put a web service class inside a jar file, JBoss makes the endpoint http://server/NAMEOFEAR-NAMEOFJAR/ServiceClass.  Is there a way to set the endpoint.  I tried moving the web service into the war file and they no longer were automatically created by Jboss.


      I am using Seam 2.0.1 and JBoss 4.2.2.  I have never set up a web service in Java before and like how Seam implements long running conversations, so I am not sure if this question would be better asked on the JBossWS forums.


      The services do work correctly when in the jars.


      Thanks,
        Colin

        • 1. Re: Setting the end-point for a Seam web service
          staticr

          Of course I find the answer out almost immediately after posting this.


          In case anyone else has this question, add @WebContext to your class.  One of the parameters is contextRoot and setting that will change the path to your web service.


          Thanks,
            Colin