function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
cwoodcwood 

Using retrieve with multiple ID's

This question has been asked a couple of times before (and apparently answered) but I still can't figure out how to get it working. I want to call retrieve (from PHP) and pass it multiple ID's in an array. But when I do, I get the following error:

org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.

It works fine when I pass a single ID (as a string). Is there a fix, or a workaround, or anything that can get me where I need to go?

Much thanks in advance,
Charlie
cwoodcwood
I found the solution to this bug.

http://forums.sforce.com/sforce/board/message?board.id=PerlDevelopment&message.id=604

Thanks!