0 Replies Latest reply on Oct 2, 2006 9:11 AM by Farid Mehr

    Sign/Encrypt unprefixed elements

    Farid Mehr Newbie


      I'm a newbie in JBOSSWS. I have not been able to encrypt/sign arbitrary SOAP elements.
      For instance, given the following SOAP request message

      <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
      <ns1:echoUserType xmlns:ns1='http://org.jboss.ws/samples/wssecurity'>
      <UserType_1 xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
      i have been able to sign/encrypt the element <ns1:echoUserType>, with the following configuration:


      Unfortunately, i have not been able to specify the same for its child element nodes individually. These are not prefixed and a
      default namespace has not been defined/generated explicitly in the SOAP message.
      I tried out the following possiblilities but, ,unfortunately, none of them worked out:


      How can i specify encryption/signature for unprefixed elements individually, such as for UserType_1?

      Thanks in advance,