NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Second NetWebService in same WebServer
« previous
next »
Print
Pages: [
1
]
Author
Topic: Second NetWebService in same WebServer (Read 3091 times)
ProperGary
Newbie
Posts: 19
Second NetWebService in same WebServer
«
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?
«
Last Edit: March 24, 2022, 07:09:29 AM by ProperGary
»
Logged
Bruce
Global Moderator
Hero Member
Posts: 11244
Re: Second NetWebService in same WebServer
«
Reply #1 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
Logged
ProperGary
Newbie
Posts: 19
Re: Second NetWebService in same WebServer
«
Reply #2 on:
March 30, 2022, 04:44:01 AM »
Spot on Bruce - many thanks, that has got it sorted.
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Second NetWebService in same WebServer