Hi, I am not sure if my answer is really the
answer, since I personally don’t use the Webservice tag, but the
webservice action script classes. When a webservice is initialized, it will
load the wsdl from an URL. This can take some time and is an asynchronous
process. This means that the webservice loads the WSDL in the background. If it
is not finished loading/parsing the wsdl and you try to invoke an operation it
will return errors. Try to wait a few seconds and invoke it
then, if the error still remains, then this is the reason. How to solve it? I
did it like this: secWsImpl
= new WebService(); secWsImpl.addEventListener(LoadEvent.LOAD,
handleWsLoaded); secWsImpl.addEventListener("fault",
handleWsError); secWsImpl.loadWSDL("/FlexTestWebServices/wsdl/SecurityWebServiceRpcEnc8080.wsdl"); In the method ‘handleWsLoaded’
you can then invoke an operation if you’d like, or enable a button or
something like that. Cheers, Frnack From: Did you have any luck figuring this one out? I am
having the same -- 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: WSDLError:Element not resolvable Franck de Bruijn
- RE: [flexcoders] Re: WSDLError:Element not resolvabl... Marco Casario