Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 17010 invoked from network); 5 Feb 2008 15:30:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Feb 2008 15:30:07 -0000 Received: (qmail 25019 invoked by uid 500); 5 Feb 2008 15:29:51 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 25009 invoked by uid 500); 5 Feb 2008 15:29:51 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 24998 invoked by uid 99); 5 Feb 2008 15:29:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2008 07:29:51 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2008 15:29:21 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JMPjk-0001P4-U3 for axis-user@ws.apache.org; Tue, 05 Feb 2008 07:29:28 -0800 Message-ID: <15291425.post@talk.nabble.com> Date: Tue, 5 Feb 2008 07:29:28 -0800 (PST) From: ataud To: axis-user@ws.apache.org Subject: Re: How can I test the endpoint validity with axis2 at client side ? In-Reply-To: <47A874CA.1010203@wso2.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: anas_taud@yahoo.fr References: <15290664.post@talk.nabble.com> <47A874CA.1010203@wso2.com> X-Virus-Checked: Checked by ClamAV on apache.org I try MyStub stub = new MyStub("http://aninvalidurl"); but does not throw an exception The axis version is 2.1.3 Normaly it should throw an exception without http or other prefix !! Charitha Kankanamge wrote: > > Hi ataud, > If you insert 'http' in front of your url ("http://aninvalidurl"), you > should get java.net.UnknownHostException: aninvalidurl. I just checked > it with Axis2 snapshot. > > regards > Charitha > > ataud wrote: > >>At client side, I generate an Axis2 stub (WSDL2Java). When I populate an >>invalid URL, it does not throw an exception !!! >> >>... >>MyStub stub = new MyStub("aninvalidurl"); >>... >> >>It should throw an exception, but it does not !!! >> >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > > > -- View this message in context: http://www.nabble.com/How-can-I-test-the-endpoint-validity-with-axis2-at-client-side---tp15290664p15291425.html Sent from the Axis - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org