/// <summary> /// Constructor accepting server URL and the credentials used to connect to the server. /// </summary> /// <param name="username">a valid username of a user that has permissions to use /// the WSO2 Registry WS-API.</param> /// <param name="password">the password of the user</param> /// <param name="serverURL">the URL of the server</param> /// <param name="binding">the binding configuration to be used</param> public RegistryClient(String username, String password, String serverURL, Binding binding) { cookie = null; client = GetClient(username, password, serverURL, binding); }
/// <summary> /// Constructor accepting server URL and the credentials used to connect to the server. /// </summary> /// <param name="username">a valid username of a user that has permissions to use /// the WSO2 Registry WS-API.</param> /// <param name="password">the password of the user</param> /// <param name="serverURL">the URL of the server</param> /// <param name="binding">the binding configuration to be used</param> public RegistryClient(String username, String password, String serverURL, Binding binding) { cookie = null; client = GetClient(username, password, serverURL, binding); }