I am having a hell of a time trying to get this webservice to
work how I want it to. If I put the request I want inside the
<mx:request> tags it works fine just as it should. But I need
to dynamically create the request in xml. So I wrote all the code
for that and it works perfect...except now when I send the request
to the wsdl flex no longer adds the correct namespace to my XML
that im sending it just leaves the tags as they are...
So instead of:
Without any of the namespace prefix's. And the webservice im
sending to does not like that at all so it wont work..
So I tried a few things and have been searching google for
days to no avail.
I was sending the request like this:
And that obviously didnt work since it doesnt change the
namespace prefix, so i tried binding the xml in the request like
And that doesnt even send a thing! and xmlcounts is defiantly
So i tried adding a namespace to the XML and that only
changes the root node and not any of the child nodes, so THAT
doesnt work either.
I am out of options on what to try, someone please help.
Thanks alot man you set me on the right track.
I got it to work by setting each nodes namespace then doing
this to add the child nodes:
var xmlcounts4:XML = <Item></Item>;
xmlcounts4.tnsNS::Name = "Blue";
And that would add the child node to item like this:
Kind of stupid how the works but at least it works. Thanks