Hi All,
Can someone please give an example on how to set the username and password when calling a webservice? Can this be done with the new RESTClient object and how?
Thanks.
Best Regards,
Ricardo
Hi All,
Can someone please give an example on how to set the username and password when calling a webservice? Can this be done with the new RESTClient object and how?
Thanks.
Best Regards,
Ricardo
Without getting into too much detail, the webservice function I'm trying to call is offered over a soap interface. A user can log in to the provider's website and generate a comprehensive report. The provider gave me a copy of the wsdl so that we can integrate the report into our PB application. So I created a webservice proxy, but there is no function in their webservice to pass the userid and password. I tried using MS XMLHTTP COM component to perform the HTTP POST instead and passing the XML request with the security header and I'm able to call the function successfully then just parsed the XML response. However, I'm not getting all the data I'm expecting to get in the response, judging by the structure generated by the webservice proxy when I tried using soap and the report generated when done directly in the provider's website. So I was wondering with PB2017 R2, if there's a way now of using soap to pass the user credentials before invoking the webservice function, or if there's another way of doing this.
Thanks.
Best Regards,
Ricardo