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

Unable to handle schema location with spaces and serve up WSDL URL with unencoded spaces

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.8
    • Component/s: OSGi
    • Labels:
      None

      Description

      WSDL schemaLocation with spaces in the relative path is valid but WSDLDefintionBuilder can't handle it because it does not encode the spaces before using it in URI methods.

      Another problem is that ?wsdl can serve up a WSDL that includes unencoded space (e.g. http://localhost:3580/services/AddCustomer?xsd=../schema/folder with spaces/customer.xsd). It causes problem for client.

        Attachments

        1. CXF-2767.patch
          20 kB
          William Tam

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              wtam William Tam
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: