<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
<META content="MSHTML 6.00.2800.1649" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Folks,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>What follows may be of no use to anyone. But,
this week I needed it and couldn't find one like it (or anything even close to
it). What it is is a simple example of the input required by OpenSim 0.7.2
through its [Remote Admin] control port in order to control, for example, the
"create a new user" function.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Shown below is a plain text string that OpenSim
0.7.2 will accept through the remoteAdmin control port. Some of you may
know and understand the implications of using an XML-based remote procedure
calling (RPC) service to control an external application via a few key control
tokens, an available network connection, and the former's transmission through
that connection. Others may not. So, to be brief, I'll just say that
the remoteAdmin port provides such a functionality. And, in order to take
advantage of OpenSim's remote admin facility, I "knitted" together some C#
source that produced the remoteAdmin control port's required HTTP/1.0 protocol
stream with its embedded data tokens. The example that follows is that
plain text control/data stream output. I have found that this string will
cause OpenSim to "create a new user" on my box with its StandAlone 0.7.2
instance.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Maybe I'm wrong, but since I had to work fairly
hard to gain this "template string" (and its implications for all the other
remoteAdmin functions), I thought maybe it might have value for someone else in
the group. Thus, may I offer to toss it out to the OpenSim Users
Group. The web site (see the reference below) has other more
language-specific, abstract, yet "vital" resources. In particular, the C#
methods were *INVALUABLE* as were Justin's helpful words.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Respectfully,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Chris</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>ref: <A
href="http://opensimulator.org/wiki/RemoteAdmin">http://opensimulator.org/wiki/RemoteAdmin</A></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>>>>>>>EXAMPLE
FOLLOWS<<<<<<<<BR> <BR>POST admin_create_user
HTTP/1.0<BR>Host: <A
href="http://10.0.0.12:16384/">http://10.0.0.12:16384/</A><BR>Content-type:
text/xml<BR>Content-Length: 993<BR> <BR><?xml
version="1.0"?><BR><methodCall><BR>
<methodName>admin_create_user</methodName><BR>
<params><BR>
<param><BR>
<value><BR>
<struct><BR>
<member><BR>
<name>password</name><BR>
<value><string>password</string></value><BR>
</member><BR>
<member><BR>
<name>user_firstname</name><BR>
<value><string>male</string></value><BR>
</member><BR>
<member><BR>
<name>user_lastname</name><BR>
<value><string>9999</string></value><BR>
</member><BR>
<member><BR>
<name>user_password</name><BR>
<value><string>password</string></value><BR>
</member><BR>
<member><BR>
<name>user_email</name><BR>
<value><string>none@email.com</string></value><BR>
</member><BR>
<member><BR>
<name>start_region_x</name><BR>
<value><int>128</int></value><BR>
</member><BR>
<member><BR>
<name>start_region_y</name><BR>
<value><int>128</int></value><BR>
</member><BR>
</struct><BR>
</value><BR>
</param><BR>
</params><BR></methodCall><BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>