Forum Discussion
War1ock_259955
Nimbostratus
May 05, 2016iRule created to remap a SOAP action
Hi all,
I am wondering if this is iRule that we have created is missing something? Please can someone cast and eye and tell me where we are going wrong if at all?
when HTTP_REQUEST {
if {[H...
War1ock_259955
Nimbostratus
May 05, 2016Sorry all just had to fix the look of the iRule it looked a bit odd.
when HTTP_REQUEST {
if {[HTTP::header "SOAPAction"] contains "http://xxx/webservice1"}{
This will replace the header details
HTTP::header replace "SOAPAction" ["http://xxx/webservice2"]
This will replace the body detail
STREAM::expression {@body/Query/2.0@body/Query/3.0@}
Enable the stream filter for this response only
STREAM::enable
}
}
when HTTP_RESPONSE {
STREAM::expression {@body/Query/3.0@body/Query/2.0@}
STREAM::enable
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects