Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-3584

?wsdl does not rewrite soap:address for soap1.2 service

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.3.6, 2.4.2, 2.5
    • Component/s: Simple Frontend
    • Labels:
      None
    • Estimated Complexity:
      Novice

      Description

      org.apache.cxf.frontend.WSDLGetInterceptor is responsible for constructing the WSDL in response to a ?wsdl request. This class will rewrite the soap:address/@location attribute to match the fully qualified uri for the service.

      The rewrite for the address occurs in updateDoc but the code there is only checking for the soap:address element within the 1.1 namespace.

      For example:

        List<Element> sadEls = DOMUtils.findAllElementsByTagNameNS(el,
                             "http://schemas.xmlsoap.org/wsdl/soap/",
                             "address");
        for (Element soapAddress : sadEls) {
          soapAddress.setAttribute("location", base);
        }
      

      This code should be changed to support 1.2 as well.

        Attachments

          Activity

            People

            • Assignee:
              ffang Freeman Yue Fang
              Reporter:
              massfords Mark Ford
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: