WebService test getting exception 404
I'm trying to set up some simple webservice tests in TestComplete. I'm still pretty new to the product but I think I set it up correctl
Under the WebServices object, I added a new item. I then clicked the Select button in the editor. I specified the URL of the WSDL, and clicked "Get Services". The drop list under "Select the tested service was populated. I selected the target service and clicked "OK".
The editor was populated with the expected list of methods and types which correctly match the targeted webservice. So I know that TC linked to the web service. See attached screenshot_1.jpg.
I then created a script module "loadManagement" and defined the following function in it:
function test_CurrentlyActivePrograms() {
var rslt = WebServices.loadManagement.currentlyActivePrograms()
}
When I execute the function, I get a "404" error, see 404.jpg. It looks like the URL being addressed does not contain the ".wsdl". If I try to access this address through my browser, it doesn't work, but in that case I get a 405 error. If I append the suffix to the address, I do see the wsdl file, see screenshot_2.jpg.
When I look examine the webservice object in the editor, in the "Service Details" section, the URL is displayed without the ".wsdl", and this appears to be the problem. I can't figure out how to edit the URL and I'm stuck trying to get this to work. What did I do wrong and how do I fix it?
Thanks,
Dave