Another thought: AS3 seems to have a generic Socket class. Is there
anything like this in AS2?

Thanks,
Vishal


On 4/28/07, Vishal Kapur <[EMAIL PROTECTED]> wrote:
I am loading an XML response from a web service using XML.load().  The
web service is defined such that when a request is made with
parameters that are not in the bounds of the application, it will
return an XML response with an error code/message.  This response will
have an HTTP header status of 400 (Bad Request).

When I use XML.load(), however, I find that the XML in the body of the
error response does not get loaded into the XML object.  It looks like
whenever the HTTP response comes back with a status that indicates an
error, the body of the response is thrown away.  I would like to be
able to get the body of the response in all cases.

Does anyone know of a way around this?  Or is there another class that
is more appropriate for what I am trying to do?

Thanks,
Vishal

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to