[Opensim-dev] (CreateUser) Http Post
Diva Canto
diva at metaverseink.com
Fri Dec 7 05:04:49 UTC 2012
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
>
>
More information about the Opensim-dev
mailing list