Note that there are some explanatory texts on larger screens.

plurals
  1. USSpynet
    primarykey
    data
    text
    <p><h1> Teach me the rules.... I will teach the way to reach the goal....</p> <p><a href="https://github.com/spynet" rel="nofollow noreferrer">My git: Spynet</a></p> <p>அருண் திருநாவுகரசு </p> <p>ஒழுக்கம் விழுப்பந் தரலான் ஒழுக்கம்<br> உயிரினும் ஓம்பப் படும்.</p> <p><a href="http://stackoverflow.com/users/1138140/spynet"> profile for Spynet at Stack Overflow, Q&amp;A for professional and enthusiast programmers http://stackoverflow.com/users/flair/1138140.png </a></p> <p> </H1><br> <H3></h3><br> <HR> <a href="http://spring.io/understanding/REST" rel="nofollow noreferrer"> Rest </a> " <HR> The Soap request <HR> NSError *xmlError = nil;</p> <pre><code>NSString *requestHeader = [self prepareRequestPayload]; requestHeader = [NSString stringWithFormat:@"inputXml=%@", requestHeader]; NSMutableURLRequest *URLRequest = [[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://172.16.0.217:5078/CsService.asmx/InitialSynchronization"]]]; [URLRequest setHTTPMethod:@"POST"]; [URLRequest setCachePolicy:NSURLRequestReloadIgnoringLocalCacheData]; [URLRequest setValue:@"application/x-www-form-urlencoded" forHTTPHeaderField:@"Content-Type"]; [URLRequest setHTTPBody:[requestHeader dataUsingEncoding:NSUTF8StringEncoding]]; NSURLResponse *URLResponse; NSData *responseData = [NSURLConnection sendSynchronousRequest:URLRequest returningResponse:&amp;URLResponse error:&amp;xmlError]; if (xmlError) { *error = [NSError errorWithDomain:@"Response error" code:0 userInfo:@{NSLocalizedDescriptionKey: @"Remote server not responding"}]; NSLog(@"Error occured"); return NO; } else { DDXMLDocument *xmlDocument = [[DDXMLDocument alloc]initWithData:responseData options:0 error:&amp;xmlError]; DDXMLNode * node = [[xmlDocument nodesForXPath:@"//Error" error:&amp;xmlError] firstObject]; for (DDXMLElement *check in [node children]) { NSString *error = [check stringValue]; NSLog(@"The error : %@",error); } *error = [NSError errorWithDomain:@"Response error" code:0 userInfo:@{NSLocalizedDescriptionKey: @"There is no data returned from server"}]; return NO; } </code></pre> <p><a href="http://yuvarajmanickam.wordpress.com/2012/10/17/nsurlconnection-basics-for-ios-beginners/" rel="nofollow noreferrer">http://yuvarajmanickam.wordpress.com/2012/10/17/nsurlconnection-basics-for-ios-beginners/</a> "</p> <p>⌘ அருண் . திரு </p> <p><a href="http://www.friends2support.org/inner/news/donorRegistration.aspx" rel="nofollow noreferrer">http://www.friends2support.org/inner/news/donorRegistration.aspx</a></p> <p> <img src="https://i.stack.imgur.com/Kwtib.png" alt="logo"></p>
    plurals
 

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