Here’s a doosey then – the
exact same call using Flex 1.5 works completely fine. Flex 2 I get this error….so
either Flex 1.5 doesn’t care about the WSDL problem or Flex2 changed
something about not allowing the return of complex objects in a webservice.
_________________________________________
Jonathan Miranda
Flexible Master of the Web
"Try not
to become a man of success, but a man of value." - Albert Einstein
HealthGrades: Guiding America to Better Healthcare™
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.
From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin
Sent: Sunday, March 12, 2006 2:42
PM
To: [email protected]
Subject: RE: [flexcoders] Re:
WSDLResponse not resolvable
So far when we’ve seen this
it’s been because the namespace declaration was missing in the WSDL that
would line up the GetCitiesResponse with the method. So go through your
produced WSDL carefully and make sure that the namespaces match up correctly.
Matt
Nah, it’s not the response not being
there….oddly enough passing a string works fine – it’s a
return type of Any (object) or Struct that blows up.
_________________________________________
Jonathan Miranda
Flexible Master of the Web
"Try not to
become a man of success, but a man of value." - Albert Einstein
HealthGrades: Guiding America to Better Healthcare™
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.
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
SPONSORED LINKS
YAHOO! GROUPS LINKS