title: set Response to client from SOAP Envelope
body: <p>I have a WCF client with a custom behavior that intercepts the SOAP request.
  In BeforeSendRequest in the client I get the SOAP request and pass it to another WS as parameter. The other WS posts the SOAP envelope to the real service that client wants to invoke and returns the SOAP Response back to client.
  So in BeforeSendRequest the intermediary service returns the real SOAP response as a string back to client.</p>
  
  <pre><code>public object BeforeSendRequest(ref System.ServiceModel.Channels.Message request, IClientChannel channel)
  {
    string soapResponse = myotherProxy.CallService(request.ToString());
    return null;
  }
  </code></pre>
  
  <p>How can i set the returned SOAP response (soapResponse) as the real response in the client?</p>
  
  <p>Hope someone can help :)</p>
  
  <p>Thank you,
  Adrya</p>