ODataConnectedService icon indicating copy to clipboard operation
ODataConnectedService copied to clipboard

Add support for References and Includes.

Open karim-devdotnet opened this issue 4 years ago • 6 comments

Is your feature request related to a problem? Please describe.

Add support to edmx include and edm references to connected service.

Also provide a log file to help users with debugging issues they encounter using connected service.

Is there a generated Log file after generating an OData Proxy Service from your Plugin? Because i got a NullReferenceException error and i don't know what is exactly the problem.

Describe the solution you'd like

For example use console.write("stackTrace of the Exception") or generate a log file

Additional context

image

image

karim-devdotnet avatar Jun 24 '21 12:06 karim-devdotnet

@karimabd84 Do you have a sample csdl I can try to reproduce this? I can help repro to identify what the core issue is.

marabooy avatar Jun 24 '21 12:06 marabooy

I can send you the metadata, because the SAP OData-Service needs authentication. TWA_Metadata.zip

karim-devdotnet avatar Jun 24 '21 14:06 karim-devdotnet

@karimabd84 recieved.

marabooy avatar Jun 24 '21 14:06 marabooy

@karimabd84 I believe the error could be due to the Edmx Reference and Edmx include. Not sure if on your end it gets past these. I will try and create a repro locally using these features. If you are not relying on the annotations, you could remove the edmx reference and includes and it should proceed smoothly.

marabooy avatar Jun 24 '21 14:06 marabooy

I deleted the references and includes and it works. Thank you very much!!

karim-devdotnet avatar Jun 24 '21 14:06 karim-devdotnet

@karimabd84 I will now update the issue with the root cause, and you may notice the description will be different from what you had initially.

marabooy avatar Jun 24 '21 14:06 marabooy