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

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

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            veithen Andreas Veithen

            Dates

              Created:
              Updated:

              Slack

                Issue deployment