Posted By

daywalker2000 on 05/18/09


Tagged

apache XMLRPC


Versions (?)

apache xmlrpc example


 / Published in: Java
 

URL: http://ws.apache.org/xmlrpc/client.html

just a comment

  1. import org.apache.xmlrpc.client.XmlRpcClient;
  2. import org.apache.xmlrpc.client.XmlRpcClientConfigImpl;
  3.  
  4. XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();
  5. config.setServerURL(new URL("http://127.0.0.1:8080/xmlrpc"));
  6. XmlRpcClient client = new XmlRpcClient();
  7. client.setConfig(config);
  8. Object[] params = new Object[]{new Integer(33), new Integer(9)};
  9. Integer result = (Integer) client.execute("Calculator.add", params);

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: daywalker2000 on May 18, 2009

found this useful

Posted By: daywalker2000 on May 18, 2009

still got Problems with proxies

You need to login to post a comment.