title: How to use WSDL for iPhone app?
body: <p>I am trying to use a public web service in my iPhone app and I am not sure how to use WSDL. For example I have this <a href="http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL" rel="nofollow">WSDL</a>. Now what XML or SOAP do I have to send to use this service?</p>
  
  <p>Something similar to what I used in a demo SOAP msg:</p>
  
  <pre><code>&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n"
      "&lt;soap:Envelope \n"
      "xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" \n"
      "xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" \n" 
      "xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\" \n"
      "soap:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" \n"
      "xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"&gt; \n"
      "&lt;soap:Body&gt; \n"
                         "&lt;CelsiusToFahrenheit xmlns=\"http://tempuri.org/\"&gt;\n"
                         "&lt;Celsius&gt;23&lt;/Celsius&gt;\n"
                         "&lt;/CelsiusToFahrenheit&gt;\n"
      "&lt;/soap:Body&gt; \n"
                         "&lt;/soap:Envelope&gt;
  </code></pre>