I am developing a SOAP Sever in PHP. There is a special requirement that this server should receive request with SOAP Envelop but while returning request it should not include any soap envelope.
Request Looks like this:
<?xml version="1.0"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://www.w3.org/2001/12/soap-envelope"
SOAP-ENV:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
<SOAP-ENV:Body xmlns:m="http://www.xyz.org/quotations">
<GetDetails>
<UserID>1<UserID>
</GetDetails>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Response should look like this:
<UserDetails>
<fame>ABC</fname>
<lame>XYZ</lname>
</UserDetails>
Kindly Help.