Hi,

Attached is the client program that I use to access the service. It uses (or
should I say, tries to use) HTTP, if I'm not mistaken.

It gives me the error
Caught SOAPException (SOAP-ENV:Client): Error opening socket: Host
unreachable: no further information

The service is available at
http://www.xmethods.com/detail.html?id=221

I can access the following service though
http://www.xmethods.com/detail.html?id=223

by just changing the

URL to "http://213.23.125.181:8080/RPC";
TargetObjectURI to "urn:SpheonJSOAPChemistry"
MethodName to "getNameBySymbol"
Parameter to "Au"
SOAPAction to ""


Do I have to do something extra if the web service is written in .Net ?

Regards,
Deepak



-----Original Message-----
From: Ian Snead [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 20, 2001 7:26 PM
To: [EMAIL PROTECTED]
Subject: Re: Error while trying to access XMethod web services



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.

Attachment: WeatherClient.java
Description: Binary data

Reply via email to