Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix or Usage Issue
-
3.3.1, 3.4.0
-
None
-
None
-
S2
Description
If the targetNamespace of a WSDL, or any other part of a WSDL, contains the same URI as an endpoint address , the targetNamespace will be modified by the web service proxy when performing service address rewriting.
Examining the WSProxy class, one can see that address rewriting is performed by string replacement on the entire WSDL in the modifyServiceAddress method.
The suggested solution is to use XPath (/definitions/service/port/address/@location) and modify only the contents of the location attribute.
This behaviour has been seen in version 3.4.0 and 3.3.1 of Mule but I suspect it is present in other versions as well.