Connection refused error while using Query Webservice of Clarity

Discussion created by divyang_agrawal on Jul 17, 2012
Latest reply on Mar 13, 2013 by navzjoshi00

I have tried to access the query WebService of Clarity in JAVA.But while I try to run the invoke it using the webservice client, it gives a "connection reused" error.

The QueryWS.java is the Webservice client for the riskQuery Webservice (I have tried both IP address and System Name in the serice URL to make this class a webservice client)and contains the main function.
It is showing an error when I try to call the login function through "port.login("username","password")" line and throws an exception.

It also shows some error in the Xid_qry_risksQuerySoapBindingStub.java file also at the following line

java.lang.Object resp = call.invoke(new java.lang.Object[] {body, header});