Forum Discussion
dwwatk01_25473
Nimbostratus
Nov 10, 2009Web Service WSDL Rewrite
Hi!
I've read a few other threads describing similar problems, but cannot make those solutions work for our situation.
Here's what we have: a user is hitting a web service through F5 to our internal app servers. The user hits F5 via http, then is routed via https to the app servers. What is happening is that in the payload of the web service wsdl, xsd locations are being written as follows:
https://ourDNS:443/xsdURI
when what it needs to be is:
http://ourDNS/xsdURI
Can this be accomplished with an iRule? Is there an easier way to go about this?
Please let me know if any clarification is needed.
Thanks!
David
- hoolio
Cirrostratus
Hi David,From: http://devcentral.f5.com/wiki/default.aspx/iRules/stream__expression when HTTP_RESPONSE { Disable the stream filter by default STREAM::disable Check if response type is text if {[HTTP::header value Content-Type] contains "text"}{ Replace https://ourDNS:443/xsdURI with http://ourDNS/xsdURI STREAM::expression "@https://ourDNS:443/xsdURI@http://ourDNS/xsdURI@" Enable the stream filter for this response only STREAM::enable } }
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