Package com.dbxml.xmlrpc

Examples of com.dbxml.xmlrpc.XmlRpcClient


            if ( connection.equals(SECURE) ) {
               baseURI ="https://" + host + ":" + port + "/xmlrpc";
               client = new SecureXmlRpcClient(baseURI + clientPath);
            }
            else
               client = new XmlRpcClient(baseURI + clientPath);
         }
         else
            client = new XmlRpcClient(baseURI + clientPath);

         String user = getProperty(dbXMLClient.USER);
         if ( user == null )
            user = getProperty(dbXMLClient.ALT_USER);
View Full Code Here


      return client;
   }

   public final Object execute(String method, Object[] args) throws dbXMLException {
      try {
         XmlRpcClient rpc = getXmlRpcClient();
         List l;
         if ( args != null && args.length > 0 ) {
            l = new ArrayList(args.length);
            for ( int i = 0; i < args.length; i++ )
               l.add(args[i]);
         }
         else
            l = EmptyList;
         return rpc.execute(method, l);
      }
      catch ( IOException e ) {
         String msg = e.getMessage();
         if ( msg.startsWith(ResponseMsg) ) {
            StringTokenizer st = new StringTokenizer(msg.substring(ResponseMsg.length()));
View Full Code Here

TOP

Related Classes of com.dbxml.xmlrpc.XmlRpcClient

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.