3 Replies Latest reply on Oct 12, 2006 3:33 AM by maeste

    virtually hosting a webservice

    g.tomassoni

      Dears,

      I had a check to the docs and this forum looking for a way to define the virtual-host on which to publish a given set of webservices made in the jsr-181's EJB3 style.

      I see I can control the context-root thanks to a @PortComponent(contextRoot="...") annotation. That's fine (apart the fact you have to define it for every and each WS).

      But what about the virtual-host?

      Thanks,

      giampaolo

        • 1. Re: virtually hosting a webservice
          maeste

          I think your problem will be solved in jbossws-1.0.4 resolving JBWS-1178.
          For a complete description of what I mean take a look to jira or to my blog:

          http://www.javalinux.it/blogs/index.php?title=multiple_virtual_host_and_soap_address_p&more=1&c=1&tb=1&pb=1

          • 2. Re: virtually hosting a webservice
            g.tomassoni

             

            "maeste" wrote:
            I think your problem will be solved in jbossws-1.0.4 resolving JBWS-1178.


            Mmmh, I'm not shure that is going to solve my problem. What I'm looking for is a way to publish the JSR-181-complian EJB3 WS services (EJBs with WS annotations) packaged on an .ejb3 archive all on a specific virtual host.

            I don't see a way to do this with jbossws-1.0.3 because I can't find a suitable annotations (one that lets me specify, say, a "virtualHost" attribute) and the <soap:address> element is somehow hidden to a JSR-181 EJB3 endpoint.

            But an idea arises thanks to your web page: what if I'm going to "ship" with my .ear a jbossws.sar service carring a modified version of jbossws.beans/META-INF/jboss-beans.xml? Or, even better, is there any way to override the "standard" jbossws.beans/META-INF/jboss-beans.xml content from an ear or an ejb3?

            Thanks,

            giampaolo

            • 3. Re: virtually hosting a webservice
              maeste

              Sorry,
              sincerely I didn't understand what you would like do.
              Are you asking a deployment on only one virtual host, hidden this specific ws from other virtual host on the same server?
              Your name seems to be italian. Feel free to write me a private email in italian language, to explain me better your problem.