Looks like some kind of mismatch between GetCities and 
GetCitiesResponse in your code (although I didn't see a definition 
for GetCitiesResponse).

Maybe try: 

<mx:operation name="GetCities" fault="Alert.show
('Error:'+event.fault.faultstring,'Error',Alert.OK)" 
result="getCitiesHandler(event)">

...

function getCitiesHandler(event: mx.rpc.events.ResultEvent) {
   myData = event.result;
}

...

myRemote.GetCities(myState, myCityType);


--- In [email protected], "Jonathan Miranda" <[EMAIL PROTECTED]> 
wrote:
>
> Need help with an error message - Working with BlueDragon 
(aka .Net),
> I'm attempting a WebService in Flex. Doing a "cfinvoke" works fine 
and
> looking at the wsdl produced from the CFC it looks fine...but I 
get this
> when I try a WebService call.
> 
>  
> 
> 
> 
> Element 
http://www.newatlanta.com/bluedragon/cfc/:GetCitiesResponse not
> resolvable
> 
>             at
> 
mx.rpc.soap::WSDLParser/http://www.macromedia.com/2005/flex/mx/intern
al:
> :parseMessage()
> 
>             at mx.rpc.soap::WSDLOperation/parseMessages()
> 
>             at
> 
mx.rpc.soap::Operation/http://www.macromedia.com/2005/flex/mx/interna
l::
> invokePendingCall()
> 
>             at
> 
mx.rpc.soap::Operation/http://www.macromedia.com/2005/flex/mx/interna
l::
> invokeAllPending()
> 
>             at
> mx.rpc.soap::WebService/mx.rpc.soap:WebService::unEnqueueCalls()
> 
>             at
> 
mx.rpc.soap::WebService/http://www.macromedia.com/2005/flex/mx/intern
al:
> :wsdlHandler()
> 
>             at flash.events::EventDispatcher/dispatchEvent()
> 
>             at mx.rpc.soap::WSDLParser/dispatchEvent()
> 
>             at
> mx.rpc.soap::WSDLParser/mx.rpc.soap:WSDLParser::parseCompleted()
> 
>             at
> 
mx.rpc.soap::WSDLParser/http://www.macromedia.com/2005/flex/mx/intern
al:
> :httpResultHandler()
> 
>             at flash.events::EventDispatcher/dispatchEvent()
> 
>             at
> 
mx.rpc::AbstractInvoker/http://www.macromedia.com/2005/flex/mx/intern
al:
> :dispatchRpcEvent()
> 
>             at
> 
mx.rpc::AbstractInvoker/http://www.macromedia.com/2005/flex/mx/intern
al:
> :resultHandler()
> 
>             at flash.events::EventDispatcher/dispatchEvent()
> 
>             at mx.rpc::Producer/acknowledge()
> 
>             at
> C:\dev\enterprise_beta1\frameworks\libs\framework.swc
(mx/validators/Vali
> dator)$132::DirectHTTPMessageResponder/completeHandler()
> 
>             at flash.events::EventDispatcher/dispatchEvent()
> 
>             at flash.net::URLLoader/flash.net:URLLoader::onComplete
()
> 
> Here's the code:
> 
> <mx:WebService id="myRemote"
> wsdl="http://SomeSecretGateway/qrsInterface.cfc?wsdl"; 
useProxy="false">
> 
>                         <mx:operation name="GetCities"
> fault="Alert.show
('Error:'+event.fault.faultstring,'Error',Alert.OK)">
> 
>             <mx:request>
> 
>                 <state>CA</state>
> 
>                 <cityType>H</cityType>
> 
>             </mx:request>
> 
>         </mx:operation>
> 
>             </mx:WebService>
> 
>  
> 
>  
> 
> _________________________________________
> 
> Jonathan Miranda
> 
> Flexible Master of the Web
> 
> "Try not to become a man of success, but a man of value." - Albert
> Einstein
> 
> HealthGrades <http://www.healthgrades.com/> : Guiding America to 
Better
> Healthcare(tm)
> 
> NASDAQ: HGRD
> 
> w  (720) 963-3832
> 
> c  (707) 761-0868
> 
> [EMAIL PROTECTED] 
> 
> _________________________________________
> 
> The message contains confidential and/or legally privileged 
information
> and is intended for use only by the indicated addressee.  If you 
are not
> the named addressee you should not disseminate, distribute, or 
copy this
> e-mail. Please notify the sender immediately by e-mail if you have
> received this e-mail by mistake and delete this e-mail from your 
system.
> E-mail transmissions cannot be guaranteed to be secure or error-
free as
> information could be intercepted, corrupted, lost, 
destroyed,arrive late
> or incomplete, or contain viruses. The sender therefore does not 
accept
> liability for any errors or omissions in the contents of this 
message
> which arise as a result of e-mail transmission. If verification is
> required please request a hard-copy version.
>







--
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/
 



Reply via email to