You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@ws.apache.org by Lachlan Deck <la...@ish.com.au> on 2006/06/16 03:52:49 UTC

Newbie help v3 equivalent of XmlRpcServer without WebServer

Hi there,

with previous versions of xmlrpc my understanding was that I could do  
the following (in Java) to process a request:

ByteArrayInputStream inStream; // assume exists
String user; // assume exists
String password; // assume exists
XmlRpcServer xmlrpc;
byte[] results;

xmlrpc = new XmlRpcServer();
xmlrpc.addHandler(someName, someObject);

results = xmlrpc.execute(inStream, user, password);


That's pretty nice and simple. Forgive me if this is a simple  
question but how is the same achieved with v3?

Thanks muchly.

Lachlan

---------------------------------------------------------------------
To unsubscribe, e-mail: xmlrpc-user-unsubscribe@ws.apache.org
For additional commands, e-mail: xmlrpc-user-help@ws.apache.org


Re: Newbie help v3 equivalent of XmlRpcServer without WebServer

Posted by Lachlan Deck <la...@ish.com.au>.
Hello again,

could someone please help with below. It'd be much appreciated.

Cheers.

On 30/06/2006, at 9:59 AM, Lachlan Deck wrote:

> Hi again,
>
> now that Apache XML-RPC 3.0b1 has been announced - any possibility  
> of help on the below?
>
> I've had no responses yet :-/
>
> Thanks.
>
> On 16/06/2006, at 11:52 AM, Lachlan Deck wrote:
>
>> Hi there,
>>
>> with previous versions of xmlrpc my understanding was that I could  
>> do the following (in Java) to process a request:
>>
>> ByteArrayInputStream inStream; // assume exists
>> String user; // assume exists
>> String password; // assume exists
>> XmlRpcServer xmlrpc;
>> byte[] results;
>>
>> xmlrpc = new XmlRpcServer();
>> xmlrpc.addHandler(someName, someObject);
>>
>> results = xmlrpc.execute(inStream, user, password);
>>
>>
>> That's pretty nice and simple. Forgive me if this is a simple  
>> question but how is the same achieved with v3?
>>
>> Thanks muchly.
>
> Lachlan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xmlrpc-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: xmlrpc-user-help@ws.apache.org
>

Lachlan Deck
lachlan@ish.com.au
+61 2 9550 5001




---------------------------------------------------------------------
To unsubscribe, e-mail: xmlrpc-user-unsubscribe@ws.apache.org
For additional commands, e-mail: xmlrpc-user-help@ws.apache.org


Re: Newbie help v3 equivalent of XmlRpcServer without WebServer

Posted by Lachlan Deck <la...@ish.com.au>.
Hi again,

now that Apache XML-RPC 3.0b1 has been announced - any possibility of  
help on the below?

I've had no responses yet :-/

Thanks.

On 16/06/2006, at 11:52 AM, Lachlan Deck wrote:

> Hi there,
>
> with previous versions of xmlrpc my understanding was that I could  
> do the following (in Java) to process a request:
>
> ByteArrayInputStream inStream; // assume exists
> String user; // assume exists
> String password; // assume exists
> XmlRpcServer xmlrpc;
> byte[] results;
>
> xmlrpc = new XmlRpcServer();
> xmlrpc.addHandler(someName, someObject);
>
> results = xmlrpc.execute(inStream, user, password);
>
>
> That's pretty nice and simple. Forgive me if this is a simple  
> question but how is the same achieved with v3?
>
> Thanks muchly.

Lachlan

---------------------------------------------------------------------
To unsubscribe, e-mail: xmlrpc-user-unsubscribe@ws.apache.org
For additional commands, e-mail: xmlrpc-user-help@ws.apache.org