Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Working with Web Services
#1
Not Solved
Hi to all!
I need help about to send a request for Web Service method. I had automated a method called "createOffer". In XMLWarehouse i have createOffer XML structure to send with this method. When I try to send this XML sructure with invalid XML data, QTP shows me this message:


The createOffer operation call failed.
The .NET Framework 2.0 WSE 3.0 toolkit returned the following error:
There is an error in XML document (37, 10).

Exception from: System.Xml
The string '' is not a valid AllXsd value.
Line (24):
Code:
"Set createOffer = WebService("WSOfferImplService").createOffer(XMLWarehouse("createOffer"))".

But I need to send invalidad data, i'm generating negative testcases. What can I do to send it.
Thanks for your time.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Testing Web Services sohalshah 10 8,745 04-17-2014, 01:29 AM
Last Post: Tp123
  Query on Web services:web services using QTP VVKumar 0 1,736 10-03-2013, 10:42 AM
Last Post: VVKumar
  Web Services Testing using QTP VVKumar 0 1,987 10-01-2013, 01:13 PM
Last Post: VVKumar
  Issue in Web services with QTP. qtpexpert 6 4,239 05-10-2013, 04:33 PM
Last Post: qtpexpert
  Does anyone use QTP to test Web Services? lbc_rider 4 8,843 06-02-2009, 01:13 AM
Last Post: RaghunadhKiran

Forum Jump:


Users browsing this thread: 1 Guest(s)