Integration with 1C Odata interface

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
Active user
Rating: 7
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
Active user
Rating: 7
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?

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

It's code inside  private platform, like .NET code inside 1C platform.

 
#7
People who like this:0Yes/0No
Active user
Rating: 7
Joined: Nov 3, 2011
Company: 1C Company

Anton, can you provide an sample configuration without any private data, then?  We only need that code part that causes the issue.

You can send it to int@1c.ru. Please add "for Yulia Ivanova" to the subject to ensure that I do not miss it.

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.