Hi Alex
I have added "Webservices" to my project, and added my configuration webservice under the webservices.
The following is a snippet of my code that uses the webservice (using jScript) :
envName =
WebServices.EnvList.ReverseEnvNameLookup(ProjectSuite.Variables.OpusDatabase);
When running on my development machine it runs fine, no problems. When I move the project to another machine, and starting under test execute, I get the following error : "Microsoft JScript runtime error. Object doesn't support this property or method".
If I start testcomplete on the other machine, load the project, and then inspect the webservices entry in my project, then it doesn't show which methods my webservice supply. If I then press "Refresh" on the webservice page in testcomplete, the method entry is populated with the methods I can call.
After I have refreshed the webservice in testcomplete, I can shutdown testcomplete, and run test execute without problems
So it seems that the "complete" description of the webservice is missing in the project, as it only has the pointer to the webservice in the project, and methods is missing.
The question then is, how can I refresh this webservice automaticly ?
/ Thomas