|
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: 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. The URL to the WSDL is http://www.dreamova 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. 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
YAHOO! GROUPS LINKS
__,_._,___ |
- RE: [flexcoders] Re: Could not load WSDL of .NET WebServ... Franck de Bruijn
- [flexcoders] Re: Could not load WSDL of .NET WebSer... Pablo Apanasionek
- RE: [flexcoders] Re: Could not load WSDL of .NE... Franck de Bruijn
- [flexcoders] Re: Could not load WSDL of .NET WebSer... Pablo Apanasionek
- RE: [flexcoders] Re: Could not load WSDL of .NE... Franck de Bruijn
- [flexcoders] Re: Could not load WSDL of .NET WebSer... Pablo Apanasionek
- RE: [flexcoders] Re: Could not load WSDL of .NE... Franck de Bruijn
- [flexcoders] Re: Could not load WSDL of .NE... Yasovardhan Babu

