Micro Focus QTP (UFT) Forums
Web Service Automation error - 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: Web Service Automation error (/Thread-Web-Service-Automation-error)



Web Service Automation error - Ajay Hoskote Somashekar - 01-04-2011

Hello All,

I currently automating Web Services using the Web Service Test Wizard, during the execution i faced following error.

The GracIdmEupDataTest 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.

Line (3):
Code:
"Set GracIdmEupDataTest = WebService("GRAC_EUP_CONFIG_DATA_WSService").GracIdmEupDataTest(XMLWarehouse("GracIdmEupDataTest3"))".
Can you please help to solve this.

Thanks,
Ajay


RE: Web Service Automation error - Saket - 01-04-2011

Make sure you are authorized to access the service, if so you will need to pass the credentials at wizard.