Hello everybody I've got a problem with JBoss 4.2.2 JAX-RPC implementation. I'm using JAX-RPC handler on the Web Service side for working with a soap header. Can I configure my handler for a particular role? I have the folloging fragment of the webservice.xml
| <handler> | <handler-name>PtInterceptor</handler-name> | <handler-class>com.cosmos.sts.interceptors.jaxrpc.server.WssHandler</handler-class> | <soap-header> | <namespaceURI>http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd</namespaceURI> | <localpart>Security</localpart> | </soap-header> | <soap-role>InterceptorActor</soap-role> | </handler> | And I'm trying to get the roles from the soap context in this way: | SOAPMessageContext soapContext = (SOAPMessageContext) context; | String[] actorNames = soapContext.getRoles(); | but I get only an emty array. What is wrong? Can anybody help with this please? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119080#4119080 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119080 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
