[flexcoders] DIfferent behaviours in Flex 3 on XP and OS X with RESTful services?

2010-06-10 Thread Paul Sanders
I have a Flex web app that uses a RESTful API to fetch data. In one instance, the server returns a 204 NO CONTENT if a requested resource is not available yet. On XP (in IE) the fault method gets fired but the status code is 0 rather than 204 (which I don't understand) but I can trap for that

[flexcoders] Problem with RESTful web services and Flex on OS X

2010-06-09 Thread Paul Sanders
I have a Flex app that makes RESTful calls to a server and it works just fine on my Windows XP machine. One of the APIs returns a 404 NOT FOUND error if a requested record is not found and my Command object traps that in the fault method and sets up an empty Value Object as the result to pass

[flexcoders] Help wanted with HTTPService with SSL and unsigned certificates

2010-05-14 Thread Paul Sanders
Our app sends data to a Java web application over SSL but has an unsigned certificate. If you go there with a web browser you get the certificate might be invalid, proceed with caution etc warning. With HTTPService and Flex we get an HTTPStatusEvent with code 0, and an IOErrorEvent, thereby

[flexcoders] Re: Help wanted with HTTPService with SSL and unsigned certificates

2010-05-14 Thread Paul Sanders
Ah, that seems to work. So it's really the browser that is messing me up, not Flex. I can see then why there's no way around it from within the code. Thanks for the suggestion. Paul --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: Our company uses its own self signed

[flexcoders] Re: Creating a build.xml for a project that uses as3corelib

2010-02-17 Thread Paul Sanders
because it compiles just fine from inside FB. Anyway, let me try your idea. Cheers Paul --- In flexcoders@yahoogroups.com, Paul Sanders tendancer@ wrote: I have a Flex project that uses as3corelib for JSON coding and decoding and it builds and deploys fine within FlexBuilder but I cannot

[flexcoders] Creating a build.xml for a project that uses as3corelib

2010-02-12 Thread Paul Sanders
I have a Flex project that uses as3corelib for JSON coding and decoding and it builds and deploys fine within FlexBuilder but I cannot get my regular build.xml file to compile it from the command line. I get the following: [mxmlc] Loading configuration file