axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ataud <anas_t...@yahoo.fr>
Subject Re: How can I test the endpoint validity with axis2 at client side ?
Date Tue, 05 Feb 2008 15:29:28 GMT

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


Mime
View raw message