Closed carlpr closed 9 years ago
Hi @carlpr the endpoint attribute in the config file needs to point to the proxy uri exposed from the service that contains the WebApiProxy provider. The default proxy uri (assuming that you haven't changed it) will be http://{domain}/api/proxies
The fact that you're using Windows auth shouldn't make a difference. Hope this helps.
Closing this issue due to inactivity :)
I'm getting the following error:
Error 5 The "ProxyGenerationTask" task failed unexpectedly. WebApiProxy.ConnectionException: WebApiProxy: Could not connect to remote server
But I can browse to my web site on localhost just fine. I have the correct url in the config file in my Windows Application (in same solution as WebApplication)
<?xml version="1.0" encoding="utf-8" ?> xsi:noNamespaceSchemaLocation="http://webapiproxy.github.io/schemas/client-config.xsd" generateOnBuild="true" endpoint="http://localhost/WebApplication1/api/Values/" />
I'm using the default web application with WebAPI. Its using Windows Auth via IIS. The WebApi has a default 'Values' entity.
What could be the issue?