+ 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!