View Single Post
Old 01-09-2009, 06:47 PM   PM User | #1
arun_mrk
New to the CF scene

 
Join Date: Dec 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
arun_mrk is an unknown quantity at this point
Access Remote domain webservice

I used MX:Webservice in MXML to access a remote webservice like

<mx:WebService id="ws" wsdl="http://www.webservicex.com/CurrencyConvertor.asmx?WSDL">
<mxperation name="ConversionRate" result="convert();">
<mx:request>
<FromCurrency>{fromC.text}</FromCurrency>
<ToCurrency>{toC.text}</ToCurrency>
</mx:request>
</mxperation>
</mx:WebService>

In flex builder it worked fine but after deploying it on a free web hosting site, I'm getting security error.
Free web hosting website provide "ASP" scripting support...Is creating a proxy the right approach since I do not have permission to place crossdomain.xml in remote server. Can someone guide me to write a proxy in ASP for the above webservice?
arun_mrk is offline   Reply With Quote