[DEV] XMLRPC + Java

Discuss the Dedicated Server Tools developed by Nadeo Live such as ManiaLive, Trust Circles, Dedicated Manager, Competition Manager and Lobbies

Moderator: NADEO

Post Reply
User avatar
spdy
Posts: 7
Joined: 25 Jun 2012, 10:03
Location: Lyon
Contact:

[DEV] XMLRPC + Java

Post by spdy »

Hello !
Thanks again for your wonderful work with maniaplanet (it will be cool if every editor could do the same).
I have a question about the XMLRPC implementation.
Are you using standard implementation ?
Because when using the Apache XMLRPC Client I'm having trouble executing commands.

The sub-question really is : do I need to reimplement the dedicated-server-api (https://github.com/maniaplanet/dedicated-server-api) or can I just use a standard XMLRCP lib ?

Thanks !
User avatar
spdy
Posts: 7
Joined: 25 Jun 2012, 10:03
Location: Lyon
Contact:

Re: [DEV] XMLRPC + Java

Post by spdy »

Ok so it seems a little bit different with what I use to see :) ("GBXRemote 2" just after socket creation ?)
I'm gonna try to write a simple equivalent in Java with the XMLRPC parser from Apache and will probably make a lib available on github.
User avatar
Jojo_44
Posts: 485
Joined: 12 Jul 2010, 15:58
Location: Germany->Bavaria
Contact:

Re: [DEV] XMLRPC + Java

Post by Jojo_44 »

I have already written a library for my java servercontroller(not public), if you wanna take a look:

http://pastebin.com/ATfgA5mp

If you are a bit familiar with socket programming this should help you build your own library. If you want the full library with the parser and stuff, tell me and I will send it to you when I´m back home tonight.

You can also take a look at my most minimal GBXRemote implementation for php which should help you as well:

https://github.com/Jojo44/GBXRemote/blo ... Remote.php

Jojo
Image
my english sounds very unfriendly but it isn´t ;)
User avatar
spdy
Posts: 7
Joined: 25 Jun 2012, 10:03
Location: Lyon
Contact:

Re: [DEV] XMLRPC + Java

Post by spdy »

Thank you JoJo !
That's exactly what I was writing :)
The goal is to put it in a public lib host on github.com (with GPLv3 licence).

I'll perhaps use some snippet of your code, can I ?
If yes I'll mention your name in my "almost the same" class and in the credits.
User avatar
Jojo_44
Posts: 485
Joined: 12 Jul 2010, 15:58
Location: Germany->Bavaria
Contact:

Re: [DEV] XMLRPC + Java

Post by Jojo_44 »

spdy wrote:Thank you JoJo !
That's exactly what I was writing :)
The goal is to put it in a public lib host on github.com (with GPLv3 licence).

I'll perhaps use some snippet of your code, can I ?
If yes I'll mention your name in my "almost the same" class and in the credits.
Yeah, no problem you can use everything ;) I don´t have the time to publish my library, so if you could write one and publish it that would be cool :thumbsup:

Jojo
Image
my english sounds very unfriendly but it isn´t ;)
User avatar
spdy
Posts: 7
Joined: 25 Jun 2012, 10:03
Location: Lyon
Contact:

Re: [DEV] XMLRPC + Java

Post by spdy »

Thank you :)

I'll let you know when I finish it !
Post Reply

Return to “Dedicated Server Tools”

Who is online

Users browsing this forum: No registered users and 1 guest