HTTP Client API for Java

Hi,
I am facing problem in executing Sample Program (DemoPing.Java).
I am getting the following error:
java DemoPing http://localhost/tamino/Test/Hosp
ital

Fatal parse error in (internal) at line 1, column 0:
org.xml.sax.SAXParseException: no document element
Exception in thread “main” java.lang.NullPointerException
at com.softwareag.tamino.API.dom.TaminoResult.(TaminoResult.java:13
8)
at com.softwareag.tamino.API.dom.TaminoClient.getTaminoResult(TaminoClien
t.java:1322)
at com.softwareag.tamino.API.dom.TaminoClient.getTaminoResult(TaminoClien
t.java:1273)
at com.softwareag.tamino.API.dom.TaminoClient.getResultByPost(TaminoClien
t.java:971)
at com.softwareag.tamino.API.dom.TaminoClient.getVersion(TaminoClient.jav
a:389)
at com.softwareag.tamino.API.dom.TaminoClient.setUrl(TaminoClient.java:28
0)
at com.softwareag.tamino.API.dom.TaminoClient.(TaminoClient.java:24
1)
at DemoPing.main(DemoPing.java:6)

The URL :
http://localhost/tamino/Test/Hospital

is working fine when I issue queries at Tamino Interactive Interface.

Please Help …

Thanks

Pramod

I’ve tried this and it works fine for me. Could your classpath be to blame?