I have tried a few different version, the latest look like this:
| @WebService(name = "WebServiceEndPoint", targetNamespace =
"http://se.pilotfish/fairfleet/ws",
| serviceName = "WebServiceTest")
| @SOAPBinding(style= SOAPBinding.Style.RPC)
| @WebContext(contextRoot = "/service", urlPattern = "/*",
authMethod = "BASIC",
| transportGuarantee = "NONE", secureWSDLAccess = false)
|
| @SecurityDomain("fleet-database")
| @Stateless
| public class WebServiceTestBean implements WebServiceTest {
|
| @WebMethod
| @WebResult(name = "result")
| public String test(@WebParam(name = "input") String input) {
| return "WebService:" + input;
| }
|
| }
|
@Remote
| public interface WebServiceTest {
|
| public String test(String input);
|
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046701#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...