[flexcoders] Re: How to add SOAP header to Flex generated webservice code?

2008-03-04 Thread Dave Kong
Thanks Mykola! I was looking at the generated code as well and tried it as you described. Adding headers manually did indeed work, but the downside being that everytime I regenerate the code it will be gone. After some tinkering, I figured out a way to have Flex's generator honor the headers for

[flexcoders] Re: How to add SOAP header to Flex generated webservice code?

2008-03-03 Thread Mykola
Hi Dave, Here is how I did that. I am using Flex Builder 3. I generated code from WSDL and updated my operation in the BaseXYZ class. It is just 1 line change: public function hello():AsyncToken { // Instead of a new Array, am using the headers from the base class. var