Re: NSURLRequest : Unable to Quit App after Syn call to Server.

2008-05-17 Thread Dominik Pich
// --- // 4) Convert Synchronous Data into Human-Readable String (Unicode 8) format: NSString *serverDataString = [[[NSString alloc] initWithData:serverData encoding:NSUTF8StringEncoding] retain]; This is an extra retain. [[soapResponse layoutManager

Re: NSURLRequest : Unable to Quit App after Syn call to Server.

2008-05-17 Thread Frederick C. Lee
Thanks for the editing. Your help is deeply appreciated! Ric. On May 16, 2008, at 10:53 AM, stephen joseph butler wrote: Your code is crashing because you have numerous pointer and memory management issues. On Thu, May 15, 2008 at 4:21 PM, <[EMAIL PROTECTED]> wrote: - (IBAction)startSOAP:(id)

Re: NSURLRequest : Unable to Quit App after Syn call to Server.

2008-05-16 Thread stephen joseph butler
Your code is crashing because you have numerous pointer and memory management issues. On Thu, May 15, 2008 at 4:21 PM, <[EMAIL PROTECTED]> wrote: > - (IBAction)startSOAP:(id)sender { >NSError **myError; NSError *myError; >NSHTTPURLResponse **serverResponse; NSHTTPURLResponse *serverResp

Re: NSURLRequest : Unable to Quit App after Syn call to Server. SOLVED???

2008-05-16 Thread fclee
I needed to modify the default 'GET' Response of the NSURLRequest to a 'POST'... So I changed 'NSURLRequest' to a 'NSMutableURLRequest' to modify the HTTPMethod: // --- // 2) Create the request. NSMutableURLRequest *theRequest=[NSMutableURLRequest reques

Re: NSURLRequest : Unable to Quit App after Syn call to Server.

2008-05-16 Thread fclee
On 05/15/2008 17:56 Jens Alfke wrote .. "...You should call [NSApp terminate: self] instead. " I did that; and repeated it. I'm running in debug mode. The program "works" till I QUIT via [NSApp terminate:self]. Now I'm getting (via gdb console {Running as a Cocoa App on my MacBookPro): Runni

Re: NSURLRequest : Unable to Quit App after Syn call to Server.

2008-05-15 Thread Jens Alfke
On 15 May '08, at 2:21 PM, [EMAIL PROTECTED] wrote: The Cocoa code below "works". I get data back from the server. However, I'm unable to QUIT this application after this particular routine passes through. I checked the Activity Monitor and can see a bunch of threads still in session

NSURLRequest : Unable to Quit App after Syn call to Server.

2008-05-15 Thread fclee
Greetings: The Cocoa code below "works". I get data back from the server. However, I'm unable to QUIT this application after this particular routine passes through. I checked the Activity Monitor and can see a bunch of threads still in session: Call graph: 1922 Thread_2503 1922