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>
SOAPMessageContext soapContext = (SOAPMessageContext) context; String[] actorNames = soapContext.getRoles();