07-21-2016 3:42 PM
Hello Community i have a problem when I call a Web Service, the reason is that always when I call the service always request me to set credentials.
I want to know if someone know how to set credentials since the code.
For example in PHP when I call a web service I do something like this:
$wsdl="http://localhost/wservice/ZWS_CALC.XML?WSDL";
$client=new nusoap_client($wsdl,'wsdl');
$client->setCredentials('Usr', 'Pass', 'basic');
$param=array('INum1'=>'80', 'INum2' => '19', 'IOpci' => 'M');
$resultado = $client->call('ZwsEjecWsdl', $param);
I need to know which could the reemplece of this piece of code in ABAP:
$client->setCredentials('Usr', 'Pass', 'basic');
Thanks in advance.
Regards.
07-22-2016 12:32 PM
Hi Ricardo,
depends on how you call the Web Service.
Best Regards, Ulrich
07-22-2016 12:32 PM
Hi Ricardo,
depends on how you call the Web Service.
Best Regards, Ulrich
07-22-2016 2:11 PM
Thanks a lot for your quick and correct answer, you're a master.
I'll do the required configuration to do that. But this is the solution.
Thank's again.
Best Regards. Ricardo.