Uploaded image for project: 'Axis'
  1. Axis
  2. AXIS-2882

Remove the need to set up custom URLStreamHandlers when using non-HTTP transports

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.4
    • 1.4.1
    • None
    • None

    Description

      Axis 1.4 internally uses java.net.URL to represent endpoint URLs. For non-HTTP endpoints this requires configuration of custom URLStreamHandlers (because otherwise the construction of java.net.URL objects would fail with an unknown protocol error). This is done by Call#addTransportPackage which modifies the java.protocol.handler.pkgs system property. However, modifying system properties in a shared environment is not a good thing.

      Since we now require Java 1.4, we could use java.net.URI instead of java.net.URL to represent/process endpoint URLs and remove the need to modify the java.protocol.handler.pkgs system property.

      Attachments

        Activity

          People

            Unassigned Unassigned
            veithen Andreas Veithen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: