On Tue, Dec 11, 2007 at 01:12:09AM -0000, Alan Gruskoff wrote: > While reading XML data into Flex is easy, sending it out for writing was > more challenging. I found an example like the below based on worked fine > for sending name/value pairs to PHP, like a form would do. I needed to > send an XML object, and since the docs say you can, I eventually found a > way. I knew PHP was picking up the content, but I had trouble finding > how to grab it as $_POST nor $HTTP_POST_VARS had it. The answer was the > PHP variable: $HTTP_RAW_POST_DATA. That holds content.
Assuming PHP5, you can use the SoapServer class, which works fantastic for this. -Jeff