• 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
SOAP and WebServices
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SOAP and WebServices


  • Subject: SOAP and WebServices
  • From: Alexander von Below <email@hidden>
  • Date: Tue, 16 Aug 2005 21:06:19 +0200

Dear List,

I am not sure if this is the right place, but I can not find any better list.

We are building a Cocoa App which heavily relies on SOAP requests, and we are using the WebServicesCore.framework (1)

Generally that works OK, but when we are trying to re-use one of our request (a subclass of WSGeneratedObj), the app crashes.

With re-use, I mean something like this (this is an example only):

returnedResult =  [SOAPRequest getResultDictionary];

// this call works

[SOAPRequest reset];
returnedResult =  [SOAPRequest getResultDictionary];
// this call fails

In the second call, a "EXC_BAD_ACCESS" is triggered in HTTPClosureSource::processBuffer, after our app called

WSMethodInvocationScheduleWithRunLoop(invocation, CFRunLoopGetCurrent (), wsGeneratedMode); and the run loop is running.

(This seems to be a genuine bug, and I will file it as such)

However my questions are:

- Has someone found a workaround to "re-use" the objects?
- Is it worth to abandon the WebServices framework altogether, and look for alternatives?


For those who are looking to use SOAP in their Cocoa apps, I have a nice little sample using the google SOAP api. I will "polish" it a bit more and post it, but if somebody wants it right now then please send me a message.

Thanks and bye

Alex




1) http://developer.apple.com/documentation/Networking/Conceptual/ UsingWebservices/


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • RE: SOAP and WebServices
      • From: "Byron Wright" <email@hidden>
  • Prev by Date: Problem with NSComboBox's enabled binding
  • Next by Date: Re: Resizing an image and representing it in JPEG form
  • Previous by thread: Problem with NSComboBox's enabled binding
  • Next by thread: RE: SOAP and WebServices
  • Index(es):
    • Date
    • Thread