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

Exception when SOAP service URI contains whitespace

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.11
    • Fix Version/s: 3.2.9, 3.3.2
    • Component/s: Transports
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      To reproduce:

      1. Create SOAP service and configure service URI so that it contains spaces, e.g. http://localhost:8080/service/Resource AsService
      2. Try to access the service.

      When accessing the service, following exception is thrown:

      java.lang.IllegalArgumentException: Illegal character in path at index 38: http://localhost:8080/service/Resource AsService
          at java.net.URI.create(Unknown Source)
          at org.apache.cxf.transport.servlet.ServletDestination.getBasePath(ServletDestination.java:75)"
      

        Attachments

          Activity

            People

            • Assignee:
              ffang Freeman Yue Fang
              Reporter:
              Bogatyrov Vladimir Bogatyrov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: