02-10-2009, 08:12 PM
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
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