Integration with 1C Odata interface


If you wish to leave comments or ask questions, please log on or sign up.

1C:Enterprise platform integration capabilities and techniques

#1
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Oct 30, 2013
Company:

Hello. We are trying to integrate with standart odata interface. We are using cloud integration platform and we have a problem with entities which have empty relationships. When we try to load metada from catalog "Контрагенты" we've receive this error:
Exception Type : NullReferenceException Message : Ссылка на объект не указывает на экземпляр объекта. StackTrace : в Scribe.Connector.Odata.ProtocolV1ToV3.Metadata.MetadataProviderV1ToV3.ProcessRelationsDefinitions(IEdmEntitySet entitySet, IEdmEntityType entityType) в Scribe.Connector.Odata.ProtocolV1ToV3.Metadata.MetadataProviderV1ToV3.SetObjectDefinition(IEdmEntitySet entitySet, IEdmEntityType entityType, Boolean shouldGetProperties, Boolean shouldGetRelations, Version odataVersion) в Scribe.Connector.Odata.ProtocolV1ToV3.Metadata.MetadataProviderV1ToV3.<>c__DisplayClass26.b__22(<>f__AnonymousType0`2 <>h__TransparentIdentifier1b) в System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() в System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) в Scribe.Core.Access.MetadataProvider.RetrieveObjectDefinition(String objectName, Boolean shouldGetProperties, Boolean shouldGetRelations) в Scribe.Core.Processor.StartFetchPropertyRelationshipMetadataCommandHandler.ProcessMetadataReply(Command command)

Have you any ideas how to workaround this?

 
#2
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Oct 30, 2013
Company:

And question from integration platform developers: Does Odata interface support OData Service query the Expand option?

 
#3
People who like this:0Yes/0No
Administrator
Rating: 6
Joined: Nov 3, 2011
Company: 1C Company

Anton,

to investigate the error, we need to take a look at your configuration. Can you please provide it?

> Does OData interface support OData Service query the Expand option?
Yes, since 1C:Enterprise version 8.3.9.

 
#4
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Oct 30, 2013
Company:

Hello Yulia!
We are testing our integration on demo configuration "Бухгалтерия предприятия, редакция 3.0 (3.0.47.26)"

 
#5
People who like this:0Yes/0No
Administrator
Rating: 6
Joined: Nov 3, 2011
Company: 1C Company

Anton, it looks like the exception comes from the .NET integration code. Can we have a look at it?

 
Subscribe