Media type unsupported error is showing while accessing HTTPS webservice using soap in IOS
<p><strong>Code</strong>:</p>

<pre><code> NSData *returnData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];

 NSLog(@"returndata is %@",returnData);
</code></pre>

<p><strong>output</strong>:</p>

<blockquote>
  <p>&lt;54686520 73657276 65722063 616e6e6f 74207365 72766963 65207468 65207265 71756573 74206265 63617573></p>
</blockquote>

<p><strong>Code</strong>: </p>

<pre><code> NSString *returnString = [[NSString alloc] initWithData:returnData encoding:NSUTF8StringEncoding];

NSLog(@"returnString is %@",returnString);
</code></pre>

<p><strong>output</strong>:</p>

<blockquote>
  <p>returnString is "The server cannot service the request because the
  media type is unsupported".</p>
</blockquote>