|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
web service component doesn't work after uploading
Hello:
I have implemented a simple webservice in Flash using the webservice connector component. It is a stock quoter. It works fine locally. But when I upload it to my personal website. It no longer works. Has any one encounter the same problem? You can see my Flash movie at http://www.u.arizona.edu/~jyu1/pond.swf at the web service section. Thanks for hints Jiao |
|
#2
|
|||
|
|||
|
Hi Jaio! I haven't tried using an external web service yet myself (external meaning call a web service from another server other than one you wrote yourself that resides on the same server that Flash is being used), but it is my understanding that the Flash security is built in such a way that you can not call these web services directly from flash. The recommendation is that you create a "proxy" call to the outside service.
For example, if you use ColdFusion, you would wite a CFC that you would call from Flash (either with Flash Remoting or using a web service connector), and your CFC would actually do the call to the outside web service. This would "trick" Flash into letting you use the external web service since it isn't called directly from Flash. You could do the same thing with PHP or any other application server. There may be other ways, too, that I am not familiar with. Hope this helps! LarryP |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > web service component doesn't work after uploading |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|