Elisy Business Connector enables communication between 1C:Enterprise applications and 1C:Enterprise and non-1C:Enterprise applications. The Elisy Business Connector makes all 1C:Enterprise functions that are available via web/thin client accessible to business partners. The Elisy Business Connector uses the Internet as a communication platform and XML or JSON as the data format to interact with 1C:Enterprise. The component is a cross platform software for Windows, Linux, Mac OS X, and Mobile operating systems.
Mono/.Net/Silverlight example:
Code: Select all
using Elisy.BusinessConnector;
using Elisy.BusinessConnector.VM;
using Elisy.BusinessConnector.Types;
...
string connectionString = "ws=\"http://demo-ma.1c.ru/trade\";Usr=\"\";Pwd=\"\";L=\"en_US\"";
Connection connection = new Connection(connectionString);
connection.Open();
String[] users = connection.GetUserList();
connection.Login(user[0], "password");
GlobalContext gc = new GlobalContext(connection);
string serverValue = gc.GetServerModule("CommonServerModule").Invoke("SomeExportFunction", null).ToString();
connection.Close();
Java example:
Code: Select all
import net.elisy.businessconnector.*;
import net.elisy.businessconnector.vm.*;
...
String connectionString = "ws=\"http://demo-ma.1c.ru/trade\";Usr=\"\";Pwd=\"\";L=\"en_US\"";
Connection connection = new Connection(connectionString);
connection.open();
String[] users = connection.getUserList();
connection.login(users[0], "password");
GlobalContext gc = new GlobalContext(connection);
Object server2 = gc.getServerModule("CommonServerModule").invoke("SomeExportFunction", null);
connection.close();