Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 98424 invoked from network); 20 Apr 2007 17:52:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Apr 2007 17:52:39 -0000 Received: (qmail 1954 invoked by uid 500); 20 Apr 2007 17:52:42 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 1887 invoked by uid 500); 20 Apr 2007 17:52:42 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 1876 invoked by uid 99); 20 Apr 2007 17:52:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Apr 2007 10:52:42 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Apr 2007 10:52:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4D161714041 for ; Fri, 20 Apr 2007 10:52:15 -0700 (PDT) Message-ID: <9906748.1177091535296.JavaMail.jira@brutus> Date: Fri, 20 Apr 2007 10:52:15 -0700 (PDT) From: "Sergio (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-2553) When using custom protocol (eg myhttps) AxisFault caused by MalformedURLException is thrown during web sevice invocation In-Reply-To: <3173998.1176844035347.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org