Skip to content

Instantly share code, notes, and snippets.

@hshemer
Created March 18, 2011 19:00
Show Gist options
  • Save hshemer/876637 to your computer and use it in GitHub Desktop.
Save hshemer/876637 to your computer and use it in GitHub Desktop.
login
//login
//setting up parameters for login method
User_auth auth = new User_auth();
auth.setUser_name(USER_NAME);
auth.setPassword(PASSWORD);
//sending an empty name_value_list
Name_value nameValueListLogin[] = null;
//trying to login
Entry_value loginResponse = null;
try {
loginResponse = stub.login(auth, APPLICATION_NAME , nameValueListLogin);
} catch (RemoteException e) {
System.out.println("login failed. Message: "+e.getMessage());
e.printStackTrace();
}
System.out.println("login successful! login id: "+loginResponse.getId());
@HellenAchiengNyandara
Copy link

Okay I can assist

@Tmax01
Copy link

Tmax01 commented Aug 7, 2023 via email

@HellenAchiengNyandara
Copy link

You can shedule a Google meet up ..then will know what next from their.are u okay with that

@Farmcare
Copy link

Farmcare commented Aug 9, 2023 via email

@TOPTALENT947
Copy link

Heyy I'm jolayemi from Nigeria I'm new to code, can you help me on backend dev

@Sudin-karki8
Copy link

Heyy I'm jolayemi from Nigeria I'm new to code, can you help me on backend dev

inbox me!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment