1 22 package org.jboss.test.ws.jaxws.webserviceref; 23 24 import javax.jws.WebMethod; 25 import javax.jws.WebParam; 26 import javax.jws.WebResult; 27 import javax.jws.WebService; 28 import javax.xml.ws.RequestWrapper; 29 import javax.xml.ws.ResponseWrapper; 30 31 32 38 @WebService(name = "TestEndpoint", targetNamespace = "http://org.jboss.ws/wsref") 39 public interface TestEndpoint { 40 41 42 48 @WebMethod 49 @WebResult(targetNamespace = "http://org.jboss.ws/wsref") 50 @RequestWrapper(localName = "echo", targetNamespace = "http://org.jboss.ws/wsref", className = "org.jboss.test.ws.jaxws.webserviceref.Echo") 51 @ResponseWrapper(localName = "echoResponse", targetNamespace = "http://org.jboss.ws/wsref", className = "org.jboss.test.ws.jaxws.webserviceref.EchoResponse") 52 public String echo( 53 @WebParam(name = "arg0", targetNamespace = "http://org.jboss.ws/wsref") 54 String arg0); 55 56 } 57 | Popular Tags |