webServices error in QTP - for Object repository
while trying to get the values i am getting an pop up error with this description
=> The “getMemberRewards” operation may not defined in you web service
=> Make sure you wsdl is available
=> The service and port properties for the LoyaltyProxyService test object are defined correctly in the object repository
Re: webServices error in QTP - for Object repository
Have you verified your calling params to the WebService, sounds like the service name and port are recognised but the call name is not. Are you sure that getMemberRewards is the correct name and is available on that service/port.
You could try a 'native' call using DP, here's a call I have used in the past, you will need to change it to suit your call params:
' Define INT3 WebService
wsURL = "wsdl:=http://22.214.171.124:8080/MyWebServices/WebServiceName?WSDL"
' Define service & port
wsService = "service:=GenericSQLExecutorService"
wsPort = "port:=STFSQLExecutionService"
' Define Webservice calling parameters
param1 = "Select * From PERSON Where PID= '9800529284'"
param2 = "my.database"
' Call to the WebService
wsResponse = WebService(wsURL ,wsService,wsPort).executeSQLByDBName(param1,param 2)