- 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
Installing a SOAP server with Apache
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): - Open the "httpd.conf" file in the Windows notepad. This file is located in the conf subdirectory of the Apache setup. If you have chosen the default setup directory, this directory corresponds to: C:\Program Files\Apache Group\Apache\conf.
- Find the section regarding the support of shared objects. To do so, find:
- the following line: "# Dynamic Shared Object (DSO) Support"
- the "LoadModule" keyword.
- 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 Remarks:- 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).
- 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.
- Add the following line: AddHandler windev-module .soap
Remarks:- 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
- Find the following line:
# [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE, UPDATE THIS SECTION TOO!] ClearModuleList
- Add the line: AddModule InterfaceApache.cpp
- 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.
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 Webservice description,
- 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"
Remark: This XML file can also be copied into another directory. For more details, see the documentation about the HTTP server used. 11. The Webservice is now installed on the SOAP server.
|
|
|
|