[Opensim-dev] (CreateUser) Http Post

Diva Canto diva at metaverseink.com
Fri Dec 7 05:00:18 UTC 2012


The Robust-bound User Accounts handler does not serve XMLRPC. It serves 
plain POST with forms-encoded data (application/x-www-form-urlencoded)

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