|
|
Hi All,
wondering if anyone has seen this...I am using basic auth, and when the service returns a 401 the simulator just hangs and the call the the execute method never returns, here is the code snippet:
credential = [[[WindowsCredential alloc] initWithUserName:u password:p] autorelease];
//Create the proxy to the service
self.bankEntities = [[y_bank_service alloc]
initWithUri:@"http://servername/bank_service/"
credential:credential];
QueryOperationResponse *response = [self.bankEntities execute:@"Banks"];
if (response.m_statusCode == 200)
return self;
else
return nil;
Works fine with user and password is correct and 200 code is returned...anyway, in the debug console I can see that authentication required gets sent back to the simulator, but it just hangs from there...any ideas? Am I doing something wrong here or
is this a bug? That said, I find it hard to believe that something as basic as this would be a bug, so I am assuming I have something wrong going on.
Thanks for the help!
Jeff
|
|