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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to