Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • 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
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Nested members in XML-RPC

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying to tie into a perl script that uses the Frontier perl modules to implement XML-RPC... anyways, it's returning nested objects:
HTTP/1.1 200 OK
Date: Wed, 23 Jan 2002 06:46:42 GMT
Server: libwww-perl-daemon/1.24
Content-Length: 1631
Content-Type: text/xml
<?xml version="1.0"?>
<methodResponse>
<params>
<param><value><struct>
<member><name>msaccess</name><value><struct>
<member><name>sfgsdgggdfg</name><value><string>D:\Code\Current Projects\nt_tester\nt_test.mdb</string></value></member>
</struct></value>
</member>
<member><name>sql</name><value><struct>
<member><name>import</name><value><array><data>
<value><string>Nimda</string></value><value><string>frussell</string></value></data></array></value>
</member>
<member><name>PerfMetrics</name><value><array><data>
<value><string>PerfMetrics</string></value><value><string>sa</string></value></data></array></value>
</member>
<member><name>SQLSETUP</name><value><array><data>
<value><string></string></value><value><string>sa</string></value></data></array></value>
</member>
<member><name>MQIS</name><value><array><data>
<value><string>MQIS</string></value><value><string></string></value></data></array></value>
</member>
<member><name>LocalServer</name><value><array><data>
<value><string></string></value><value><string>frussell</string></value></data></array></value>
</member>
<member><name>test</name><value><array><data>
<value><string>support</string></value><value><string>support</string></value></data></array></value>
</member>
<member><name>SQLSETUP2K</name><value><array><data>
<value><string></string></value><value><string>sa</string></value></data></array></value>
</member>
<member><name>Sanity</name><value><array><data>
<value><string>Sanity</string></value><value><string>sa</string></value></data></array></value>
</member>
</struct></value>
</member>
</struct></value>
</param>
</params>
</methodResponse>
as you can see there are some nested structs in there, but all i can seem to get at w/ java is the top struct and two strings (the names of the two next nested structs)... any ideas???
 
Sean Bruton
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
nevermind...
it's been a long long time since i've slept...
was looking at the keys, somehow forgot hash.get(key)...
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic