Я использую php soap-client и пытаюсь передать дополнительные URL-параметры, которые являются частью метода действия, но безуспешно.
Это базовый URL:
http://example.com/Some_WebServices/Items_Service.asmx
И вот что мне нужно:
http://example.com/Some_WebServices/Items_Service.asmx/MyRequiredMethod?some_params=xxx
Я пытаюсь (не работает!):
$params = [array of other params (not related to the url ones.)]; $url = 'http://example.com/Some_WebServices/Items_Service.asmx?WSDL'; $client = new SoapClient($url); $res = $client->MyRequiredMethod($params);
Что я делаю не так? Помощь будет оценена.