pmad
pmad

Reputation: 1677

how to create the xml rpc server that handles xml rpc request in java?

In a java class,the Xml rpc webserver is listing to the client requests (by url like http://localhost:8056/) and the xml request is having multiple number of lines like

<methodCall>
<methodName>method1</methodName>
<params>
<param><value><string>hello1</string></value></param>
<param><value><string>hello2</string></value></param>
</params>
</methodCall>

how to catch all the parameters which are going to vary by request to request.. but every we have to use the same method to process the request.

Thanks in advance..

Upvotes: 0

Views: 839

Answers (1)

sbrattla
sbrattla

Reputation: 5386

Why not use the Apache XML-RPC library which does all parsing for you?

Upvotes: 1

Related Questions