[flexcoders] Re: Could not load WSDL of .NET WebService in Flex 1.5
Hi Even I'm facing the same issue. I'm trying to access a .net web service from flex. When both are in the same server, flex is able to access. (http://localhost..works) But if try to access the webservice using the machine name, then nothing happens. Can you tell how I should configure crossdomain.xml and where I should place the file? Regards yaso --- In flexcoders@yahoogroups.com, Franck de Bruijn [EMAIL PROTECTED] wrote: LOL: never expected that crossdomain.xml would solve your problem :) _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pablo Apanasionek Sent: Thursday, September 07, 2006 9:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Could not load WSDL of .NET WebService in Flex 1.5 Franck, one word made it: crossdomain.xml! I knew I was missing the obvious here! As I always used Webservices of my own server, the crossdomain.xml definition had never been a problem. It worked perfectly, thanks for everything and for your patience too! -Pablo Gustavo Apanasionek -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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/
RE: [flexcoders] Re: Could not load WSDL of .NET WebService in Flex 1.5
Hi Pablo, No, I did not. I stored your WSDL in a separate file and downloaded it from there (so, within the scope of my Flex project). Unless you have a crossdomain.xml file set up, I can impossibly load the WSDL from the original URL. Cheers, Franck From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pablo Apanasionek Sent: Wednesday, September 06, 2006 8:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Could not load WSDL of .NET WebService in Flex 1.5 Franck, did you try downloading it from the original URL inside Flex? Thanks, -Pablo Gustavo Apanasionek __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: Could not load WSDL of .NET WebService in Flex 1.5
Franck, one word made it: "crossdomain.xml"! I knew I was missing the obvious here! As I always used Webservices of my own server, the crossdomain.xml definition had never been a problem. It worked perfectly, thanks for everything and for your patience too! -Pablo Gustavo Apanasionek __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Re: Could not load WSDL of .NET WebService in Flex 1.5
LOL: never expected that crossdomain.xml would solve your problem :) From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pablo Apanasionek Sent: Thursday, September 07, 2006 9:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Could not load WSDL of .NET WebService in Flex 1.5 Franck, one word made it: crossdomain.xml! I knew I was missing the obvious here! As I always used Webservices of my own server, the crossdomain.xml definition had never been a problem. It worked perfectly, thanks for everything and for your patience too! -Pablo Gustavo Apanasionek __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Could not load WSDL of .NET WebService in Flex 1.5
Franck, I'm running Flex 1.5, so I can't run the example you posted. If the WSDL downloaded correctly, I should assume the problem is on my Flex-running machine. (I tried running it from FB and from compiled-SWF too.) Did you download the WSDL separately and put it in the same Flex-running server? Thanks, -Pablo Gustavo Apanasionek __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Re: Could not load WSDL of .NET WebService in Flex 1.5
Hi Pablo, I did not know that ... :) The answer to your question is yes. Cheers, Franck From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pablo Apanasionek Sent: Wednesday, September 06, 2006 2:20 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Could not load WSDL of .NET WebService in Flex 1.5 Franck, I'm running Flex 1.5, so I can't run the example you posted. If the WSDL downloaded correctly, I should assume the problem is on my Flex-running machine. (I tried running it from FB and from compiled-SWF too.) Did you download the WSDL separately and put it in the same Flex-running server? Thanks, -Pablo Gustavo Apanasionek __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Could not load WSDL of .NET WebService in Flex 1.5
Franck, did you try downloading it from the original URL inside Flex? Thanks, -Pablo Gustavo Apanasionek __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Could not load WSDL of .NET WebService in Flex 1.5
Franck, thanks for your reply. I've tested so far putting my WSDL on another server (IIS) and putting the absolute URL on the WebService tag, not without enabling that URL in my flex-config.xml web-service-whitelist. This has produced the same result (Could Not Load WSDL). The URL to the WSDL is http://www.dreamovate.com.ar/Service1.asmx?WSDL I've come to two hypothetical scenarios: a) my WSDL is malformed or incompatible with Flex. b) the configuration of my Flex Server is not allowing the connection. (Though it does to the Adobe Example wsdl @ webservicesx.com) TIA, -Pablo Gustavo Apanasionek __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Re: Could not load WSDL of .NET WebService in Flex 1.5
Hi Pablo, I wrote the following small test application: mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute mx:Button x=167 y=108 label=Click me! click=doClickMe();/ mx:Script ![CDATA[ import mx.rpc.soap.LoadEvent; import mx.rpc.events.FaultEvent; import mx.rpc.soap.WebService; import mx.controls.Alert; private function doClickMe():void { var ws:WebService; ws = new WebService(); ws.addEventListener(LoadEvent.LOAD, handleWsLoaded); ws.addEventListener(fault, handleWsError); ws.loadWSDL(Service.wsdl); } public function handleWsError(aEvent:FaultEvent):void { Alert.show(fault is: + aEvent.fault.faultString); } public function handleWsLoaded(aEvent:LoadEvent):void { Alert.show(Loaded!); } ]] /mx:Script /mx:Application The Service.wsdl file I downloaded from the URL you indicated and saved it besides my test application MXML file. The WSDL loaded without any problem. I did not try to invoke one of your operations, since this will probably not work from a Flex app (security constraint). Could you try to get this to work? Cheers, Franck From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pablo Apanasionek Sent: Tuesday, September 05, 2006 9:31 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Could not load WSDL of .NET WebService in Flex 1.5 Franck, thanks for your reply. I've tested so far putting my WSDL on another server (IIS) and putting the absolute URL on the WebService tag, not without enabling that URL in my flex-config.xml web-service-whitelist. This has produced the same result (Could Not Load WSDL). The URL to the WSDL is http://www.dreamovate.com.ar/Service1.asmx?WSDL I've come to two hypothetical scenarios: a) my WSDL is malformed or incompatible with Flex. b) the configuration of my Flex Server is not allowing the connection. (Though it does to the Adobe Example wsdl @ webservicesx.com) TIA, -Pablo Gustavo Apanasionek __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___