• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WebService requests returning nil
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WebService requests returning nil


  • Subject: WebService requests returning nil
  • From: spike grobstein <email@hidden>
  • Date: Fri, 6 Apr 2007 12:37:45 -0400

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

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: WebService requests returning nil
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: Keyboard Loop in Programmatically Created Window
  • Next by Date: pointer address changes for no reason
  • Previous by thread: Re: OpenGL and CoreImage
  • Next by thread: Re: WebService requests returning nil
  • Index(es):
    • Date
    • Thread