Answer the question
In order to leave comments, you need to log in
Soap php how to send requests to server?
You need to send this to the server from another server)
$host = "адрес";
$login = "test";
$password = "test";
$client = new SoapClient($host);
$request = new stdClass();
//что то еще
$result = $client->__call("", array($request));
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<GetTariffList xmlns="http://адрес.Services.Delivery/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<login> LOGIN</login>
<password>PASSWORD </password>
<contractID>CONTRACTID </contractID>
<tariffRateTypeId> </tariffRateTypeId>
</GetTariffList>
</s:Body>
</s:Envelope>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question