microsoft / Dynamics-AX-Integration

Dynamics AX Integration samples and demos.
285 stars 356 forks source link

OdataClient.tt XML generated is not read by the system #88

Open rajdil opened 5 years ago

rajdil commented 5 years ago

Hi,

The XML generated for the metaData URI is only successful only if a local file path is mentioned,

Such as public const string TempFilePath = "C:\temp\Test.xml";

After fixing the issue

Again the error iscomingon the Class OdataClient.cs in method class Resources : global::Microsoft.OData.Client.DataServiceContext line no. 31: this.Format.UseJson(); After that error is always thrown on

The Issue system isnot recognising the edmx format <edmx:Edmx Version=""4.0"" xmlns:edmx=""http://docs.oasis-open.org/odata/ns/edmx""> we need to remove the entire character :Edmx Version=""4.0"" xmlns:edmx=""http://docs.oasis-open.org/odata/ns/edmx" to have application compile ok and execute.

Please explain and fix the issue.

Thanks Raj