Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <ol> <li>Use XML to retrive list of images.(Store it on server or get it from web service)</li> <li>Use NSXmlParser to parse and get image URL.</li> <li><p>Use this for getting image. [NSData dataWithContentsOfURL:&lt;#(NSURL *)url#>] OR Use following.</p> <pre><code> NSURL *url = [NSURL URLWithString:[fileUrl stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]]; NSMutableURLRequest *theRequest = [NSMutableURLRequest requestWithURL:url]; [theRequest setHTTPMethod:@"POST"]; webData = [[NSMutableData alloc] init]; NSURLConnection *theConnection = [[NSURLConnection alloc] initWithRequest:theRequest delegate:self startImmediately:YES]; </code></pre></li> </ol> <p>Or SOAP code</p> <pre><code> NSURL *url = [NSURL URLWithString:@"&lt;URL&gt;"]; NSMutableURLRequest *theRequest = [NSMutableURLRequest requestWithURL:url]; theRequest = [NSMutableURLRequest requestWithURL:url]; NSString *msgLength = [NSString stringWithFormat:@"%d", [soapMessage length]]; [theRequest addValue: @"text/xml; charset=utf-8" forHTTPHeaderField:@"Content- Type"]; [theRequest addValue: @"&lt;ADD Value Here&gt;" forHTTPHeaderField:@"SOAPAction"]; [theRequest addValue: msgLength forHTTPHeaderField:@"Content-Length"]; [theRequest setHTTPMethod:@"POST"]; [theRequest setHTTPBody: [soapMessage dataUsingEncoding:NSUTF8StringEncoding]]; NSURLConnection theConnection = [[NSURLConnection alloc] initWithRequest:theRequest delegate:self startImmediately:YES]; </code></pre> <p>In above if you are passing URL of file to some web service as request and it returns XML with with file data bound in it then parse it through NSXmlParser and in following method write data in file. <code></p> <p>-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName{</p> <p></code></p> <p>write here if you need any further assistance. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload