Hello Deepak,
Your SOAP client cannot connect to the machine that hosts the SOAP service. What transport are you using? "Deepak M." wrote: > > 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 -- Software Engineer EzGov work : (404) 836-7957 To err is human. To System.err is machine.