PHP AND SOAP. Change envelope
Posted
by Oleg
on Stack Overflow
See other posts from Stack Overflow
or by Oleg
Published on 2010-03-16T18:11:14Z
Indexed on
2010/03/20
13:21 UTC
Read the original article
Hit count: 596
Hi All!!! It is many questions there about PHP and SOAP. But I am not found answer on my situation.
So. I use PHP SoapClient and WSDL for it. Object sends this:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.site.com"><SOAP-ENV:Body>
But I need this:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body>
Question. How I can do this with standard PHP class SoapClient?
Thank you.
© Stack Overflow or respective owner