0 Replies Latest reply on Jan 11, 2008 9:27 AM by jBossTester jBossTester

    Assigning SOAP role to JAX-RPC handler

    jBossTester jBossTester Newbie

      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


      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?