Question

I'm trying to create a SOAP Server application that is a stand alone application (no need for IIS to be configured). The problem is that I get this error when trying to compile:

I get the error

SockApp was compiled with a different version of IdTCPServer

Now this is because Delphi 2006 ships with INDY 10 but SockApp appear to have been compiled with INDY 9.

The read me states:

  1. Include $(BDS)\Lib\Indy9 in the Library path and remove $(BDS)\Lib\Indy10. However, this forces the application to use Indy9.
  2. Compile IndySockTransport and sockapp and put it in $(BDS)\Lib\Indy10.

Option 1 works, but I need to use some of the INDY 10 features so this is not a great option for me.

Does anyone know how to implement option 2? i.e. how do I compile IndySockTransaport and sockapp?

Was it helpful?

Solution

You can also look here: http://www.cromis.net/blog/downloads/cromis-isapi-server/

It is simple to use, flexible (out of the box it works with Indy 9 and 10, but can work with any HTTP components) and tested. It is an ISAPI server side support, but you just build your SOAP module as ISAPI and it works as standalone server. You practically need only few lines of code.

OTHER TIPS

This tutorial covers the steps to build a standalone Soap Server using Indy 9 but it can be modified to work with Indy 10 too:

http://www.digicoast.com/delphi_soap_standalone.html

See also the accepted answer in How to build stand-alone SOAP web services using Delphi? with links to Indy 10 versions

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top