Expand my Community achievements bar.

Flex/ActionScript3 support for web services using WS-Security

Avatar

Level 1


Does Flex/ActionScript3 have support for connecting to a web
service using WS-Security (Policy Creation). I've tried using the
Flex Data Service "Import WSDL" method and it does not allow me to
connect. Is there Flex/AS3 package that can handle creating the
Policy information for a web service that utilizies WS-Security?



Thanks,

Tom
1 Reply

Avatar

Level 1

quote:



Does Flex/ActionScript3 have support for connecting to a web
service using WS-Security (Policy Creation).



Yes and no. The "Import WSDL" doesn't create AS3 classes that
allow header injection of the appropriate WS-Security elements.
I've managed to work around this using straight mx:webservice tags
and AS3. There is an open bug at
https://bugs.adobe.com/jira/browse/SDK-15398
that I voted on, the more the merrier.




http://www.jroller.com/wookets/entry/ws_security_in_flex
Has a useful class for creating the soap header elements for a
username token,



In general though, it's been a challenge to get the simplest
of WS-Security pieces working.



-Brett