0 Replies Latest reply on Jun 29, 2006 4:06 AM by Yair Zaslavsky

    A question about developing a JSR181 web service (newbie que

    Yair Zaslavsky Newbie

      Hi all,
      I developed a web service using jsr-181 that looks like this (i actually took most of the code from jboss wiki).

      @WebService(name = "EndpointInterface",
      targetNamespace = "http://org.jboss.ws/samples/jsr181ejb",
      serviceName = "TestService")

      @SOAPBinding(style = SOAPBinding.Style.RPC)

      @Stateless
      @Remote(EJB3RemoteInterface.class)
      @RemoteBinding(jndiBinding = "ejb3/TestWS")
      public class TestWS implements EJB3RemoteInterface
      {
      @WebMethod
      public String echo(String input)
      {
      return input;
      }
      }


      I deploy the web service , and when i look inside jboss directories i can see that a WSDL file is generated during deployment. How can I control over the source and the name of the file? I guess it's via WSTOOLS, but I fail to find a good example for this.

      Thanks
      Yair