For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Muhannad's avatar
Muhannad
Icon for Cirrus rankCirrus
Apr 24, 2025

Rewrite content in XML schema file.

Dear Experts, 

 

I need help to rewrite a content value in a WSDL service using  XML schema files.

Below is the request sample, noting that the LTM is changing the backend server response and use the VS IP address int the response: 

The response that i am seeing in the client side:

<xsd:include schemaLocation="http://10.20.17.20:7855/DamanPay/GetPaymentType?xsd=xsd0"/>

10.20.17.20: is the Virtual server IP address.

I have tried the stream profile and i was able to change the IP address to the Node IP address when specify the IP: 10.20.17.20 in the source and the Node IP address 10.15.11.2 in the target, the response become:

<xsd:include schemaLocation="http://10.15.11.2:7855/DamanPay/GetPaymentType?xsd=xsd0"/>

So it seems that i can rewrite the value in the response to the desired content value.

But i am searching for a workaround or an IRULE to change this IP:10.20.17.20 in the response to the selected Pool member IP address (i have 2 members in the pool), not a static IP address as what i was able to achieve using the Stream Profile.

 

I hope i have made it clear and thanks in advanced.

 

Thanks,

Muhannad

 

2 Replies