Hello:
I am trying to make an HTTP call from a flex app to a remote service
that (for authentication purposes) expects the presence of a custom
HTTP header like the following:
X-WSSE: UsernameToken Username="tom",
PasswordDigest="Vsr1yvZjImglo7kvcfY3gA==", Nonce="A11FF4575",
Created="2008-06-04T22:45:25Z"
After experimenting a bit, it seems that the class
mx.rpc.http.HTTPService does not send custom headers (I believe it has
something to do with a limitation of the Flash player). So I turned
to the "as3httpclientlib" library.
I am now test driving the app (HttpClientFlashApp.swf) hosted at
http://code.google.com/p/as3httpclientlib/downloads/list to send
requests to the server. What I've noticed is that the custom HTTP
header (X-WSSE above) is never sent.
Is this a bug or am I missing something?
I've successfully issued the same request using Poster (https://
addons.mozilla.org/en-US/firefox/addon/2691).
Thanks in advance