[Opensim-dev] (CreateUser) Http Post
Justin Clark-Casey
jjustincc at googlemail.com
Tue Dec 11 00:07:31 UTC 2012
There have been no changes to the RemoteAdmin (standalone) XMLRPC createuser functionality.
However, I have heard an unconfirmed report that it is not working. Can anyone confirm/deny these? Chris, if this
functionality is important to you I would also strongly recommend that you test your createuser code against 0.7.4 and
current master and raise a bug report if appropriate.
There may be some confusion because 'createuser' refers to both the standalone RemoteAdmin facility and a ROBUST service
call available on the private ROBUST service port (off by default). The ROBUST version was not available in 0.7.2 so
you must be using RemoteAdmin.
These calls do the same thing but have largely different implementations. The RemoteAdmin version has some additional
code that is meant to provide flexibility in setting up default avatars but I'm not sure this is working either.
In the long term, I don't think it makes sense to have both of these. The code would be more consistent and less
complex if the service call was also available in the standalone configuration.
However, I believe this would require the service call to have more security. So I don't think it won't happen
imminently - I would fully expect this to be available in OpenSimulator 0.7.5 and probably for a considerable time
beyond (with the caveat above about whether it's currently working).
On 09/12/12 15:59, Ovi Chris Rouly wrote:
> Hi Folks,
>
> I've hesitated to say anything ... but frankly this thread has been
> overwhelming: you've scared me!!!
>
> I've used (will use again) the createUser functionality in my Agent-based
> Models (based OS 0.7.2) AND it has worked just fine via C# program generated
> calls from within OpenMetaverse.
>
> Moreover, I plan to use the functionality again: since it is critical to the
> success of my model's results.
>
> Was the function changed in 0.7.3 - 0.7.4?
>
> Worse, is this thread suggesting there will be "another" change (one
> on-top-of another)?
>
> Best regards,
>
> Chris
> Dept. of Comp. Soc. Sci.
> George Mason University
>>>>>>>>>>>>>>>>
>
> ----- Original Message -----
> From: <opensim-dev-request at lists.berlios.de>
> To: <opensim-dev at lists.berlios.de>
> Sent: Sunday, December 09, 2012 6:00 AM
> Subject: Opensim-dev Digest, Vol 64, Issue 4
>
>
>> Send Opensim-dev mailing list submissions to
>> opensim-dev at lists.berlios.de
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>> or, via email, send a message with subject or body 'help' to
>> opensim-dev-request at lists.berlios.de
>>
>> You can reach the person managing the list at
>> opensim-dev-owner at lists.berlios.de
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Opensim-dev digest..."
>>
>>
>> Today's Topics:
>>
>> 1. Re: (CreateUser) Http Post (Kukuk Jacob)
>> 2. Re: (CreateUser) Http Post (Marcel Verhagen)
>> 3. Re: (CreateUser) Http Post (Michelle Argus)
>> 4. Re: (CreateUser) Http Post (Kukuk Jacob)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Sun, 9 Dec 2012 06:36:08 +0000
>> From: Kukuk Jacob <Jacob.Kukuk at lwtech.edu>
>> To: "opensim at signpostmarv.name" <opensim at signpostmarv.name>,
>> "opensim-dev at lists.berlios.de" <opensim-dev at lists.berlios.de>
>> Subject: Re: [Opensim-dev] (CreateUser) Http Post
>> Message-ID: <F8E5642226691548B59B8F39854AA4AA9236AB at Mail.lwtech.edu>
>> Content-Type: text/plain; charset="us-ascii"
>>
>> Thanks for the responses, got that all resolved and setup, new issue now
> is I have a web interface deal with renaming parcels. When I perform an
> update to a parcel in the Land table it doesn't update the name in world.
> When I change the name of the parcel in world it updates to the database
> though. I have the opensim.ini use this database as the estate storage. Any
> ideas?
>> ________________________________________
>> From: opensim-dev-bounces at lists.berlios.de
> [opensim-dev-bounces at lists.berlios.de] on behalf of SignpostMarv Martin
> [opensim at signpostmarv.name]
>> Sent: Friday, December 07, 2012 12:38 PM
>> To: opensim-dev at lists.berlios.de
>> Subject: Re: [Opensim-dev] (CreateUser) Http Post
>>
>> With this particular scenario I've previously taken the approach of just
>> piggy-backing on the API exposed by diva's wifi module.
>>
>> On 07/12/2012 05:04, Diva Canto wrote:
>>> And the password is not stored on the same table...
>>>
>>> If you want to find out more about how to talk to the robust services,
>>> take a look at OpenSim.Services.Connectors. If you're using .NET you
>>> should be able to just reference that dll and use the connector
>>> objects that already exist.
>>>
>>> On 12/6/2012 8:40 PM, Kukuk Jacob wrote:
>>>> Hello everyone, so we are getting a grid setup and we are running
>>>> into a slight problem with registration of users. We created a
>>>> ASP.net HTTP XMLRPC POST that uses the method createuser but for some
>>>> odd reason it returns Requested method [createuser] not found. We are
>>>> running as a grid and using robust. Here is what we are working with.
>>>>
>>>> protected void join_btn_Click(object sender, EventArgs e)
>>>> {
>>>> CreateUser(new Uri("http://localhost:8003/"), "null",
>>>> first_txt.Text, last_txt.Text, pass_txt.Text, email_txt.Text, 1000,
>>>> 1000);
>>>> }
>>>>
>>>> public void CreateUser(Uri url, string adminPassword, string
>>>> firstName, string lastName, string password, string email, int
>>>> regionX, int regionY)
>>>> {
>>>> var address =
> Dns.GetHostEntry(url.DnsSafeHost).AddressList[0];
>>>> var ht = new Hashtable();
>>>> ht["user_firstname"] = firstName;
>>>> ht["user_lastname"] = lastName;
>>>> ht["user_password"] = password;
>>>> ht["PrincipalID"] = "3a1c8128-908f-4455-8157-66c96a46f75e";
>>>> var parameters = new List<Hashtable> { ht };
>>>> var rpc = new XmlRpcRequest("createuser", parameters);
>>>> rpc.Invoke(url.ToString());
>>>> }
>>>> _______________________________________________
>>>> Opensim-dev mailing list
>>>> Opensim-dev at lists.berlios.de
>>>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Opensim-dev mailing list
>>> Opensim-dev at lists.berlios.de
>>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>>
>>
>> _______________________________________________
>> Opensim-dev mailing list
>> Opensim-dev at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Sun, 9 Dec 2012 10:41:03 +0100
>> From: Marcel Verhagen <marceled9 at gmail.com>
>> To: "opensim-dev at lists.berlios.de" <opensim-dev at lists.berlios.de>
>> Subject: Re: [Opensim-dev] (CreateUser) Http Post
>> Message-ID: <D67477D8-5BB0-4248-81AE-B8599AD8DDB3 at gmail.com>
>> Content-Type: text/plain; charset=us-ascii
>>
>> Maybe clearing the viewer cache ?
>>
>> Op 9 dec. 2012 om 07:36 heeft Kukuk Jacob <Jacob.Kukuk at lwtech.edu> het
> volgende geschreven:
>>
>>> Thanks for the responses, got that all resolved and setup, new issue now
> is I have a web interface deal with renaming parcels. When I perform an
> update to a parcel in the Land table it doesn't update the name in world.
> When I change the name of the parcel in world it updates to the database
> though. I have the opensim.ini use this database as the estate storage. Any
> ideas?
>>> ________________________________________
>>> From: opensim-dev-bounces at lists.berlios.de
> [opensim-dev-bounces at lists.berlios.de] on behalf of SignpostMarv Martin
> [opensim at signpostmarv.name]
>>> Sent: Friday, December 07, 2012 12:38 PM
>>> To: opensim-dev at lists.berlios.de
>>> Subject: Re: [Opensim-dev] (CreateUser) Http Post
>>>
>>> With this particular scenario I've previously taken the approach of just
>>> piggy-backing on the API exposed by diva's wifi module.
>>>
>>> On 07/12/2012 05:04, Diva Canto wrote:
>>>> And the password is not stored on the same table...
>>>>
>>>> If you want to find out more about how to talk to the robust services,
>>>> take a look at OpenSim.Services.Connectors. If you're using .NET you
>>>> should be able to just reference that dll and use the connector
>>>> objects that already exist.
>>>>
>>>> On 12/6/2012 8:40 PM, Kukuk Jacob wrote:
>>>>> Hello everyone, so we are getting a grid setup and we are running
>>>>> into a slight problem with registration of users. We created a
>>>>> ASP.net HTTP XMLRPC POST that uses the method createuser but for some
>>>>> odd reason it returns Requested method [createuser] not found. We are
>>>>> running as a grid and using robust. Here is what we are working with.
>>>>>
>>>>> protected void join_btn_Click(object sender, EventArgs e)
>>>>> {
>>>>> CreateUser(new Uri("http://localhost:8003/"), "null",
>>>>> first_txt.Text, last_txt.Text, pass_txt.Text, email_txt.Text, 1000,
>>>>> 1000);
>>>>> }
>>>>>
>>>>> public void CreateUser(Uri url, string adminPassword, string
>>>>> firstName, string lastName, string password, string email, int
>>>>> regionX, int regionY)
>>>>> {
>>>>> var address =
> Dns.GetHostEntry(url.DnsSafeHost).AddressList[0];
>>>>> var ht = new Hashtable();
>>>>> ht["user_firstname"] = firstName;
>>>>> ht["user_lastname"] = lastName;
>>>>> ht["user_password"] = password;
>>>>> ht["PrincipalID"] = "3a1c8128-908f-4455-8157-66c96a46f75e";
>>>>> var parameters = new List<Hashtable> { ht };
>>>>> var rpc = new XmlRpcRequest("createuser", parameters);
>>>>> rpc.Invoke(url.ToString());
>>>>> }
>>>>> _______________________________________________
>>>>> Opensim-dev mailing list
>>>>> Opensim-dev at lists.berlios.de
>>>>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Opensim-dev mailing list
>>>> Opensim-dev at lists.berlios.de
>>>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>>>
>>>
>>> _______________________________________________
>>> Opensim-dev mailing list
>>> Opensim-dev at lists.berlios.de
>>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>> _______________________________________________
>>> Opensim-dev mailing list
>>> Opensim-dev at lists.berlios.de
>>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Sun, 09 Dec 2012 13:07:24 +0100
>> From: Michelle Argus <argus at archimuh.de>
>> To: opensim-dev at lists.berlios.de
>> Subject: Re: [Opensim-dev] (CreateUser) Http Post
>> Message-ID: <50C47EFC.9020507 at archimuh.de>
>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>
>> Changing the data in the Database directly in most cases require a
>> simulator restart. When shutting down a simulator it will however often
>> update the databse with old data, so you should do the changes while the
>> simulator is offline.
>>
>> These kind of changes should best be done by the simulator which then
>> also sends a viewer update to the avatars already on the region. For
>> this one can use the RemoteAdmin module and add the new functions you
> need.
>>
>> Am 09.12.2012 07:36, schrieb Kukuk Jacob:
>>> Thanks for the responses, got that all resolved and setup, new issue now
> is I have a web interface deal with renaming parcels. When I perform an
> update to a parcel in the Land table it doesn't update the name in world.
> When I change the name of the parcel in world it updates to the database
> though. I have the opensim.ini use this database as the estate storage. Any
> ideas?
>>> ________________________________________
>>> From: opensim-dev-bounces at lists.berlios.de
> [opensim-dev-bounces at lists.berlios.de] on behalf of SignpostMarv Martin
> [opensim at signpostmarv.name]
>>> Sent: Friday, December 07, 2012 12:38 PM
>>> To: opensim-dev at lists.berlios.de
>>> Subject: Re: [Opensim-dev] (CreateUser) Http Post
>>>
>>> With this particular scenario I've previously taken the approach of just
>>> piggy-backing on the API exposed by diva's wifi module.
>>>
>>> On 07/12/2012 05:04, Diva Canto wrote:
>>>> And the password is not stored on the same table...
>>>>
>>>> If you want to find out more about how to talk to the robust services,
>>>> take a look at OpenSim.Services.Connectors. If you're using .NET you
>>>> should be able to just reference that dll and use the connector
>>>> objects that already exist.
>>>>
>>>> On 12/6/2012 8:40 PM, Kukuk Jacob wrote:
>>>>> Hello everyone, so we are getting a grid setup and we are running
>>>>> into a slight problem with registration of users. We created a
>>>>> ASP.net HTTP XMLRPC POST that uses the method createuser but for some
>>>>> odd reason it returns Requested method [createuser] not found. We are
>>>>> running as a grid and using robust. Here is what we are working with.
>>>>>
>>>>> protected void join_btn_Click(object sender, EventArgs e)
>>>>> {
>>>>> CreateUser(new Uri("http://localhost:8003/"), "null",
>>>>> first_txt.Text, last_txt.Text, pass_txt.Text, email_txt.Text, 1000,
>>>>> 1000);
>>>>> }
>>>>>
>>>>> public void CreateUser(Uri url, string adminPassword, string
>>>>> firstName, string lastName, string password, string email, int
>>>>> regionX, int regionY)
>>>>> {
>>>>> var address =
> Dns.GetHostEntry(url.DnsSafeHost).AddressList[0];
>>>>> var ht = new Hashtable();
>>>>> ht["user_firstname"] = firstName;
>>>>> ht["user_lastname"] = lastName;
>>>>> ht["user_password"] = password;
>>>>> ht["PrincipalID"] = "3a1c8128-908f-4455-8157-66c96a46f75e";
>>>>> var parameters = new List<Hashtable> { ht };
>>>>> var rpc = new XmlRpcRequest("createuser", parameters);
>>>>> rpc.Invoke(url.ToString());
>>>>> }
>>>>> _______________________________________________
>>>>> Opensim-dev mailing list
>>>>> Opensim-dev at lists.berlios.de
>>>>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>>>>
>>>>>
>>>> _______________________________________________
>>>> Opensim-dev mailing list
>>>> Opensim-dev at lists.berlios.de
>>>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>>>
>>> _______________________________________________
>>> Opensim-dev mailing list
>>> Opensim-dev at lists.berlios.de
>>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>> _______________________________________________
>>> Opensim-dev mailing list
>>> Opensim-dev at lists.berlios.de
>>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>>
>>
>>
>>
>> ------------------------------
>>
>> Message: 4
>> Date: Sun, 9 Dec 2012 10:15:17 +0000
>> From: Kukuk Jacob <Jacob.Kukuk at lwtech.edu>
>> To: "opensim-dev at lists.berlios.de" <opensim-dev at lists.berlios.de>
>> Subject: Re: [Opensim-dev] (CreateUser) Http Post
>> Message-ID: <e9aoxujbwki3jv7bgwmni6j9.1355048112904 at email.android.com>
>> Content-Type: text/plain; charset="us-ascii"
>>
>> will check that option out, thanks for the info.
>>
>> Jacob Kukuk
>>
>> Sent from my Samsung smartphone on AT&T
>>
>>
>> Michelle Argus wrote:
>>
>> Changing the data in the Database directly in most cases require a
>> simulator restart. When shutting down a simulator it will however often
>> update the databse with old data, so you should do the changes while the
>> simulator is offline.
>>
>> These kind of changes should best be done by the simulator which then
>> also sends a viewer update to the avatars already on the region. For
>> this one can use the RemoteAdmin module and add the new functions you
> need.
>>
>> Am 09.12.2012 07:36, schrieb Kukuk Jacob:
>>> Thanks for the responses, got that all resolved and setup, new issue now
> is I have a web interface deal with renaming parcels. When I perform an
> update to a parcel in the Land table it doesn't update the name in world.
> When I change the name of the parcel in world it updates to the database
> though. I have the opensim.ini use this database as the estate storage. Any
> ideas?
>>> ________________________________________
>>> From: opensim-dev-bounces at lists.berlios.de
> [opensim-dev-bounces at lists.berlios.de] on behalf of SignpostMarv Martin
> [opensim at signpostmarv.name]
>>> Sent: Friday, December 07, 2012 12:38 PM
>>> To: opensim-dev at lists.berlios.de
>>> Subject: Re: [Opensim-dev] (CreateUser) Http Post
>>>
>>> With this particular scenario I've previously taken the approach of just
>>> piggy-backing on the API exposed by diva's wifi module.
>>>
>>> On 07/12/2012 05:04, Diva Canto wrote:
>>>> And the password is not stored on the same table...
>>>>
>>>> If you want to find out more about how to talk to the robust services,
>>>> take a look at OpenSim.Services.Connectors. If you're using .NET you
>>>> should be able to just reference that dll and use the connector
>>>> objects that already exist.
>>>>
>>>> On 12/6/2012 8:40 PM, Kukuk Jacob wrote:
>>>>> Hello everyone, so we are getting a grid setup and we are running
>>>>> into a slight problem with registration of users. We created a
>>>>> ASP.net HTTP XMLRPC POST that uses the method createuser but for some
>>>>> odd reason it returns Requested method [createuser] not found. We are
>>>>> running as a grid and using robust. Here is what we are working with.
>>>>>
>>>>> protected void join_btn_Click(object sender, EventArgs e)
>>>>> {
>>>>> CreateUser(new Uri("http://localhost:8003/"), "null",
>>>>> first_txt.Text, last_txt.Text, pass_txt.Text, email_txt.Text, 1000,
>>>>> 1000);
>>>>> }
>>>>>
>>>>> public void CreateUser(Uri url, string adminPassword, string
>>>>> firstName, string lastName, string password, string email, int
>>>>> regionX, int regionY)
>>>>> {
>>>>> var address =
> Dns.GetHostEntry(url.DnsSafeHost).AddressList[0];
>>>>> var ht = new Hashtable();
>>>>> ht["user_firstname"] = firstName;
>>>>> ht["user_lastname"] = lastName;
>>>>> ht["user_password"] = password;
>>>>> ht["PrincipalID"] = "3a1c8128-908f-4455-8157-66c96a46f75e";
>>>>> var parameters = new List<Hashtable> { ht };
>>>>> var rpc = new XmlRpcRequest("createuser", parameters);
>>>>> rpc.Invoke(url.ToString());
>>>>> }
>>>>> _______________________________________________
>>>>> Opensim-dev mailing list
>>>>> Opensim-dev at lists.berlios.de
>>>>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>>>>
>>>>>
>>>> _______________________________________________
>>>> Opensim-dev mailing list
>>>> Opensim-dev at lists.berlios.de
>>>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>>>
>>> _______________________________________________
>>> Opensim-dev mailing list
>>> Opensim-dev at lists.berlios.de
>>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>> _______________________________________________
>>> Opensim-dev mailing list
>>> Opensim-dev at lists.berlios.de
>>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>>
>>
>> _______________________________________________
>> Opensim-dev mailing list
>> Opensim-dev at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>
>>
>> ------------------------------
>>
>> _______________________________________________
>> Opensim-dev mailing list
>> Opensim-dev at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>
>> End of Opensim-dev Digest, Vol 64, Issue 4
>> ******************************************
>>
>
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
--
Justin Clark-Casey (justincc)
OSVW Consulting
http://justincc.org
http://twitter.com/justincc
More information about the Opensim-dev
mailing list