Search code examples
web-servicesdelphisoapindy

How to build stand-alone SOAP web services using Delphi?


How can I build a stand-alone SOAP-based Web Services using Delphi? Must work with Delphi 2009, but it'd be nice if it worked with older ones too.

The built-in WebBroker Web Services creates CGI or ISAPI. It would be nice to create a stand-alone executable that I can control from bottom to top, especially during development.


Solution

  • Dave Nottage wrote Building a stand-alone Web service with Indy (source code).

    This article explains how to fit Indy into Delphi 6's Web services (SOAP) support.

    According to the comment on the page, it works with Delphi 2009 with some modification.

    Edit: People in Indy 10 and IdHTTPWebBrokerBridge with CBuilder 2009 posted modified version. For example, IdHTTPWebBrokerBridge.pas is by Jochanan van der Niet.