I’m not really that hot with web services so bear with me.

 

I am unfamiliar with invoking an operation in the load event.  Have you tried doing it any other way?  In AS? Or defining an operation tag?  The way you are doing it you have no way to be sure it is getting invoked. I’d use AS, and trace or alert to make sure the op is being invoked

 

Tracy

 


From: [email protected] [mailto:[email protected]] On Behalf Of richmcgillicuddy
Sent: Thursday, July 27, 2006 5:34 PM
To: [email protected]
Subject: [flexcoders] Re: WebService Call

 

getData() is the operation. It takes no arguments and returns an array
of data. After further investigation I think it is a wsdl file problem.

Rich

--- In [EMAIL PROTECTED]ups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> Don't Webservices require an operation?
>
> Tracy
>
>
>
> ________________________________
>
> From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On
> Behalf Of richmcgillicuddy
> Sent: Wednesday, July 26, 2006 7:58 PM
> To: [EMAIL PROTECTED]ups.com
> Subject: [flexcoders] WebService Call
>
>
>
> I have a simple web service calling a SOAP web service on my local
> machine. The call looks like:
>
> <mx:WebService id="wsTest"
> wsdl="http://localhost:9126/SOAP <http://localhost:9126/SOAP> "
> load="wsTest.FlexData.getData()"
> fault="trace(-1);" />
>
> It seems to hang waiting for localhost and if I let it wait long
> enough, it will give me the following error:
>
> ReferenceError: Error #1069: Property getData not found on
> mx.rpc.soap.mxml.Operation and there is no default value.
> at Step2/__wsTest_load()
> ...
>
> On the Web Server side, I am looking for client connects from flash
> and do not seem to get even the client connect. Any ideas?
>
> Is there anything that looks odd with the WebService statement?
>
> Rich
>

__._,_.___

--
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
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to