Receiving HTTP 404 error while trying to connect to service

Options

Hi,

I'm just trying to get the sample application configured. It looks like the Service is configured, but when I try to access it via http://:8080/gateway/SampleService/v1/profiles, I receive a 404 error.

Is there any way to troubleshoot it? What does the /v1 in the path signify?

Thanks,
Eric

Comments

  • The v1 represents the version of the API. Did you specify 1 as the release number in the service metadata file? It is a common practice to version APIs so you don't break legacy clients.

  • Thanks Tim.

    Here is what the app.properties file contains. Is that the file that you mean?

    Thanks,
    Eric

    displayName=OTConnect
    description=OTConnect wrapper
    releaseNumber=1
    minimumClientVersion=1
    type=service

  • I believe a similar issue was reported earlier (AppWorks Sample Service Install Error). The ZIP file is incomplete, we are working to correct this.

  • Hey Eric,

    The article has been updated with a ready to install sample service and a separate download with the example source code. Please give that a try and let us know if you are still having issues!