Forum Discussion

Jon_Barber_7627's avatar
Jon_Barber_7627
Icon for Nimbostratus rankNimbostratus
Mar 07, 2007

Insert elements into a SOAP body

Hi,

 

 

We want to use client side certs with SSL for authentication, and I've found the samples showing how to insert parts of the cert into the HTTP request header for downstream processing, which is great.

 

 

Ideally, we would like to insert elements of the client cert into the SOAP message body or header itself. Is this possible ?

1 Reply

  • You can do anything you want with the payload via the HTTP::payload command. The only downside is that you'll have to treat the SOAP Request (or Response) as a text string and use the string commands to search and replace content. Check out the iRules codeshare section in the wiki, there are a bunch of samples there that illustrate how to change actual payload content on requests and responses.

     

     

    -Joe