Layer7 API Management

  • 1.  I am not able to remove  the signature part (wsu:Id) from Body.

    Posted Jul 06, 2015 09:06 AM

    I was trying to encrypt the Body in the request,sign it and later on verify the signature and decrypt it.

    I was able to complete the above process till decryption, but, now I wish to remove the signature part from the Body tag.

    Please refer the below image:Image.472183300182.png


    Kindly guide on how to remove the wsu:Id and the namespace part from the Body tag.

     

    Message was edited by: Leif Bildoy Removing Categories for OTK and MAG



  • 2.  Re: I am not able to remove  the signature part (wsu:Id) from Body.
    Best Answer

    Posted Jul 09, 2015 06:56 PM

    If all you want to do is remove an attribute, you can accomplish this using XSLT. Here is a quick link on how to remove an attribute via XSLT

     

    http://stackoverflow.com/questions/3116396/exclude-attribute-from-a-specific-xml-element-using-xslt

     

    let me know if you have any questions,

     

    thanks,

     

    Doyle