php ile soap kullanarak aşağıdaki gibi istek yolluyorum ama "Kullanıcı adı veya şifre hatalı." dönüyor. burada hata var mı? destek ekibine yazdım sistemde şuan sorun yok dediler.
$this->client = new Client($config['surat']);
$result = $this->client->getShipments($startDate, $endDate);
public function getShipments($startDate, $endDate)
{
$params = [
'GonderenCariKodu' => 'carikodu',
'WebPassword' => 'şifre',
'BasTar' => $startDate,
'BitTar' => $endDate,
'IsWebSiparisKoduOlsun' => false
];
return $this->requestManager->request('CariKoduveSifre', $params);
}Request manager classı;
public function __construct($wsdl)
{
$this->client = new SoapClient($wsdl, ['trace' => 1, 'cache_wsdl' => WSDL_CACHE_NONE]);
}
public function request($method, $params)
{
return $this->client->$method($params);
}