No, there's no overloaded methods at all in the webservice. Just to be on the 
safe side, I tried to rename the method I want to call from Flex, but the 
problem remains.

What I'm trying to do is to call a "local" webservice (that sits on the same 
server as the Flex app) that I've created. The webservice acts as a Proxy and 
then call methods on a remote webservice residing on another server.
Other methods, with less then 4 arguments, works fine.

Further investigation shows that the parameters seems to get mixed up between 
the call from Flex and the .NET service. Parameter number one in the Flex call 
ends up as argument three in the service and so on, when I debug. The position 
of the arguments is random between calls.

Very strange! Possibly something wrong on my part, but I just can't find it...

Nisse

________________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Matt 
Chotin
Sent: den 19 november 2005 02:35
To: [email protected]
Subject: RE: [flexcoders] Webservice operations with more than 3 parameters

Does the webservice have overloaded methods, methods with the same name that 
take different numbers of parameters?  Flex doesn't really support that 
unfortunately, you'd need to get a separate WSDL that eliminates the ones that 
you don't want to use.

Matt

________________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of 
Bryngfors Nils
Sent: Friday, November 18, 2005 2:38 AM
To: [email protected]
Subject: [flexcoders] Webservice operations with more than 3 parameters

Hi!

I've encountered a strange problem when calling webservices from Flex
2.0. When I'm calling a .NET webservice that takes 4 parameters, all
strings, I got the following error:

HTTP request error
#2032: Stream Error

The strange thing is that when I modify the webservice to only take 3
parameters everything runs fine. Any takes?

/Nisse Bryngfors



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

*  Visit your group "flexcoders" on the web.
  
*  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
*  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 

________________________________________


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

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