New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating Unchase OData V1-V4 Connected Service (Unauthorized) #3
Comments
as a result, functions are not created. |
Before code generation, did you check options "Use network credentials for connecting to the endpoint :" and/or "Use web-proxy for connecting to the endpoint :" along with "Use web-proxy credentials for connecting to the endpoint :"? What endpoint did you use? |
Use network credentials for connecting to the endpoint: checked
"http://192.168.1.110/ut_kaskad/odata/standard.odata/" If i try to import whith functions, its generate the same proxy class, but i see error exception |
It seems that at the time of generating functions, the context loses authorization, trying to make an additional request to the server. |
Fixed in last commit (v 0.3.14). Please, check the issue. |
somewhere between
[11.04.2019 17:43:49.073] Generating Client Proxy extensions class for OData V3...
[11.04.2019 17:43:50.147] Error: Remote host ...... : (401) Unauthorized..
[11.04.2019 17:43:51.786] Client Proxy extensions class for OData V3 was generated.
This happens only with checked
Generate OData methods from FunctionImports.
The text was updated successfully, but these errors were encountered: