M
M
Michael2018-07-25 19:41:46
Ruby on Rails
Michael, 2018-07-25 19:41:46

How do you integrate 1c and rails?

Good afternoon, connoisseurs!
Tell me what gems do you use to integrate rails with 1c, and how best to do it?
Is there any modern solution?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Kinash, 2018-07-25
@Dementor

And what is the essence of the question? What kind of integration are we talking about?
From the 1C side, there are a number of open interfaces for interaction - OData, COM, SOAP and REST, which programs written in Ruby can use.
In turn, 1C itself can use external programming interfaces, both directly and through external components.
A third option is possible - using an intermediary. It can be either files or a transit base, or system buses. For example, some prefer using RabbitMQ, and some like OpenESB - the internet is full of integration examples.
First, decide on the technology that is most suitable for your project on rails and specifically for your 1C base. It all depends on the nuances. Up to the point that it will be most profitable for you to exchange text files on a network ball once a month.

I
Ivan, 2018-07-25
@IvanTheCrazy

I had the following experience for integration with an online store:
- the customer provided the upload format (xml)
- this upload was implemented on the backend with packaging in zip
- the customer downloaded it manually
How to generate xml - I think you know.
As far as I know, you can send this xml to 1s via http, or configure 1s to periodically "pull" this upload, but we did not have such a task.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question