1 Reply Latest reply on Oct 1, 2008 1:05 AM by ropalka

    Feature EJB endpoints

      Hello!

      Could you make some examples for following feature?

      * [JBWS-981] - Virtual host configuration for EJB endpoints

        • 1. Re: Feature EJB endpoints
          ropalka

           

          package org.jboss.test.ws.jaxws.jbws981;
          
          import javax.ejb.Stateless;
          import javax.jws.WebService;
          import org.jboss.wsf.spi.annotation.WebContext;
          
          @Stateless
          @WebService
          (
           serviceName = "EndpointService",
           targetNamespace = "http://www.jboss.org/test/ws/jaxws/jbws981",
           endpointInterface = "org.jboss.test.ws.jaxws.jbws981.EndpointInterface"
          )
          @WebContext( virtualHosts = { "localhost", "www.jboss.org" } )
          public class EJB3Bean implements EJB3RemoteInterface
          {
           public String hello(final String message)
           {
           return message;
           }
          }