I need to call a remote method getUserDetails methods of an API (lets say XAPI) the request for this in the XMl format is given as below:
<target name="XAPI" operation="getUserDetails">
so from my Java code how do i need to construt the parameters for the above xml request with username and domain as parameters.
My java code looks like
XmlRpcClient server = new XmlRpcClient("http://100.100.200.500:8080/");
Vector params = new Vector();
Object errorCode = server.execute("XAPI.getUserDetails", params);
I am able to connect to the Xml-Rpc Server(http://100.100.200.500:8080/), but i am getting Invalid Parameters as Response . My Doubt here is how to set those parameter values as in the above xml format and send to XML-RPC server? so any one can guide me so that i can move in a Right path.
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.