Hi

I am doing an API application now. I sent the request using soap. I received the response back in xml format.

For simple example i sent the request as

<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:fram="http://framework.zend.com">
<soapenv:Header/>
<soapenv:Body>
<fram:getVersion/>
</soapenv:Body>
</soapenv:Envelope>

Received Response as

<SOAP-ENV:Envelope xmlns:SOAPENV="
http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://framework.zend.com">
<SOAP-ENV:Body>
<ns1:getVersionResponse>
<return>0.1</return>
</ns1:getVersionResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


How can i convert this response to PHP? Pls help me...its very urgent

thank you

Recommended Answers

All 2 Replies

Thank you for your reply..I got the result..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.