Hi, everybody

I am experiencing a strange problem with webservices. I am using a 
class, developed by Jeff Tapper to call my webservice. There is a 
method difined like that:

public function makeRemoteCall (methodName:String, 
eventName:String, ...args:Array):void

I have developed a Webservice to authenticate users, that has 2 
parameters, username and password, that is called like this:
 
  - loginManager.makeRemoteCall("logIn","loginRetrieved", userName, 
userPassword)

Where loginManager is an instance of Jeff's DataManager 
class, "login" is my service, "loginRetrieved" is the event to be 
called when the service finishes and username and userPassword are 
obvious.

The problem is that, for some reason, userName and userPassword are, 
sometimes, swapped when the webservice is called. That is the 
service receives userName as the password and userPassword as
the user name. There are other times that the service is called 
correctly.

It seems that a state is reached that makes the parameters to be 
swapped. I am sure that before the call the parameters are allways 
ok. They area swapped when they reach the service. The service is 
logging the parameters in a text file and they are sometimes really 
swapped. 

By the way the Datamanager class seems ok because the service is 
called and the return reaches the result method. 

The webservice is .NET service that when called by other .NET 
application works OK.

Can anyone help me !!!!

Thanks in advance






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