francisco_garciOccasional ContributorJoined 11 years ago18 Posts1 LikeLikes received2 SolutionsView All Badges
ContributionsMost RecentMost LikesSolutionsScheduler Test Helo I have problem to run the test with windows task shceduler. Scheduler to run everuday for 30 minutes, but the system not run and not open the testcomplete and leave the session locked Re: Is TLS 1.2 supported for Web Service testing on Test Complete? Hi Tanya, It seems my issue lies somewhere else. It seems to be a problem with my infraestructure, so lets close this. Thank you for your reply. Is TLS 1.2 supported for Web Service testing on Test Complete? Hi, We switched from SSL to TLS 1.2 on our Web Service servers, and since then I can no longer use https on my web service URLs with test complete and I have to use http. So I have two questions: - Is TLS 1.2 supported on Test Complete 11.20.1491.7? - If yes, how do I enable it? SolvedTest Complete 11 not working with Chrome Hi, I'm trying to code using java with Chrome 48.0.2564.116 m version but the ToURL command doesn't seem to be working. Can anyone please help me out with this? Re: Cannot assign an object to a variant array in a Web Service Request Hi, For the guys looking for the answer, it seems my code doesn't work with Jscript, but it works with VBscript. I'm going to switch to VBscript for my Web Service. Re: Getting SOAPAction error Alex, I rechecked my code, and I noticed it was making the requests to a wrong WSDL. Thank you for your help. Lets close this one. Re: Cannot assign an object to a variant array in a Web Service Request Thank you Alex, I will send it to you. Re: Getting SOAPAction error Hi Alex, This is a whole different WSDL, so let me elaborate so you can get the whole picture. We have a Web Service Aplication server, which contains 3 different WSDLs and I currently have two issues with 2 of them: - First issue, the web methods that use arrays, wont create objects inside each entry of the array. I used the code that Test Complete generates. - Second issue, the web methods of one WSDL in particular, when the request is sent, the response contains a SOAP fault error that asks for a SOAP Action. The code used to construct, send and recieve the response is the same I use for the other 2 WSDLs tests. For this thread in particular, my issue is with the SOAP Fault error asking for a SOAP Action. I can share with you the URL of the 3 WSDLs so you can take a look and identify either something that is missing from my code or other issues. I know this is maybe something hard to solve, but I currently have tried everything and I cant seem to find a solution. Please let me know how can I share the WSDLs with you. Thanks in advance. Getting SOAPAction error Hi, I'm trying to execute methods from our web services using javascript, but I'm getting the error on the response: <script>// function writeContent(){ var c = document.getElementById("container"); c[("innerText" in c) ? "innerText" : "textContent"] = document.getElementById("dataIsland").innerHTML; }window.onload = writeContent; // </script> soap:ClientSystem.Web.Services.Protocols.SoapException: Unable to handle request without a valid action parameter. Please supply a valid soap action. at System.Web.Services.Protocols.Soap12ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.RouteRequest(SoapServerMessage message) at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocol.SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response) at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing) <?xml version="1.0"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>System.Web.Services.Protocols.SoapException: Unable to handle request without a valid action parameter. Please supply a valid soap action. at System.Web.Services.Protocols.Soap12ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.RouteRequest(SoapServerMessage message) at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocol.SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response) at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)</faultstring><detail/></soap:Fault></soap:Body></soap:Envelope> I tried using the following line: XmlHttpRequest.setRequestHeader("SOAPAction", "http://skywards.com/Mercator.CRIS.WS/GetCorporateProfile"); but if I add the line, I get the following error: <script>// function writeContent(){ var c = document.getElementById("container"); c[("innerText" in c) ? "innerText" : "textContent"] = document.getElementById("dataIsland").innerHTML; }window.onload = writeContent; // </script> soap:ClientSystem.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://skywards.com/Mercator.CRIS.WS/GetCorporateProfile. at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.RouteRequest(SoapServerMessage message) at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocol.SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response) at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing) <?xml version="1.0"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://skywards.com/Mercator.CRIS.WS/GetCorporateProfile. at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.RouteRequest(SoapServerMessage message) at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocol.SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response) at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)</faultstring><detail/></soap:Fault></soap:Body></soap:Envelope> Can you guys please help out? SolvedRe: Cannot assign an object to a variant array in a Web Service Request Hi Alex, I tried many options and still can't get it to work. I could provide the WSDL URL we use, where can I share with you?