1 2 Previous Next 18 Replies Latest reply on Oct 23, 2008 5:50 PM by kr8m3r_78 Go to original post
      • 15. Re: If I deploy more than one webservice I get
        heiko.braun

        Yes, @WebContext is the way to. Unfortunately there is no Xml equivalent at the moment. You'll find that in the next release.

        With 2.0.1 the class resides in:

        jbossws-spi.jar
        org/jboss/wsf/spi/annotation/WebContext.class

        • 16. Re: If I deploy more than one webservice I get
          kr8m3r_78

          I have a problem in that my EJB jar deploys a web service, which uses the @WebContext annotation, but the context root points to the same context root of one defined in my war, both of which are packaged inside an EAR. If I deploy the EAR everything defined in the web.xml inside the war is accessible, but accessing the web service using the same context gets a 404 error.

          For example, my webservice:

          @WebContext(contextRoot = "/testWeb", urlPattern = "/SupplierAccessPort", authMethod = "BASIC", transportGuarantee = "NONE", secureWSDLAccess = false)
          


          In my jboss-web.xml (inside the war):

           <jboss-web>
           <security-domain>java:/jaas/aipDBCheck</security-domain>
           <context-root>/testWeb</context-root>
           </jboss-web>
          


          http://localhost:8080/testWeb/index.htm is found (as it is inside my war)
          http://localhost:8080/testWeb/SupplierAccessPort gets a 404.


          • 17. Re: If I deploy more than one webservice I get
            peterj

            kr8m3r_78, please stop spamming a multitude of topics with the same question!!! You need ask only once, asking multiple times simply irritates the other readers of the forums.

            • 18. Re: If I deploy more than one webservice I get
              kr8m3r_78

              This isn't spam, and there wasnt a "multitude" of posts. I posted the same question to two different threads. I didnt realize they get pushed to the top of the list. I was expecting my reply to be flagged to the person who posted the original message.

              1 2 Previous Next