Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This method is used to validate a user¿s userid and password. The method queries the database for the provided information. If the credentials exist in the database, a record is returned containing the user¿s account information.

The getUserInfo () takes several arguments:

1.       String Userid – i.e "amarx"

2.       String password – i.e. "A_marx"

3.       String schemaVersionNumber --  i.e. "2.1"

In the web service client we might auto generate a data structure by providing the web service url. In eLandings we use Java – JAX-WS and generate a structure called ReportManager.

ReportManagement ws;
...
...

String xml = ws.getUserInfo(UserID, Password, schemaVersionNumber)

Or

String xml = ws.getUserInfo("amarx", "A_marx", "2.1");

If you went to http://elandingstest.alaska.gov/elandings/Login

 Enter:

UserID = amarx

Password = A_marx

Click the Login Button

  • No labels