The samples use an ejb endpoint like this
| // standard JSR181 annotations
| @WebService(name = "EndpointInterface", targetNamespace =
"http://org.jboss.ws/samples/jsr181ejb", serviceName = "TestService")
| @SOAPBinding(style = SOAPBinding.Style.RPC)
|
| // standard EJB3 annotations
| @Remote(EJB3RemoteInterface.class)
| @RolesAllowed("friend")
| @Stateless
|
| // jboss propriatary annotations
| @RemoteBinding(jndiBinding = "/ejb3/EJB3EndpointInterface")
| @PortComponent(authMethod="BASIC", transportGuarantee="NONE",
configName="Standard WSSecurity Endpoint")
| @SecurityDomain("JBossWS")
| public class EJB3Bean01 implements EJB3RemoteInterface
| {
| @WebMethod
| public String echo(String input)
| {
| return input;
| }
| }
|
Is this not equivalent to your use case?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977720#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...