Forum Discussion
AlexKaras
14 years agoCommunity Hero
Hi
Pravin,
> For example I need to post the attached SOAP XML file to http://localhost:8080/test/clientservice.wsdl?
A side note first: I hope that the address mentioned above is correct despite the fact that it looks a bit unusual. I would expect either http://localhost:8080/test/clientservice?wsdl or something like http://localhost:8080/test/clientservice.svc, but I will assume that the above address is correct.
Another side note: if the request to the provided address returns wsdl, then I have to say that posting the file to it is useless as the posted file will not be processed.
It looks like that you are trying to test web service. If my guess is correct, I think that you should read web services-related section of TestComplete documentation starting from http://support.smartbear.com/viewarticle/26970/.
The sample of how to create and post a request to web service via script can be found here: http://support.smartbear.com/viewarticle/29074/.
Does this help?
Pravin,
> For example I need to post the attached SOAP XML file to http://localhost:8080/test/clientservice.wsdl?
A side note first: I hope that the address mentioned above is correct despite the fact that it looks a bit unusual. I would expect either http://localhost:8080/test/clientservice?wsdl or something like http://localhost:8080/test/clientservice.svc, but I will assume that the above address is correct.
Another side note: if the request to the provided address returns wsdl, then I have to say that posting the file to it is useless as the posted file will not be processed.
It looks like that you are trying to test web service. If my guess is correct, I think that you should read web services-related section of TestComplete documentation starting from http://support.smartbear.com/viewarticle/26970/.
The sample of how to create and post a request to web service via script can be found here: http://support.smartbear.com/viewarticle/29074/.
Does this help?