Peter, Thank you for your post. I've tried your suggestion, but getting the "HTTP request error" every time I invoke the Proxy. I'm not sure I'm doing it right, but I have the .NET proxy script sitting on the same server my .swf file is. Now, in my .mxml, inside <mx:WebService, I set the wsdl="myProxyFile". This results in the above mentioned HTTP error. I see my webservice methods defined inside proxy script, but I don't know how to invoke it from MXML file. I'll probably have to publish it in a new post. Thanks, Roman
--- In [email protected], "Peter Farland" <[EMAIL PROTECTED]> wrote: > > If you set useProxy="true" WebService will generated an > HTTPRequestMessage as it is expecting to communicate with the FDS > ProxyService which runs on a messaging backbone. The format of the > message depends on the ChannelSet assigned to the WebService (or the > defaults set for the DefaultHTTPS destination for secure URLs in > services-config.xml). Instead of trying to deserialize an > HTTPRequestMessage I think you should leave useProxy="false" (the > default, btw) and just set the URL to your own custom proxy. > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of rzilist > Sent: Friday, March 23, 2007 4:46 PM > To: [email protected] > Subject: [flexcoders] How to use Proxy script with Flex WebService? > > > > Hi folks, > I'm consuming a webservice from secured domain which with no > crossdomain.xml file at server root. To get around the "Security error > accessing url" message, and as the only feasible solution, I wrote a > proxy script in .NET and uploaded to the IIS server hosting the swf. > Now, when I try to use the proxy script specifying useProxy="true" I > get an error saying "File Not Found". How would I go about invoking > my proxy script? I've tried the same way I do with Webservice, but all > in vain. Please help. > Thanks, > Roman >

