Contributions
SOAPAction error when trying to access methods of a web service
I am trying to access the methods of a web service. I wrote the code for TestComplete 8.60 and it worked fine. But now that I am trying the same code on 8.70 version, it can't access any method. It gives an error on encountering 'NetworkList = WebServices.Voyence3.getAllNetworks();' statement, which calls a method of the web service. It gives the following error: An exception occurred in the "API" unit at line 41: <soapenv:Fault xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Client.NoSOAPAction</faultcode> <faultstring>no SOAPAction header!</faultstring> <detail> <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">ucs-unc01.ucs</ns2:hostname> </detail> </soapenv:Fault> Kindly help me resolve this error. What is different between the two versions that is causing this error?11KViews0likes1Comment