We currently have NAV 2018 installed and I am trying to use an ODATA web service in VS 2015 by creating a Service Reference. I am currently receiving this error:
The custom tool 'DataServicesCoreClientGenerator' failed. Data service client code-generation failed: Schema specified is not valid. Errors: (0,0) : error 0005: The 'Name' attribute is invalid - Th value '_Fault_Log_No_x003C_x003E_x0027_x0027_' is invalide according to its datatype 'http://schedmas.microsoft.com/ado/2007/05/edm:TSimpleIdentifier' - The Pattern constraint failed.
So when entering the Address in the Service Reference I use this format: https://hostname:port/instance/OData/ We are using SSL, so I don't know if this makes a difference. We are also using NavUserPassword to login. What is interesting is that after hitting Go on the Address it prompts me for my credentials 3 times. Once the 3rd time is complete it seems to grab the information. I can see my web services endpoints that I set up in NAV. But once I hit ok on the Service Reference window it looks like it is trying to set it up and then errors out with the above message. Also, on another note, on this same machine if I go to IE,Chrome, or Edge I put in the https://hostname:port/instance/OData/ and it prompts me for my credentials and I enter them, it shows the Web Service information just fine.
Is there anyone that has any input on how to get past this error? Could this be something with VS2015? Could this be with a setup with NAV? I tried to recreated this issue on a local computer with a self signed SSL and Using NavUserPassword and I was able to set up my Service Reference just fine.
I've searched online and I haven't found anything that has helped us yet. Any help would be appreciated.
Thanks.
*This post is locked for comments
I have the same question (0)