Micro Focus QTP (UFT) Forums
Need Help!Question:WebService testing error using QTP - 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 Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Need Help!Question:WebService testing error using QTP (/Thread-Need-Help-Question-WebService-testing-error-using-QTP)



Need Help!Question:WebService testing error using QTP - lryxjl - 11-14-2010

1. When I invoke our practice WebService, I encounter error.

Regarding this error, I think the input/output need to be a XML structure and I have to retrieve the XML then get the result data I need to compare to Checkpoint.

But I don’t understand what this error means, may be there are something wrong with the Input XML “DB_SEL_OUT_ShoppingItemSelect” when use XMLWarehouse

to invoke it.



error msg:

WSE202: The Action header is required when other address headers are present.

Line (2):
Code:
"Set DB_SEL_OUT_ShoppingItemsSelect = WebService("WebService_getShoppingItems").DB_SEL_OUT_ShoppingItemsSelect(XMLWarehouse("DB_SEL_OUT_ShoppingItemsSelect"))"
.






2. I tried to find other methods which focus on retrieve XML structure so I can get the result data, and I got kind of solution through

help document as below.

HP QuickTest Professional Add-ins Guide > Web Services Add-in > Working with XML Data > Working with XML Data Operations



According to the help, I can use the parameterized Departure XML structure as the argument for the Find method to retrieve the XML,

It’s exactly what I want.

But, I can't get this method Find in the QTP Expert View and have no idea why.

I AM wondering whether we need extra files/classes to active this method or something else…



Can anyone help me?It's urgent case.