Some time ago I’ve been thinking about how to hide from default page of the web service the IAppServer and IAppServerSOAP interfaces and that appear by default. I know that my Webservice interface, has these interfaces as ancestors, but I believe pointless “see” these interfaces on the default page, as the client programs do not use them directly.
Is there any way to hide these interfaces and just keep our interface and others that were created?
Finally I got it!
To do so, all I had to do was edit the WebModule2DefaultHandlerAction method, i.e., the OnAction event handler of the DefaultHandler WebActionItem.
The final event handler looks like this now:
The HideInterfaces procedure follows:
The comments are in Portuguese, sorry, but it’s easy to understand the code. If you like it and use it, please let me know and give me some credits, right 😉
I would like to thank you all for the valuable answers. Without your help I would never find the solution! Thank You All!