Connection refused error in SOAP while sending request to WSDL -
org.apache.axis.client.call _call = createcall(); _call.setusername("nehalp"); _call.setpassword("sap@123"); _call.setoperation(_operations[0]); _call.setusesoapaction(true); _call.setsoapactionuri("http://sap.com/xi/webservice/soap1.1"); _call.setencodingstyle(null); _call.setproperty(org.apache.axis.client.call.send_type_attr, boolean.false); _call.setproperty(org.apache.axis.axisengine.prop_domultirefs, boolean.false); _call.setsoapversion(org.apache.axis.soap.soapconstants.soap11_constants); _call.setoperationname(new javax.xml.namespace.qname("", "unlock")); setrequestheaders(_call); setusername("nehalp"); setpassword("sap@123"); setattachments(_call); try { java.lang.object _resp = _call.invoke(new java.lang.object[] {unlock_request_mt});
this line throws exception : java.net.connectexception: connection refused: connect
Comments
Post a Comment