Hi,

After debugging the JS code, found on the HTTPService.js class something
that I think is not ok.

The function org.apache.flex.net.HTTPService.prototype.send =
function(value) expects an argument, but that is not send, and the value of
the var "value" defaults to null.

Around line 320 there's the following code:
  if (value !== '')
  {
        contentData = value;
  }

I think the problem is here, as null is always not equivalent to ''
therefore contentData is set to null and send to the server as an empty
string.
Changed the class by commenting these piece of code, and I got the posted
data on the server side. Problem solved!
(I really needed this to start implementing AMF in JS)

Hope this helps in some way.




--
View this message in context: 
http://apache-flex-development.2333347.n4.nabble.com/FlexJS-HTTPService-Example-tp37930p38046.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to