Answer the question
In order to leave comments, you need to log in
How to generate a SOAP request in PHP?
Good afternoon. There was a problem, I need to generate a SOAP request in php, but I never worked with it. I have been studying the documentation for several hours, until I can get it.
Are there experienced people?
You need to generate a query like this:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:proc="http://processing.cards.crystals.ru/">
<soapenv:Header/>
<soapenv:Body>
<proc:getActiveBonusAccounts>
<!--Optional:-->
<cardNumber>$card</cardNumber> <!--номер карты-->
</proc:getActiveBonusAccounts>
</soapenv:Body>
</soapenv:Envelope>
Answer the question
In order to leave comments, you need to log in
Where do you read?
php.net/manual/ru/book.soap.php
How to implement a SOAP request in PHP?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question