Hi!
I have same problem. I've installed jbossWS version 1.0.1.
So, I'm using easy way of annotations. I'm following examples.
Is there a way to around problem as new4jboss suggest? (I can't understand as 
adapt his example).
This is my session bean that show a web method:

  | //standard JSR181 annotations
  | @WebService(name = "EndpointInterface", targetNamespace = 
"http://org.jboss.ws/samples/jsr181ejb";, serviceName = "Risposta")
  | @SOAPBinding(style = SOAPBinding.Style.RPC)
  | 
  | // standard EJB3 annotations
  | @Remote(Hello.class)
  | @RolesAllowed("friend")
  | 
  | 
  | // jboss propriatary annotations
  | @RemoteBinding(jndiBinding = "/ejb3/EJB3EndpointInterface")
  | @PortComponent(authMethod="BASIC", transportGuarantee="NONE")
  | @SecurityDomain("JBossWS")
  | public @Stateless class HelloBean implements Hello {
  | 
  |     @WebMethod
  |     public String reply(String voice) {             
  |             return "Hello " + voice;
  |     }
  | 
  | }
  | 

And his interface:

  | @Remote
  | public interface Hello {
  |     public String reply(String voice); 
  | 
  | }

Anybody has a example that show how client login to web service? :(

Thanks!



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950850#3950850

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


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to