Я хочу выполнить базовую аутентификацию с использованием клиента SOAP.
Мне нужен пример кода клиента SOAP в PHP.
Пожалуйста, обратитесь к приведенному ниже XML.
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <Login xmlns="http://example.com/"> <userName>string</userName> <password>string</password> </Login> </soap:Header> <soap:Body> <GetAll xmlns="http://example.com/" /> </soap:Body> </soap:Envelope>