You can still build a simple facade that does a query the database to check
if the email already exists.

Sebastian

2012/7/2 <[email protected]>

> I wanted to first verify if the user has already registered with an email
> he is trying this time. If yes, then ERROR saying he has already registered.
> ****
>
> If no, the app. will register him and send an activation link in the email
> for activation. But the “addNewUser” does not check if the email is already
> registered****
>
> with the system and activates the user. So I do not find any way to verify
> the user from his email.****
>
> ** **
>
> *From:* [email protected] [mailto:[email protected]]
> *Sent:* 02 July 2012 15:03
>
> *To:* [email protected]
> *Subject:* Re: not able to add new user using REST methods.****
>
> ** **
>
> The user should use the link in the email send to the user to active the
> account.
>
> If you want to login people to OpenMeetings dashboard without need for
> activation you should use the API call:
>
> http://incubator.apache.org/openmeetings/UserService.html#setUserObjectMainLandingZone
>
> Sebastian****
>
> 2012/7/2 <[email protected]>****
>
> Thanks Seba, It is working now when I specified the valid values of
> states_id and language_id. Rest may be left empty.****
>
>  ****
>
> But there is an issue now. I wanted this created user to activate his
> account by clicking a link received in his mail which is of the shape/form:
> ****
>
>
> http://x.x.x.x:5080/openmeetings/activateUser?u=e770099346881d3c4f407f24f8a9d0f7
> ****
>
>  ****
>
> This is done by the system well but when we use web service to get this,
> how to proceed now? I do not see any such REST method activateUser there.*
> ***
>
>  ****
>
>  ****
>
>  ****
>
> *From:* [email protected] [mailto:[email protected]]
> *Sent:* 02 July 2012 13:08****
>
>
> *To:* [email protected]
> *Subject:* Re: not able to add new user using REST methods.****
>
>  ****
>
> language_id, states_id are numbers. You cannot specify an empty string for
> it.
>
> You should also look at the red5/openmeetings.log file. You will see
> exceptions that should also help you to find out what is going wrong and
> which params are missing.
>
> Sebastian****
>
> 2012/7/2 <[email protected]>****
>
> *addNewUser:*****
>
>
> http://x.x.x.x:PORT/openmeetings/services/UserService/addNewUser?SID=&username=&userpass=&lastname=&firstname=&email=&additionalname=&street=&zip=&fax=&states_id=&town=&language_id=&baseURL
> =****
>
>  ****
>
>  ****
>
> *From:* [email protected] [mailto:[email protected]]
> *Sent:* 02 July 2012 12:57****
>
>
> *To:* [email protected]
> *Subject:* Re: not able to add new user using REST methods.****
>
>  ****
>
> which param do you exactly refer to?
> Actually the SOAP/REST integration never requires you to activaly create
> any user.
> You just create the HASH and whenever the user logs in the first time
> OpenMeetings will automatically create the user record for that user.
> So I am not sure if you are using the right SOAP/REST methods at all?
>
> Sebastian****
>
> 2012/7/2 <[email protected]>****
>
> How to leave them blank in query string? if I do not wish to supply all
> the data at the time of REST method call and rather leave it on user to add
> ****
>
> whenever he do login to the openmeetings.****
>
>  ****
>
> *From:* [email protected] [mailto:[email protected]]
> *Sent:* 02 July 2012 12:48
> *To:* [email protected]
> *Subject:* Re: not able to add new user using REST methods.****
>
>  ****
>
> Hi Pradeep,
>
> there are no "optional" parameters. All parameters in the list need to be
> specified.
>
> Sebastian****
>
> 2012/7/2 <[email protected]>****
>
> I am not able to add new user using REST methods.****
>
> first I get session id, then login, then do call rest method to add new
> user. it is not working. getting "Unkown" in xml.****
>
> I also wanted to know what params are optional and which are mandatory?***
> *
>
>  ****
>
>
> "*Confidentiality Warning*: This message and any attachments are intended
> only for the use of the intended recipient(s), are confidential and may be
> privileged. If you are not the intended recipient, you are hereby notified
> that any review, re-transmission, conversion to hard copy, copying,
> circulation or other use of this message and any attachments is strictly
> prohibited. If you are not the intended recipient, please notify the sender
> immediately by return email and delete this message and any attachments
> from your system.****
>
> *Virus Warning:* Although the company has taken reasonable precautions to
> ensure no viruses are present in this email. The company cannot accept
> responsibility for any loss or damage arising from the use of this email or
> attachment."****
>
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.openmeetings.de
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> [email protected]****
>
>
> "*Confidentiality Warning*: This message and any attachments are intended
> only for the use of the intended recipient(s), are confidential and may be
> privileged. If you are not the intended recipient, you are hereby notified
> that any review, re-transmission, conversion to hard copy, copying,
> circulation or other use of this message and any attachments is strictly
> prohibited. If you are not the intended recipient, please notify the sender
> immediately by return email and delete this message and any attachments
> from your system.****
>
> *Virus Warning:* Although the company has taken reasonable precautions to
> ensure no viruses are present in this email. The company cannot accept
> responsibility for any loss or damage arising from the use of this email or
> attachment."****
>
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.openmeetings.de
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> [email protected]****
>
>
> "*Confidentiality Warning*: This message and any attachments are intended
> only for the use of the intended recipient(s), are confidential and may be
> privileged. If you are not the intended recipient, you are hereby notified
> that any review, re-transmission, conversion to hard copy, copying,
> circulation or other use of this message and any attachments is strictly
> prohibited. If you are not the intended recipient, please notify the sender
> immediately by return email and delete this message and any attachments
> from your system.****
>
> *Virus Warning:* Although the company has taken reasonable precautions to
> ensure no viruses are present in this email. The company cannot accept
> responsibility for any loss or damage arising from the use of this email or
> attachment."****
>
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.openmeetings.de
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> [email protected]****
>
>
> "*Confidentiality Warning*: This message and any attachments are intended
> only for the use of the intended recipient(s), are confidential and may be
> privileged. If you are not the intended recipient, you are hereby notified
> that any review, re-transmission, conversion to hard copy, copying,
> circulation or other use of this message and any attachments is strictly
> prohibited. If you are not the intended recipient, please notify the sender
> immediately by return email and delete this message and any attachments
> from your system.****
>
> *Virus Warning:* Although the company has taken reasonable precautions to
> ensure no viruses are present in this email. The company cannot accept
> responsibility for any loss or damage arising from the use of this email or
> attachment."****
>
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.openmeetings.de
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> [email protected]****
>
>
> "*Confidentiality Warning*: This message and any attachments are intended
> only for the use of the intended recipient(s), are confidential and may be
> privileged. If you are not the intended recipient, you are hereby notified
> that any review, re-transmission, conversion to hard copy, copying,
> circulation or other use of this message and any attachments is strictly
> prohibited. If you are not the intended recipient, please notify the sender
> immediately by return email and delete this message and any attachments
> from your system.
>
> *Virus Warning:* Although the company has taken reasonable precautions to
> ensure no viruses are present in this email. The company cannot accept
> responsibility for any loss or damage arising from the use of this email or
> attachment."
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
[email protected]

Reply via email to