Forum Discussion
AlexKaras
13 years agoChampion Level 3
Hi Praveen,
I'm afraid that I need to ask you for the files generated by TestComplete for the web service or for the WebService Editor window screenshot with expanded relevant nodes in order to be able to give you more or less useful answer. We may try some private means if you think that such information can not be published here. (Obviously, confidentiality from my side is guaranteed.)
Otherwise, below are my general considerations:
-- I think that UserVO object is irrelevant for the FleetManagementService because it (UserVO object) belongs to the LoginService web service;
-- I think that you should consult with developers and ask them if there is some required sequence of calls of FleetManagementService web service methods. I can imagine two scenarios:
a) it may be required to call some method initially and provide authentication data as its parameters. On successful authenticaiton the method will return some data that must be used as one of the parameters for all other methods; and
b) there is no method required to be called initially and authentication data must be provided as a parameters for any method.
-- In any case, I think that your code
Set TypeFactory = WebServices.FleetManagementService.TypeFactory
Set HomeGprsIpVO = TypeFactory.HomeGprsIpVO
HomeGprsIpVO.gprsId=null
...
res=WebServices.FleetManagementService.createHomeGPRSIP(HomeGprsIpVO)
should work. Have you tried it and see what is send to the network by using Fiddler, for example?
I'm afraid that I need to ask you for the files generated by TestComplete for the web service or for the WebService Editor window screenshot with expanded relevant nodes in order to be able to give you more or less useful answer. We may try some private means if you think that such information can not be published here. (Obviously, confidentiality from my side is guaranteed.)
Otherwise, below are my general considerations:
-- I think that UserVO object is irrelevant for the FleetManagementService because it (UserVO object) belongs to the LoginService web service;
-- I think that you should consult with developers and ask them if there is some required sequence of calls of FleetManagementService web service methods. I can imagine two scenarios:
a) it may be required to call some method initially and provide authentication data as its parameters. On successful authenticaiton the method will return some data that must be used as one of the parameters for all other methods; and
b) there is no method required to be called initially and authentication data must be provided as a parameters for any method.
-- In any case, I think that your code
Set TypeFactory = WebServices.FleetManagementService.TypeFactory
Set HomeGprsIpVO = TypeFactory.HomeGprsIpVO
HomeGprsIpVO.gprsId=null
...
res=WebServices.FleetManagementService.createHomeGPRSIP(HomeGprsIpVO)
should work. Have you tried it and see what is send to the network by using Fiddler, for example?
Related Content
Recent Discussions
- 3 years ago
- 3 years ago
- 4 years ago