ひがやすを技術ブログ

電通国際情報サービスのプログラマ

BlazeDSでProxyの設定

BlazeDSのHTTPServiceやWebServiceでProxyを設定するには、proxy-config.xmlにexternal-proxyの設定をします。
http://livedocs.adobe.com/flex/201_jp/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=dataservices_config_100_4.html
Proxyの設定ができるのは良いけど、一律すべてに効いてしまうのは、困り者。
そんなときには、個々のdestinationタグのpropertiesタグの子要素にexternal-proxyタグを書けば、個別に設定することができます。