Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Web service testing
#1
Not Solved
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


Attached Files
.html   error.html (Size: 10.42 KB / Downloads: 67)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Web Services Testing Elvira 0 1,616 05-08-2015, 03:48 PM
Last Post: Elvira
  New Service Pack for UFT 12 has been just released supputuri 0 1,686 12-24-2014, 10:50 AM
Last Post: supputuri
  How ot get big XML as a responce from web service (QTP, POST request) fdmerle 0 3,250 09-19-2014, 10:34 PM
Last Post: fdmerle
Exclamation Creating Simulator using service Test Walaa Elyammany 0 2,319 08-11-2014, 05:21 PM
Last Post: Walaa Elyammany
  Web Service exceptions litocar 0 3,033 08-16-2013, 07:43 AM
Last Post: litocar

Forum Jump:


Users browsing this thread: 1 Guest(s)