[ 
https://issues.apache.org/jira/browse/AXIS2-2553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489943
 ] 

Deepal Jayasinghe commented on AXIS2-2553:
------------------------------------------

Hi Sergio;
Please attach SVN dif  not the source code.

Thanks
Deepal

> 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
>
>
> 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]

Reply via email to