So I tried that right, it doesnt appear to be sending anything now.
The server responds:
"Unable to parse a null XML document"
I checked the request using http watch and indeed I am sending
nothing.
I tried tracing it out wih trace("env:+env); and I get
env:
var ENVELOPE:XML = <soap-env:Envelope
xmlns:tpro="http://aplaud.com/ns/0.1/tts/profile"
xmlns:tf="http://aplaud.com/ns/0.1/tts/format" xmlns:soap-
env="http://schemas.xmlsoap.org/soap/envelope/"></soap-env:Envelope>;
var env:XML = new XML(ENVELOPE.toString());
var soapenv:Namespace = new Namespace("soap-
env", "http://schemas.xmlsoap.org/soap/envelope/");
env.soapenv::Header.header1 = "foo";
env.soapenv::Body.request1 = "bar";
Strangley ENVELOPE.toString() is empty as well...
> This should work:
>
>
>
> var env:XML = new XML(ENVELOPE.toString());
>
> var soapenv:Namespace = new Namespace
>
> ("soap-env", "http://schemas.xmlsoap.org/soap/envelope/");
>
> env.soapenv::Header.header1 = "foo";
>
> env.soapenv::Body.request1 = "bar";
>
> -Peter