A
A
AlexCruel2021-05-21 20:13:17
1C
AlexCruel, 2021-05-21 20:13:17

Is it possible to send and receive an array from C# to 1C and vice versa?

A web server is deployed on the 1C side. I'm connecting to it from a C# application.
The parameter that the 1C function of the anyType type takes ( www.w3.org/2001/XMLSchema ).

Strings are transferred correctly. And here an array, for example, string[] does not want.
Error: Error serializing parameter <parameter 1C>. The InnerException message was "Type 'System.String[]' with data contract name ' ArrayOfstring:http://schemas.microsoft.com/2003/10... ' is not expected.

How to do an array data exchange?"

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Melnikov, 2021-05-21
@Mi11er

1) For a better understanding of the situation, you need a sending code from the Sharp side and acceptance from the 1C side.
2) are links used on the 1C WS side or REST?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question