NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: ProperGary on March 24, 2022, 05:33:19 AM

Title: Second NetWebService in same WebServer
Post by: ProperGary on March 24, 2022, 05:33:19 AM
I have an API server configured and all working well, I want to add a second "service" to the same server - I want to separate all the lookup data into a separate service to retrieve codes/descriptions and keep separate from the main entity API.

I added a second NetWebService procedure to the application and added a single NetWebServiceMethod which is assigned to it.

My issue is that the seconds service does not appear in the services drop down in the documentation, I can get to it if I use the direct URL localhost/servicename?servicemethodname but not from the landing page.

I've clearly missed a step or an association somewhere, but can't find it.

Can anyone assist?
Title: Re: Second NetWebService in same WebServer
Post by: Bruce on March 24, 2022, 07:18:23 PM
did you add the Service as a method to the menu?
ie that "services drop down" is a menu, in the PageHeaderTag procedure, and if you add services, and you want the service in the menu, then you need to add it to the menu.

Cheers
Bruce
Title: Re: Second NetWebService in same WebServer
Post by: ProperGary on March 30, 2022, 04:44:01 AM
Spot on Bruce - many thanks, that has got it sorted.