title: Call WCF Using SOAP call
body: <p>I want to call a WCF service using SOAP?</p>
  
  <p>this is my contract:</p>
  
  <pre><code>[ServiceContract(Namespace = "http://www.MySite.com/Services/TransferFile")]
  public interface ITransferFile : ICloseableAndAbortable
  {
      /// &lt;summary&gt;
      /// This will send the file which is associated with this rule to all the subscribers.
      /// &lt;/summary&gt;
      /// &lt;param name="ruleId"&gt;&lt;/param&gt;
      [OperationContract]
      void ByRuleId(int ruleId);
  }
  </code></pre>
  
  <p>the binding is currently set to this, will i need to change it?</p>
  
  <pre><code>&lt;endpoint address="" binding="wsHttpBinding" contract="FileTransfer.Wcf.ITransferFile"&gt;
  </code></pre>
  
  <p>so how would i call it via soap? for example using the (HttpWebRequest)WebRequest</p>
  
  <p>Many thanks in advance</p>