I would like to send a soap response which is pure xml i.e without a soap envelope. This is my current response
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://tempuri.org/">
<SOAP-ENV:Body>
<ns1:getMemberResponse>
<User>
<ValidationErrors/>
<IsDeleted>false</IsDeleted>
<ID>1691</ID>......
However, this is the response I would like to send
<User xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ValidationErrors />
<IsDeleted>false</IsDeleted>
<ID>1691</ID>.....
Does anyone have any suggestions?
Many thanks in advance