You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Andreas Veithen (JIRA)" <ax...@ws.apache.org> on 2012/11/18 17:30:58 UTC

[jira] [Created] (AXIS-2882) Remove the need to set up custom URLStreamHandlers when using non-HTTP transports

Andreas Veithen created AXIS-2882:
-------------------------------------

             Summary: Remove the need to set up custom URLStreamHandlers when using non-HTTP transports
                 Key: AXIS-2882
                 URL: https://issues.apache.org/jira/browse/AXIS-2882
             Project: Axis
          Issue Type: Task
    Affects Versions: 1.4
            Reporter: Andreas Veithen
            Priority: Minor
             Fix For: 1.4.1


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org