Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wsdlAuthentication = props.getProperty("wsdl.Authentication");
- wsdlDocumentManagement = props.getProperty("wsdl.DocumentManagement");
- wsdlContentService = props.getProperty("wsdl.ContentService");
- username = props.getProperty("username");
- password = props.getProperty("password");
- if ((password == null) || (password.isEmpty())) {
- System.out.printf("Enter password for %s.%nScreen will not echo typed characters.%n", username);
- password = new String(System.console().readPassword());
- }
- final String authToken = getAuthenticationToken(wsdlAuthentication, username, password);
- final OTAuthentication otAuth = getOTAuthentication(authToken);
- final DocumentManagement svcDocMan = getDocumentManagementClient(wsdlDocumentManagement, otAuth);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement