I will be writing code that calls methods from two web services that will decrypt and validate user-provided values before providing the user with access to the Flex Viewer.
The process is initiated from a .NET application. It will pass two encrypted values that identify the user. Flex will take each value, one at a time, along with a token, and call a method on the first web service. This web service will determine the validity of the passed data, and if valid, decrypt the value that identifies the user.
Once both user values are validated, they are then passed together in a method to a second web service, which evaluates whether both values in tandem are valid for accessing the Flex Viewer.
After both web services are called and grant access, the Flex Viewer will load.
I have imported both web services, which are on a remote server, into my Flex project. Before I write the code to call the methods, I need guidance on where to start. Will this process be initiated in MapManager.mxml, or somewhere else?
Any other information that will help me will be appreciated.