|
|
|
|
- Installing a Webservice
- Special case: Setup with IIS 7
- Automatic setup
- Manual setup
Installing a Webservice (old format)
Two methods can be used to install a Webservice: - Automatic setup via WDSOAPINST.EXE
- Manual setup.
Special case: Setup with IIS 7 If the Webservice must be installed with the IIS 7 server, the following operations must be performed BEFORE a manual setup or an automatic setup is performed. In order for SOAP to operate properly with IIS 7, some features of Windows Vista must be enabled. To do so, from the control panel of Windows: - Start the "Programs and features" menu.
- Click the link "Turn Windows features on or off".
- Expand the "Internet services (IIS)" features.
- The following features must necessarily be checked:
- Compatibility with the IIS metabase and with the IIS 6 configuration. This option is available in the "Web management tools" section.
- CGI and ISAPI extensions. These options are available in the "Application development features" section.
- Static content and Default document. These options are available in the "Common HTTP features" section.
- Basic authentication. This option is available in the "Security" section.
- We also advise you to check the following options:
- IIS management console. This option is available in the "Web management tools" section.
- FTP management console. This option is available in the "FTP publication service" section.
- HTTP logging. This option is available in the "Health and diagnostics" process.
- FTP server. This option is available in the "FTP publication service" section.
Automatic setup To create the setup program: - Start WDSoapInst.exe. This application is found in the "\Programs" directory of WINDEV.
- Select the service to deploy (.WDL file of your project).
- Specify the deployment address of the service. This address must correspond to the address for which the Webservice was generated.
- Specify whether the setup of the SOAP server must be proposed (optional setup for example for an update of the Webservice).
- Validate. The setup program is generated in the "InstallWebService" directory of the project. The content of this directory must be copied onto the computer where the Webservice is installed.
To install the Webservice : - Copy the generated files onto the server.
- Run WDSOAPSetup.exe.
- Specify the server for which the Webservice must be installed. Specify whether the SOAP server must be installed.
- If the SOAP server must be installed, confirm the different settings of the SOAP server (DLL location, log file, ...). This information can be modified at any time in the SOAP administrator. For more details, see Configuring the administrator.
- Specify the options for configuring the service: location of the files, download time, ...
- Validate. The test of the Webservice is available.
Remark: If several Webservices are installed on the same computer, you must install: - all the libraries (WDL) in the same directory,
- all the WINDEV DLLs used in the same directory.
A single SOAP administrator will be installed and used. Caution: The rights granted to the user of the http site are very important. If a WINDEV SOAP server must write into a file, write rights must be granted to the user of the site (Internet guest). Note for information: the operations performed by the installer are as follows: - Creating an alias between ".soap" and wd180siis.dll. The .soap files are redirected toward this DLL.
- Create an alias (virtual directory) on the directory of the Webservice.
Manual setup To install your application on a SOAP server: - Create the client version of your application ("Tools .. Create the client version"). The following files must be selected for the setup:
- WDSOAPConfig.EXE found in the "Data" directory of the setup directory of WINDEV.
- The WINDEV DLLs required to run your application. Check whether the following DLLs are selected: wd180img.dll, wd180obj.dll, wd180pnt.dll, wd180std.dll and wd180vm.dll.
- The WINDEV DLLs specific to the HTTP server used: wd180sapa.dll for Apache 1.3, wd180sapa2.dll for Apache 2.0, wd180siis for IIS, etc.
- Install the application on the WINDEV SOAP server.
- Configure the Internet server for your WINDEV application:
- Configure the SOAP administrator. For more details, see Configuring the administrator.
- In order for the SOAP client to contact the server, the server address used in SOAPRun must have the following format:
<Name or IP Address of Server>\Service.soap
Remark: If several Webservices are installed on the same computer, you must install: - all the libraries (WDL) in the same directory,
- all the WINDEV DLLs used in the same directory.
A single SOAP administrator will be installed and used. Caution: The rights granted to the user of the http site are very important. If a WINDEV SOAP server must write into a file, write rights must be granted to the user of the site (Internet guest).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|