aspose file tools*
The moose likes Web Services and the fly likes XML RPC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "XML RPC" Watch "XML RPC" New topic
Author

XML RPC

Niall Loughnane
Ranch Hand

Joined: Dec 07, 2006
Posts: 208
Hi,

I am trying to create an xml rpc request to be sent to a server using org.apache.xmlrpc.client.XmlRpcClient and org.apache.xmlrpc.client.XmlRpcClientConfigImpl

for the following example rpc request:
"
<member>
<name>login</name>
<value>test</value>
</member>
<member>
<name>tags</name>
<value>
<string>
<peopledetails>
<people type="what">GoldenGate</tag>
<people firstname="john" surname="test" type="where"> San Francisco </tag>
<people type="who">seamus</tag>
</peopledetails>
</string>
</value>
</member>
"

i am using a java.util.List to store all the members of the xml rpc request

with the java.util.List there is a java.util.Hashtable that contains the individual members

but how i can create the second part i.e. the "peopledetails" section?

Any ideas would be great,

Thanks in advance,

Niall
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XML RPC