Open softshipper opened 1 year ago
I also have the same error
Same error on a different SAP S/4HANA service. I hoped running through the odata-cli
instead of the Visual Studio extension would give some more details but it fails silently.
Had the same issue but was resolved by downloading the schema and removing:
<Annotation Term="Core.SchemaVersion" String="1.0.0" xmlns="http://docs.oasis-open.org/odata/ns/edm"/>
Wow. same here and no answer yet from Microsoft
@henrikcrepido And it didn't help to remove this line
I advise not use this tool, even not anything different from Microsoft. I opened an official support request at Microsoft. They didn't provide any help with this issue.
My conclusion:
Hi all,
I am trying to use https://github.com/unchase/Unchase.OData.Connectedservice/ to generate OData client C# code based on a metadata file. The service is hosted on SAP S/4HANA and the metadata is in version 2.0. Here is the content of the metadata:
The following steps show how I imported the metadata file:
As you can see on the last step I have received an error.
I also tried to import https://services.odata.org/V2/Northwind/Northwind.svc/$metadata file and it generated OData client without any error.
Best regards