Problem with OData v4 endpoint
I have an internal Odata v4 endpoint running on my localhost in IIS with Windows Auth and a self-signed certificate. (The kind that will give you a warning and a big X in chrome, firefox, etc.)
Anyways, in linqpad, I try to connect to it, specifying the URL without the $metadata at the tail end.
I get the following error:
https://localhost/chipsdbwebapi/odata/ (Error: WebException - The underlying connection was closed: An unexpected error occurred on a send. (Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.)
Any ideas?
Anyways, in linqpad, I try to connect to it, specifying the URL without the $metadata at the tail end.
I get the following error:
https://localhost/chipsdbwebapi/odata/ (Error: WebException - The underlying connection was closed: An unexpected error occurred on a send. (Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.)
Any ideas?
Comments
Error WebException - Failed to access the metadata document. The ODATA service required authentication for accessing it. Please download the metadata, store it into a local file, and set the value of "MathadataDocumentUri" in the .odata.config file to the file path. After that, run custom tool again to generate the OData client code.
Note - yes, I have specified my domain credentials when creating the connection