title: use of targetNamespace in wsdl
body: <p>Why we use the targetNamespace in a wsdl file in web service, what is the actual purpose of targetNamespace ? I have a web service on <a href="http://example.com/webservice/catalog.php" rel="nofollow">http://example.com/webservice/catalog.php</a>, I want to access the web service through a wordpress plugin. My plugins wsdl file is like below</p>
  
  <pre><code>&lt;definitions name='shop'
    targetNamespace='http://example.com/soap/'
    xmlns:tns='http://example.com/soap/'
  .
  .
  .
  .
  &lt;service name='CatalogService'&gt;
      &lt;port name='CatalogPort' binding='CatalogBinding'&gt;
        &lt;soap:address location='http://example.com/webservice/soap-server.php'/&gt;
      &lt;/port&gt;
    &lt;/service&gt;
  </code></pre>
  
  <p>I wrote to see some example below two lines, is it ok?</p>
  
  <pre><code>targetNamespace='http://example.com/soap/'
  xmlns:tns='http://example.com/soap/'
  </code></pre>
  
  <p>I can not understand what is the actual purpose of targetNamespace in wsdl file.</p>