|
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: 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. |
- [flexcoders] Flex 1.5 HTTPService Fault: An XML eleme... Andrew D, Goodfellow
- [flexcoders] Resize container to the size of its... Sergey Kovalyov
- Re: [flexcoders] Resize container to the siz... Andriy Panas
- RE: [flexcoders] Flex 1.5 HTTPService Fault: An ... Tracy Spratt
- Re: [flexcoders] Flex 1.5 HTTPService Fault:... Andrew D. Goodfellow
- RE: [flexcoders] Flex 1.5 HTTPService Fault: An ... Tracy Spratt

