• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

XML RPC

 
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic