Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP test webservice Unauthorized
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi All,
When I use QTP 9.5 to test webservice I met the issus as belowing:

The RetrieveDeviceKeysList operation call failed.
The .NET Framework 2.0 WSE 3.0 toolkit returned the following error:
Exception from: System.Web.Services
The request failed with HTTP status 401: Unauthorized.


This is pop up page
Code:
Set ssr0XML = WebService("ConfigurationManagementService").RetrieveDeviceKeysList(XMLWarehouse("RetrieveDeviceKeysListRequest2"))

The above are the code what I used in QTP, please tell me I should to do in QTP. Thank you very much...
Please give me a help, thank you. I up first....Give your suggestion, it may be a great help for me!
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
Most likely 'HTTP status 401: Unauthorized' is an error through webserver, there is nothing to do with the QTP script.

Reply
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi Saket,

I think we can send the username and pasword get the authorized. I have the username and password. But I donot know how to write the QTP script about sending the username and password...

Thanks
Kobe
Hi Saket,

Thanks for your suggestion, I think it should not be the issue...

Regards,
Kobe
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Webservice request without object repository anthony1carr 1 2,796 07-12-2013, 09:37 AM
Last Post: Staff
  Webservice error "Certificate is required to complete client authentication" pranjalipalkar 0 4,105 01-07-2013, 03:17 PM
Last Post: pranjalipalkar
  QTP webservice not valid weirise 0 2,318 10-24-2012, 02:19 PM
Last Post: weirise
  Get the Parent Folder name in Test Plan for a Test from Test Lab using QTP godsown 0 6,114 09-29-2011, 04:55 PM
Last Post: godsown
  Framework Webservice alfred.heijkoop 0 1,686 12-29-2008, 05:46 PM
Last Post: alfred.heijkoop

Forum Jump:


Users browsing this thread: 1 Guest(s)