Uploaded image for project: 'Mule'
  1. Mule
  2. MULE-7466

Web service proxy modifies target namespace in WSDL

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix or Usage Issue
    • 3.3.1, 3.4.0
    • None
    • Modules: CXF
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            krizsan krizsan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: