Hi
I was wondering if iis.net community can help me with a problem I have been trying to solve for a few days:
it is possible to re-write the body of a SOAP message on IIS?
I am trying to get two third party web applications to communicate via a SOAP-based web service.
Both applications run on IIS but I do have not access to their source code.
One of them uses UPPERCASE for the username auth, where as the second uses a mixed case username
This causes the authentication to fail as they are considered separate/distinct accounts
Renaming the users breaks other applications, so it is not an option in my case
In the example below, I would like to change the username JSmith to uppercase JSMITH
I did not find any examples where this is possible with IIS URL Rewrite module (if it is, please let me know!) as they mostly relate to re-writing URLs or HTTP headers
So my question is: short of writing a custom IIS module, are there any tools or configurations that can accomplish this?
Much appreciate!
Here is a sample SOAP message:
<s:Envelope xmlns:s=""http://schemas.xmlsoap.org/soap/envelope/""><s:Header><h:Authentication xmlns:h=""urn:api.website.local"" xmlns=""urn:api.website.local"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema"" xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance""> <Auth>123abcABC</Auth></h:Authentication></s:Header><s:Body xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema""> <AuthUser xmlns=""urn:api.website.local""><userName>JSmith</userName></AuthUser></s:Body></s:Envelope>