1 Reply Latest reply on Apr 28, 2010 2:47 PM by ShankarFlex3

    Handling HTTPService if it returns raw HTML

    grenvoy

      I have a flex application using HTTPService get get XML from tomcat.  We have some legacy classes that don't know about flex and try to redirect to another screen by passing the raw html for the page.

       

      Is there any way to check to see if the results are valid xml?  I could look for specific things, but I'm wondering if there is a way to verify that the results are XML.  Event.results are not null, it's just <html>blah blah blah</html>  So it kinda looks like xml