|
This probably means that the url is
returning an HTML formatted error instead of an XML formatted one. Try to find
out the error, catch it and format it as xml to return to Flex. Tracy From: Thanks On 12/30/05, Probably the returned xml is malformed. ;) Seriously, call the HTTPService url directly from a
browser. What you get back will probably show the problem. Ah, also, I am not sure that adding querystring data to the
url is supported. Instead, put your data into a request object and then
call the naked url. This way you can use POST, which can carry more data,
more securely, and with less issues with escaping. It is partially supported. I found this in the docs: url
Still, it is an ugly way to do it. Use the request Object. var sReqParam:String = "SEL_EVENT" + sWhatever; var oRequest:Object = new Object({sql: sReqParam }) eventHTTP.send(oRequest ); From: [email protected]
[mailto:[email protected]]
On Behalf Of Andrew D, Goodfellow Does anyone know why when I run this code I get an
error that says: "HTTPService Fault: An XML element was malformed."?
It seems to only happen when I escape things like & and # into the URL. -- SPONSORED
LINKS
YAHOO!
GROUPS LINKS
|

