Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   Delphi SOAP service: only publish WSDL in RELEASE mode (https://www.delphipraxis.net/197607-delphi-soap-service-only-publish-wsdl-release-mode.html)

DP News-Robot 21. Aug 2018 18:10

Delphi SOAP service: only publish WSDL in RELEASE mode
 
If you want to restrict the WSDL publishing so it only is published in DEBUG mode, then add a [WayBack] TWSDLHTMLPublish to your [WayBack]*TWebModule descendant, then add this in the [WayBack] OnCreate event handler of that TWebModule descendant: // Enable/disable handling of "/wsdl*" requests during DEBUG/RELEASE mode. Enabling sends them via // Handled := WSDLHTMLPublish1.DispatchRequest(Sender, […]

Weiterlesen...


Alle Zeitangaben in WEZ +1. Es ist jetzt 15:46 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz