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.