HTTP request error using Flex 2 on mac osx

This may be of some help to some, a simple solution to a simple silly problem….

Today I delved into compiling a datgrid with data from an xml file via HTTService on mac osx (something I have only done on windows so far) and generated this error:

RPC Fault faultString=”HTTP request error” faultCode=”Server.Error.Request”

My code was:

url="assets\datagriddata.xml"
result="beats = srv.lastResult.styles.item"/>

Problem solved with a simple flip of the backward slash in the url so it read:

url="assets/datagriddata.xml"

This entry was posted in Flex. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

One Comment

  1. badal
    Posted June 10, 2009 at 8:40 pm | Permalink

    Thanks dude…i was facing the same problem for more than 5 hours….just changing the slash direction did the trick

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • FreeAgent sign-up


  • Recent Posts

  • Categories