title: How to post a webservice request from an xcode project
body: <p>I'm trying to generate a web service call from my iphone app.</p>
  
  <p>I'm working with web services for the the first time.</p>
  
  <p>I realize that an SOAP request would something like this:</p>
  
  <p>My actual web service is not on local.<br><br></p>
  
  <blockquote>
    <p>POST /MyFirstWebService.asmx HTTP/1.1<br> Host: localhost<br>
    Content-Type: text/xml; charset=utf-8<br> Content-Length: length<br>
    SOAPAction: "<a href="http://tempuri.org/HelloWorld" rel="nofollow">http://tempuri.org/HelloWorld</a>"<br></p>
    
    <p>&lt;?xml version="1.0" encoding="utf-8"?&gt;<br> &lt;soap:Envelope
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&gt;
    <br>xmlns:xsd="http://www.w3.org/2001/XMLSchema"<br>
    xmlns:soap="http://schemas.xmlsoap.org<br>/soap/envelope/"><br><br>
    &lt;soap:Body&gt;<br>
        &lt;HelloWorld xmlns="http://tempuri.org/" /&gt;<br>   &lt;/soap:Body&gt;<br> &lt;/soap:Envelope&gt;<br> </blockquote></p>
  
  
  <p><br></p>
  
  <p>I want the string hello world returned from the web service.</p>
  
  <p>What is the best way to do this?</p>
  
  <p>I have also read about a framework called JSON.</p>
  
  <p>Can that be useful here?</p>