Hey all,

 

Just though I would share with you all the answer to a problem I have been trying to solve for days.

 

Problem: 

When my FLEX application connects to my .NET Web Service I could only read the values from the lastResult object for the first method in the service.  All other methods would trigger the result event but would not have a value in the lastResult object.

 

Solution:

After a great deal of hair pulling I finally noticed that my first method had its parameters declared ByRef.   All the other methods were declared ByVal.

 

A quick test showed that FLEX has a problem with Visual Basic.Net web services if the parameters are declared ByVal.  So if you run into this problem check that all your in params are declared ByRef.

 

I am not sure why this is but it solved the problem

 

WickedMonkey.

 

 

__._,_.___

--
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
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to