PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Installing a SOAP server with Apache
  • To install the SOAP server for Apache (the Apache 1.3.x, Apache 2.0.x or Apache 2.2.x server must be installed on the computer):
  • Installing a Webservice
  • If you want to install a Webservice
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Warning
From version 20, this feature is not available anymore. See Importing/Consuming Webservices for more details
Warning
From version 15, the Webservices generated by the versions 14 (and earlier) of WINDEV are kept for backward compatibility. We recommend that you use the new format of Webservice, available from version 15.
See for more details: Generating a Webservice.
Installing a SOAP server with Apache

To install the SOAP server for Apache (the Apache 1.3.x, Apache 2.0.x or Apache 2.2.x server must be installed on the computer):

  1. Open the "httpd.conf" file in the Windows notepad. This file is found in the conf sub-directory of the Apache setup. If you have chosen the default setup directory, this directory corresponds to: C:\Program Files\Apache Group\Apache\conf.
  2. Find the section regarding the support of shared objects. To do so, find:
    • the following line: "# Dynamic Shared Object (DSO) Support"
    • the "LoadModule" keyword.
  3. Add the following line to install the final soap server:
    • Apache 1.3.x:
      LoadModule windev_module <Setup directory of wdxxxapa.dll>/wdxxxsapa.dll
    • Apache 2.0.x:
      LoadModule windev_module <Setup directory of wdxxxapa2.dll>/wdxxxsapa2.dll
    • Apache 2.2.x:
      LoadModule windev_module <Setup directory of wdxxxsapa22.DLL>/wdxxxsapa22.dll
    Notes:
    • If the specified directory contains space characters, the path must be enclosed in quotes ("Path with spaces").
    • This line must not start with the # sign.
    • Caution: The names of files and directories are case sensitive (uppercase/lowercase characters).
  4. Find the section regarding the "handlers" of requests. To do so, find:
    • the line "# AddHandler allows you to map certain file extensions to "handlers",
    • the "AddHandler" keyword.
  5. Add the following line: AddHandler windev-module .soap
    Notes:
    • This line must not start with the # sign.
    • Use a different extension if the ".soap" extension is already associated with a module on your server. In this case, this new extension must be specified in the functions used to specify the URL of the SOAP server (<URL of SOAP Server> in SOAPRun for example).
    • Check whether the soap extension is defined with the same case as in Internet Explorer. Apache is case sensitive.
    • Check whether the access path to wdxxxsapa.dll, wdxxxsapa2.dll or wdxxxsapa22.dll uses the "Apache/Linux" notation, which means for example: C:/MySOAPExe/wdxxxsapa.dll
  6. Find the following line:
    # [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE, UPDATE THIS SECTION TOO!]
    ClearModuleList
  7. Add the line: AddModule InterfaceApache.cpp
  8. If you want to install a standard SOAP server, the setup of the server is completed. You can stop and restart the Apache server in order to apply the modifications.
Installing a Webservice

If you want to install a Webservice

9. Find the section about the default directory of the files in the "httpd.conf" file. To do so, find the "documentroot" keyword.
10. Copy the following files into the directory specified after the "documentroot" keyword:
  • the XML file containing the description of the Webservice,
  • the HTML pages presenting the Webservice.
To access this XML file, use the following command line:
"http://<Name or IP Address of Soap Server>/<Name of XML File>.XML"
To run the test of this Webservice, use the following command line:
"http://<NAme or IP Address of Soap Server>/index.htm"
Note: This XML file can also be copied into another directory. See the documentation about the HTTP server used for more details.
11. The Webservice is now installed on the SOAP server.
Minimum required version
  • Version 9
Comments
Click [Add] to post a comment