Запрос :
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://someslite.com/soap/version115/"
xmlns:ns2="Authentification" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Header>
<ns2:verifyingToken>
<UserID>UserID</UserID>
<Token>Token</Token>
</ns2:verifyingToken>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:GetPlentyMarketsVersion/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
как реализовать на php ? Особенность в том что параметры Token и UserID Должны быть в "Header" а не в Body.
пробовал так :
$apiFunction = $client->GetPlentyMarketsVersion(["Token"=>$Token, "UserID"=>$UserID]);`
Результат :
Unauthorized Request - Token required
Продвижение своими сайтами как стратегия роста и независимости