[
https://issues.apache.org/jira/browse/AXIS2-2553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490415
]
Sergio commented on AXIS2-2553:
-------------------------------
Guys, the patch is up-to-date for the trunk version.
I currently don't have time to patch 1.2, so plese patch the trunk only if
that's ok.
> When using custom protocol (eg myhttps) AxisFault caused by
> MalformedURLException is thrown during web sevice invocation
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-2553
> URL: https://issues.apache.org/jira/browse/AXIS2-2553
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: kernel
> Affects Versions: 1.2, 1.1.1, nightly
> Environment: Windows, JDK 1.4, 1.5
> Reporter: Sergio
> Priority: Blocker
> Attachments: patch.jar, patch.txt
>
>
> When custom protocol is used (eg myssl://localhost/WSTest.asmx) we get
> AxisFault caused by MalformedURLException
> because of the problem in the method below. For safe custom url endpoint
> address parsing, you should be using URI and not URL, which
> only allows standard protocols.
> CommonsHTTPTransportSender.writeMessa.writeMessageWithCommons(MessageContext
> messageContext,
> EndpointReference toEPR,
> OMOutputFormat format)
> throws AxisFault {
> try {
>
> URL url = new URL(toEPR.getAddress()); //throws
> MalformedURLException!!!
> .....
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]