title: Make Soap Client To The WSDL Web Service
body: <p>I want to make soap client to the WSDL web service. I will give it soap xml request and then it return soap response xml. And i searched tutorial to make request. I find this stackoverflow question.It is:</p>
  
  <p><a href="https://stackoverflow.com/questions/4791794/client-to-send-soap-request-and-received-response">Client to send SOAP request and received response
  </a></p>
  
  <p>With this question i can get response xml from wsdl web service. But I don't want to use soap request xml as string like as: </p>
  
  <pre><code>soapEnvelop.LoadXml(@"&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV=""http://schemas.xmlsoap.org/soap/envelope/"" xmlns:xsi=""http://www.w3.org/1999/XMLSchema-instance"" xmlns:xsd=""http://www.w3.org/1999/XMLSchema""&gt;&lt;SOAP-ENV:Body&gt;&lt;HelloWorld xmlns=""http://tempuri.org/"" SOAP-ENV:encodingStyle=""http://schemas.xmlsoap.org/soap/encoding/""&gt;&lt;int1 xsi:type=""xsd:integer""&gt;12&lt;/int1&gt;&lt;int2 xsi:type=""xsd:integer""&gt;32&lt;/int2&gt;&lt;/HelloWorld&gt;&lt;/SOAP-ENV:Body&gt;&lt;/SOAP-ENV:Envelope&gt;");
  </code></pre>
  
  <p>I want to create this request xml with c# code. So that i searched tutorial again. And i find this tutorial: </p>
  
  <p><a href="https://social.msdn.microsoft.com/Forums/vstudio/en-US/ed36e83f-9b0a-4a73-8ca3-1b9ecb524f06/how-to-construct-a-soap-service-request-using-c-for-httpwebrequest?forum=wcf" rel="nofollow noreferrer">How to construct a soap service request using C# for HTTPWebRequest?</a></p>
  
  <p>But i can't merge this two tutorial. I am new this subject. How can i create soap request without using string soap xml to get soap xml response. The response can be xml as string. Because i can parse it in web page with javascript. </p>
  
  <p><strong>Thanks for your suggestions.</strong></p>