I've attempted to follow the following guide:
https://www.leadtools.co...toolsservicesoniis7.htmlI tried to complete this guide specifically for the Raster REST Service. However, by the end of it, when I attempt to call the Raster.svc/Info service, I get back a 404 response.
I used D:\inetpub\vserver\Leadtools\RESTHost as the location for all necessary files on the server.
In step 2, it says "Copy the Leadtools.Services.* from <LEADTOOLS_INSTALLDIR>\Bin to <LEADTOOLS_INSTALLDIR>\WCFHost\Bin ", however, there are no Rest or service files in my Leadtools install bin directory. I did find these files in the "C:\LEADTOOLS 19\Redist\DotNet4\Win32" folder though. Is that the right location?
For step 4, for the redistributable files, I copied everything from my local machine in C:\LEADTOOLS 19\Redist\DotNet4\Win32 to D:\inetpub\vserver\Leadtools\RESTHost\Bin
In step 5 and 7, it says to make a Raster.svc and Web.config file but I used the files from the following location:
C:\LEADTOOLS 19\Examples\REST\RESTServicesHost\Raster.svc
C:\LEADTOOLS 19\Examples\REST\RESTServicesHost\Web.config
I placed these files in D:\inetpub\vserver\Leadtools\RESTHost.
I then tried to use Postman as well as some code that I wrote to get info on an example picture:
http://server/LEADTOOLSRESTServicesHost/Raster.svc/Info?uri=https://upload.wikimedia.org/wikipedia/en/7/7e/Patrick_Star.png
I get back the following response:
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /LEADTOOLSRESTServicesHost/Raster.svc/Info
I'm not sure how to troubleshoot this issue.
Is there a different guide that I should be following? The one I was looking at was specifically for WCF services and there seems to be outdated and missing info from this guide.