Hi,
I'm using Apache XML-RPC 3.1.2 to talk to an online-service. They have something special, they need a hash over the whole XML with a secret key for some kind of security, like this: String hash = md5(xmlRequest + secretKey); String requestURL = "http://foo.bar/?authHash=" + hash;
So I need the XML-request like this:
<?xml version="1.0"?>
<methodCall>
<methodName>foo.bar</methodName>
<params>
<param>
<value><struct>
<member><name>bla</name>
<value><int>1</int></value>
</member>
<member><name>blubb</name>
<value><int>2</int></value>
</member>
</struct></value>
</param>
</params>
</methodCall>
But how do I get this String-representation of the XMLRPC-Request with the lib Apache XML-RPC?