[jboss-user] [JBossWS] - Re: Secure Webservice

iorlas do-not-reply at jboss.com
Fri May 18 00:53:58 EDT 2007


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#4046701

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046701



More information about the jboss-user mailing list