title: What is the use of target namespace and SOAP endpoint in a SOAP request using savon gem
body: <p>What is the use of  target namespace and SOAP endpoint and where to get these in a SOAP request using savon gem?</p>
  
  <p>I'm using <a href="http://savonrb.com/version2/" rel="nofollow">savon</a> gem to send a soap request. 
  From the documentation it says that:</p>
  
  <pre><code>In case your service doesn't have a WSDL,then Savon needs to know about the SOAP endpoint and target namespace of your service.
  
  client = Savon.client do
    endpoint "http://example.com"
    namespace "http://v1.example.com"
  end
  </code></pre>
  
  <p>It is not quite clear from where I will get  SOAP endpoint and target namespace details. </p>
  
  <p>It will be great if you can explain in reference with this document:</p>
  
  <p><a href="http://service.smartadserver.com/v29/service.asmx?op=AddInsertion" rel="nofollow">http://service.smartadserver.com/v29/service.asmx?op=AddInsertion</a></p>