Hello All ,

Is it possible to direct the webservice call to a particular tenant using
XMLRPC?

I am referring to


https://cwiki.apache.org/confluence/display/OFBIZ/Using+XMLRPC+as+an+alternative+to+SOAP


consider the snippet

=======================================================
  XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();
        config.setServerURL(new URL("
http://127.0.0.1/webtools/control/xmlrpc";
<http://127.0.0.1/webtools/control/xmlrpc>));
        config.setEnabledForExceptions(true);
        config.setEnabledForExtensions(true);

        XmlRpcClient client = new XmlRpcClient();
        client.setConfig(config);

        Map paramMap = new HashMap();
        paramMap.put("login.username", "admin");
        paramMap.put("login.password", "ofbiz");
        paramMap.put("idToFind", "admin");
=======================================================================
I tried setting the host part of serverUrl to domain_name of
tenant_domain_name .

I find that the requests always work on the first tenant .
i need to work with a specific tenant .

Any help is solicited.

regds
mallah.

Reply via email to