Absolutely you can. We do this quite regularly. If the WS lives on the same host, why introduce the overhead of the proxy.
You need to do two things. 1) You need to modify flex-config.xml to allow the compiled swf to bypass the proxy. <proxy-use-policy>client</proxy-use-policy> You could force all the swf's to bypass the proxy by doing <proxy-use-policy>never</proxy-use-policy> 2) You need to use the following attributes in your <mx:WebService> tag wsdl="/foo/bar/path.to.wsdl" useProxy="false" -- Dave Wolf Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY x85 --- In [email protected], "Mink, Joseph" <[EMAIL PROTECTED]> wrote: > > After reading the following: > > Flash applications are only allowed HTTP access to resources on the same > domain and by the same protocol from which they were served. This > presents a problem for web services, because they are typically accessed > from remote locations. The Flex proxy intercepts requests to remote web > services, redirects the requests, and then returns the responses to the > client. > (http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/comm > on/html/wwhelp.htm?context=Flex_Documentation&file=00000762.htm) > > I'm left with the following question: So can you make a WS call without > the proxy to a webservice hosted by the same server that served the flex > app? Like if I accessed: > > http://somewhere:8080/flex/myApp.mxml > > could the Flash Player then make a WS call to > http://somewhere:8080/services/myService without the Flex proxy? > > Thanks! > Joey Mink > [Software Engineer @ Solers, Inc.] > Voice: 703 480 2450 > Fax: 703 263 2663 > [EMAIL PROTECTED] > ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

