Hi,

I get the following error while trying to access XMethod web services

Caught SOAPException (SOAP-ENV:Client): Error opening socket: Host
unreachable: no further information

java.lang.NullPointerException
at WeatherClient.main(WeatherClient.java:45)

The code at line No. 45 is
                if (!res.generatedFault())
Obviously the response is Null which is throwing the exception.


What could be the problem ?

Thanks in advance,
Deepak

Reply via email to