Hi.
Is it possible to connect with XMLRPC without sending the database name as
one of its arguments?
Currently I see an example to connect like this:
s = xmlrpclib.ServerProxy ('http://%s:%s@localhost:8069/databasename' %
(user, password))
I would like to know how is it possible to connect like this one?:
s = xmlrpclib.ServerProxy ('http://%s:%s@localhost:8069' % (user, password))
The database name would be set in the Tryton instance in where it is
accepting connections
from any XMLRPC client (Python, PHP, Java, etc.).
I would like to know if there is a way to create a connection like this
example [1] with Magento API
in this link [2] in where it is possible to connect with only sending user
and password [3]:
[1]
server = xmlrpclib.ServerProxy(‘http://www.yourmagentosite.com/api/xmlrpc/’)
[2]
https://www.pmg.com/blog/interacting-with-the-magento-web-services-api-via-python/
[3]
session = server.login(‘your_username’, ‘your_password’)
Thanks in advanced for your help
--
Regards
--
You received this message because you are subscribed to the Google Groups
"tryton" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tryton/20b9e198-1953-46f1-8e75-1f37b290b325%40googlegroups.com.