• 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
(no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


  • Subject: (no subject)
  • From: Ondra Cada <email@hidden>
  • Date: Tue, 17 Feb 2004 18:43:15 +0100

Hi all,

I am getting in a Cocoa/WebServices client a SOAP response containing an undeclared array, something like this:

<soap:Envelope ...><soap:Body>
<Test_ResultResponse xmlns="http://www.radek.st/webservices/";>
<Test_ResultResult>
<ResultItem> ... </ResultItem>
<ResultItem> ... </ResultItem>
</Test_ResultResult>
</Test_ResultResponse>
</soap:Body></soap:Envelope>

Now, the current parser does not make it: it constructs a Test_ResultResult to be a dictionary, losing thus all ResultItems but the last one. Since I cannot change the SOAP server sends me, I need a workaround: is there one, short of parsing the whole SOAP (extracted from a debug information) myself?

I've played a bit with WSMethodInvocationAddDeserializationOverride, but so far as I can say it seems to be type-based, and cannot be used for items without an explicit type attribute (well if I am wrong, let me please know).

TIA,
---
Ondra Hada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: creating an NSImage from an NSMovie
  • Next by Date: iTunes like 'diamond' progress indicator
  • Previous by thread: Re: addTabViewItem exception was:(no subject)
  • Next by thread: (no subject)
  • Index(es):
    • Date
    • Thread