E
E
evilelf2016-12-13 11:15:29
PHP
evilelf, 2016-12-13 11:15:29

Who can help to deal with SOAP Client in php?

Hello colleagues!
Please help me figure out SoapClient in php.
There is a server, there is no WSDL (SOAP-ENV)
There is a specified schema.
Request example:

<?xml version="1.0" encoding="utf-8"?> 
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ei="http://schemas.compassplus.com/mc/checkout.xsd"> 
<SOAP-ENV:Header/> 
<SOAP-ENV:Body> 
<ei:Request Language="RU" Challenge="f21ce99afd7c1883" PwdHashBlock="65EFB770FD7EEACE259FC7ECF36C8BF1A96B1C17"> 
<ei:Login>user1</ei:Login> 
<ei:CheckLogin/> 
</ei:Request> 
</SOAP-ENV:Body> 
</SOAP-ENV:Envelope>

Answer example:
<?xml version="1.0" encoding="utf-8"?> 
<SOAP-ENV:Envelope xmlns:SOAP-ENV=”http://schemas.xmlsoap.org/soap/envelope/” xmlns:ei="http://schemas.compassplus.com/mc/checkout.xsd"> 
<SOAP-ENV:Header/> 
<SOAP-ENV:Body> 
<ei:Response Result="Approved" Rrn="14043012340677"/> 
</SOAP-ENV:Body> 
</SOAP-ENV:Envelope>

There is also an address of the form: 192.12.2.1:5000
Questions:
1. What should be the location and uri? And what are their differences?
2. How to pass ei:Request with parameters to request?
3. How to pass ei:Login and ei:CheckLogin?
Whoever can will be very grateful!
Thanks everyone for the replies.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question