Skip navigation.
 
mlWebService requests returning nil
FROM : spike grobstein
DATE : Fri Apr 06 18:37:45 2007

Hey,

I'm working on a cocoa application that communicates to a server 
through SOAP transactions (server is Ubuntu Linux running Apache and 
PHP for the SOAP endpoint). I created my WSDL file and generated 
stubs using WSMakeStubs, then tried a couple of tests in cocoa and 
everything seems pretty straight forward and has worked quite nicely.

I'm using my application to submit information about files to the 
server, so I'm sending around several thousdand requests (3000 in my 
initial tests) to the server.

I start running into trouble at this point. The application 
successfully submits anywhere between 200 and 300 SOAP requests 
before it stops working. Subsequent SOAP calls return nil, rather 
than the NSNumber that they're supposed to.

At first, I thought it may be an issue with apache not being able to 
handle so many requests so fast, but upon deeper inspection with 
ethereal (network packet analyzer), I can see that no requests, nor 
TCP packets are even being sent. Every SOAP call returns nil until I 
quit the app and restart.

I've had the failure occur after as few as 5 requests, and, with the 
debugger turned on, I've gotten it to last to 1500 before returning a 
series of nil values. Most often, however, it does around 250 
successful calls.

My machine is a dual G5 with 2GB of RAM and I've got plenty of RAM 
available, so I wouldn't think it's a memory issue.

Has anyone else ever seen something like this happen? Is there 
anything I should change?

It seems like there's something wrong with the WebServiceCore 
framework somewhere to me.

Thanks in advance!



...spike

Related mailsAuthorDate
mlWebService requests returning nil spike grobstein Apr 6, 18:37
mlRe: WebService requests returning nil Jerry Krinock Apr 6, 19:45
mlRe: WebService requests returning nil spike grobstein Apr 6, 20:49
mlRe: WebService requests returning nil spike grobstein Apr 7, 18:54