src/java/isac/util/InformationProcessor.java
changeset 2162 161819a0cbbc
parent 1773 8de024816985
child 2244 f505961e74de
equal deleted inserted replaced
2161:9762fb3bd7fc 2162:161819a0cbbc
    43 	 * @throws NullPointerException
    43 	 * @throws NullPointerException
    44 	 *             carrying the error-message if an communication error occured.
    44 	 *             carrying the error-message if an communication error occured.
    45 	 */
    45 	 */
    46 	static protected String xmlLogin(String username, String password) {
    46 	static protected String xmlLogin(String username, String password) {
    47 		try {
    47 		try {
    48 			XmlRpcClient sdialog = new XmlRpcClient("http://localhost:1050");
    48 			XmlRpcClient sdialog = new XmlRpcClient("http://localhost:1050");//WN fixed port
    49 			Vector params = new Vector();
    49 			Vector params = new Vector();
    50 			params.add(username);
    50 			params.add(username);
    51 			params.add(password);
    51 			params.add(password);
    52 			Vector response = (Vector) sdialog.execute("SDialog.login", params);
    52 			Vector response = (Vector) sdialog.execute("SDialog.login", params);
    53 			if (response.size() > 0)
    53 			if (response.size() > 0)