After much trial and error I found that following works:-
HashMap props = new HashMap();
props.put(Channel.USERNAME, "username");
props.put(Channel.PASSWORD, "password");
ServiceFactory.create(class, props);
--
Regards,
Dhiraj
--
If you are 20 and you are not a communist, you have no
heart. If you are 30 and still a communist, you lack
rationality.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email