This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills: The software developer's life manual and have John Sonmez on-line!
See this thread for details.
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML RPC

 
Niall Loughnane
Ranch Hand
Posts: 208
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic