I have been trying to do this for a while myself (Specifically I have a requirement to send WS-Security headers for the Web Service I am trying to use.
The only thing I have found so far is this blog post: http://www.svendens.com/?p=20 I have not had a chance to try it yet but if you do, please let me know your results. HTH Steve --- In flexcoders@yahoogroups.com, "guy.tomer" <guy.to...@...> wrote: > > --- In flexcoders@yahoogroups.com, "guy.tomer" <guy.tomer@> wrote: > > > > Hello, > > > > Does anyone know a way to add headers to a soap request when: > > 1. The headers are not defined in the wsdl > > 2. We obviously don't want to change the generated flex builder > > classes. > > > > Thanks! > > Guy > > > > Did some more digging. Very annoying! it seems like it's possible when > working with WebService in the mxml. However, when generating proxies > they wrap an AbstractWebService and then although one can get access > by calling getWebService()and then addHeader() things doesn't work. > > Can't find any formal note about it from Adobe. I'll still be glad to > any assistance. >