-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jeremy Smith wrote: > I am trying to use Flash to connect to an axis2 service. Works OK. > But, unfortunately flash is a little bit slow in the head, and when a > (deliberate) exception is thrown in the service to create a fault, flash > sees the HTTP/500 error and only gives the error "Unable to connect to > URL". In other words, because of that status code, I can't get any > useful fault information inside of flash. I have read that if you just > send HTTP/200 OK (even though that is against the SOAP spec) that flash > will be able to cope and the exception handling will work properly. > > So the question is: is there any way I can tell axis (on Tomcat 5.5) to > send HTTP/200 even on a fault?
I see this same as building web browsers to render wrong or malformed htmls :). Anyway, I don't think you have a way to do this inside Axis2, unless you go and look in to the code. If you are desperate I can tell exactly where to change. Then you have to compile the code and use it (the open-source way.). If we do not wanna look at our ugly code, Roberts's suggestion will also work just fine. Chinthaka -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGVH8TjON2uBzUhh8RAih8AJ4/ylNqSO7aYgeRImFYh5FGrOY4vACfeTwp 0CCXLQFHIoF1Rs2feer+rHU= =D5H3 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
