title: How to construct message for WCF request message in Biztalk 2010
body: <p>I'm new to BizTalk, can anyone help me to work out the following scenario in BizTalk 2010?</p>
  
  <p>In BizTalk orchestration, a message (xml) needs to be sent to a WCF service as a param; the service will return a message as a result. As shown in the screenshot below.</p>
  
  <p><img src="https://i.stack.imgur.com/E13mx.png" alt="enter image description here"></p>
  
  <p>My problem and question is how to construct the 'SimRequest' message, which is an auto generated message part from WCF (when I use 'Add generated items' for consuming WCF), the another message part is 'SimResponse'.</p>
  
  <p>This is my expression for Message Assignment Shape:</p>
  
  <pre><code>varIncomingMessage = msgPI;
  
  varStringParam = varIncomingMessage.OuterXml;
  varOutMessage.LoadXml("I dont know what should be put here. Hard code the data schema of the SimRequest Message?");
  msgSimRequest.parameters = varOutMessage;
  msgSimRequest.parameters.msg = varStringParam;
  </code></pre>
  
  <p>Please let me know if my question is not clear or you need more info from me. Thanks in advance.</p>
  
  <p>Zalan</p>