|XML-RPC: getchallenge: Can't use an undefined value as an ARRAY reference
||[Sep. 14th, 2006|02:24 pm]
LiveJournal Client Discussions
|||||Daler Mehndi - Tunak Tunak Tun||]|
I'm building a Flash based client and while trying to generate an XML-RPC call to "getchallenge" I'm getting this error message:
Application failed during request deserialization: Can't use an undefined value as an ARRAY reference at /usr/share/perl5/SOAP/Lite.pm line 1802.
Which leads me to believe that I've not defined a value in my call that the server expects. Can anyone clarify for me what value is being used in /usr/share/perl5/SOAP/Lite.pm line 1802...?
Thank you. :)
i was getting this error when i was dealing with PHP making a client in that.
i can't really suggest a way to fix it, except i got it sorted by using a different routine to sent the request, instead of sending it using the socket extension to PHP, i used fputs()
i didn't really change the XML i was sending, i changed the way i was generating it, but that didn't change the overall XML
i'm not too familiar with flash, so i can't really suggest anything other than is there some kind of XML-RPC lib for flash that could generate the XML and parse the returned XML for your application to read easily?
I have found an old XML-RPC library for Flash, but it's written in ActionScript 1.0, whereas I'm writing mine in 2.0.. and looking at it's code I don't see anything that I'm not doing in mine. So it would likely have the same error.
Thank you for the suggestion. :)