I don't see anything in Flex that would allow me to manipulate how the xml is returned (i.e., without the additional SOAP info). Am I missing something here?
What is the purpose of removing the SOAP header?
Is it causing FLEX controls to not bind properly? Or it just bothers you?
No. It appears possibly linked to the following runtime error:
TypeError: Error #1088: The markup in the document following the root element must be well-formed.
Again, the xml returned by the service, if called directly in IIS, appears exactly as I designed and is well formed and valid. The Flex framework appears to modify the xml content in such a way that it becomes malformed. The runtime is complaining about these extra lines atop of what's returned:
<getxmlResponse xmlns="http://tempuri.org/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
Won't let me parse the rest of the data. Just halts there. App doesn't complain if I stick my xml in a file on my server and make an http service call for it. Data gets parsed fine. All is well.
I'd like to just get back the xml data that I designed the app to accept - the data that comes back if you invoke the service in a browser. Is there any way to do that in Flex? Here's the service definition...
...and the call...
Or is there something on the ASP.NET side that needs adjusting?