[Opensim-users] question about xmlrpc's in opensim

Ai Austin ai.ai.austin at googlemail.com
Sat Jul 19 11:09:05 UTC 2008


At 11:00 19/07/2008, you wrote:
>i am familiar with the stuff on
>http://wiki.secondlife.com/wiki/Category:LSL_XML-RPC an I would like to
>write an Java Programm to send xmlrpcs to my opensimulator. Is there any
>tutorial how to do that? Any hint would help me a lot.


Hi Wayne, we just managed to get our Java I-X system talking through 
XML-RPC to an object in Opensim with two way communication... hope 
the following notes help you get there a bit quicker than we did ;-)

First enable the XML-RPC in your Opensim.ini with the following line 
(select a suitable port, this is the default from Opensim.ini.example)...

    remoteDataPort = 20800

Check this is opened on your firewalls.

Now you need to communicate via your usual XML-RPC code at both ends 
(check the Opensim end only uses implemented functions) on
http://<your opensim host>:20800


This is a note from my colleague who had to make a small change to 
our Second Life code to make the scripts work...

A change
was required to the XML-RPC generation java code (the OpenSim http 
server handles
incoming things of mime type "application/xml" as XML-RPC, whereas 
the mime type for
messages to Second Life was "application/x-www-form-urlencoded", 
although xml may
work there too) and a couple of changes were required to the LSL 
scripts to remove
references to unimplemented (but not crucial) functions.





More information about the Opensim-users mailing list