Micro Focus QTP (UFT) Forums
Web service testing - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: Web service testing (/Thread-Web-service-testing)



Web service testing - badri167 - 02-10-2009

Hi iam new to web service testing can some body help me on this

here is the code which i did where iam not able to pass the input parameters to the WSDL file thru QTP
the error returned is in attachment plz find it
plz reply me with some example
Code:
Set ssr0XML = XMLUtil.CreateXMLFromFile("C:\1input.txt")
XMLstr = ssr0XML.ToString
Reporter.ReportEvent micDone, "MESSAGE=",XMLstr


'ProvidingEngineServiceService Web service object steps
Set providingWS =WebService("ProvidingEngineServiceService").providingWS(XMLWarehouse(XMLstr))


Filename="C:\Documents and Settings\mal4200\Desktop\QTP\my.xml"

Dim fso, MyFile
Set fso = CreateObject("Scripting.FileSystemObject")
Set MyFile= fso.CreateTextFile("c:\testfile.txt", True)
MyFile.WriteLine(providingWS)
MyFile.Close