| Ultrashock Forums
• AS3 - Error getting xml from web service |
|||
![]() |
||||
| Search this Thread | Thread Tools | Display Modes |
|
|
|||||||||||||||||||||||||
![]() |
Ultrashock Member Comments:
|
|
2009-03-25
#2 |
||
|
I just noticed (using HttpWatch) that the flash is getting a "500" back from the server when making the call. Any idea why calling the web service from the application directory would return a 500 when calling it from my local doesn't?
|
|
|
|
2009-03-25
#3 |
||
|
I just want you to know that I was stuck on this for 5+ hours and within 20 minutes of posting this I figured it out. I think asking questions is some sort of zen cleansing for the mind... Sorry for the question and retraction, but I figured it out. For those who may find this helpful in the future, the 2032 Error was indeed occurring because of a 500 response from the server. The flash was being sent a web service url as a flashvar param and the ampersand wasn't url encoded. Since flashvars are ampersand delimited name value pairs, the ampersand in the query string of the service url parameter was treated as the beginning of a new flashvar param and therefore the last (second) web service parameter was being truncated. Encoding the ampersand to %26 was all I needed. HttpWatch was the key in catching the 500 coming back to flash. |
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|


2 comments
| 541 views


Linear Mode