H
H
heavig22018-09-12 13:59:47
PHP
heavig2, 2018-09-12 13:59:47

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

1 answer(s)
M
Maxim Timofeev, 2018-09-12
@webinar

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 question

Ask a Question

731 491 924 answers to any question