Running the OpenSOAP Server (0) To run the OpenSOAP Server a HTTP Server is required. At this time, operation with apache httpd has been verified. (1) In accordance INSTALL.txt, build and install the OpenSOAP Server. Pay particular attention to the directory where soapInterface.cgi is installed. This is used to connect apache httpd and the OpenSOAP Server. The default setting places it in /home/httpd/cgi-bin, and, if necessary, use the --with-cgi-bin to specify the CGI executable directory. (2) By default, a service uses standard I/O for connection, but this behaviour can be changed to socket connection by making the appropriate modifications to the SSML settings file. Also, refer to RegistService.txt for instructions on registering the service with inetd (xinetd). A warning will be issued indicating that it is an error to run the service programs as root. Furthermore, by using the SSML settings, connecting to a service by specifying the endpoint used by HTTP is now supported. Please refer to the SSML_Readme.txt file for details. (3) Edit the server settings file(server.conf) to be found under /usr/local/opensoap/etc/. * Log files for all server processes /usr/local/opensoap/var/log/ * Server internal SOAP Message temporary directory /usr/local/opensoap/var/spool/ * Server internal asynchronous message temporary directory /usr/local/opensoap/var/spool/ * Server Processes ID management directory /usr/local/opensoap/var/run/ * Server Processes Socket management directory /usr/local/opensoap/var/run/ * Server Internal Signature Authentication management directory /usr/local/opensoap/etc/ * Service management SSML file registration directory /usr/local/opensoap/etc/ssml/ * Use the following setting when specifying the return EndPoint for an asynchronous request message. The following setting is required in order to indicate to the message responder where to send the message, and must be set to this server's location. Also, in order to check message transfer loop, if the server has another name or IP address, these should be listed as shown below. In the following example the response will be sent to http://myhost.opensoap.jp/cgi-bin/soapInterface.cgi http://myhost.opensoap.jp/cgi-bin/soapInterface.cgi http://192.168.0.123/cgi-bin/soapInterface.cgi http://soap-server.opensoap.jp/cgi-bin/soapInterface.cgi * When the appropriate service is not available in this server, use the following setting to specify the EndPoint server to which the message will be forwarded. The server EndPoint is set in the . In the following example, the message will be forwarded to http://yourhost.opensoap.jp/cgi-bin/soapInterface.cgi http://yourhost.opensoap.jp/cgi-bin/soapInterface.cgi * Regarding server control messages for asynchronous message ID, etc., the following setting is used to specify whether the server's signature is attached or not. When adding a signature, set this to true. false * Setting the maximum size for a received SOAP message. It is now possible to set a limit on the maximum size for a received SOAP message. The message size is defined in bytes, but it is also possible to use 500k, 1M etc. Use negative values (ie. -1) to set no maximum limit. A value of 0 means no SOAP message will be accepted. 1M * For asynchronous processing, for incomplete internally queued processes, it is possible to set a cancellation time for the spool data. This is defined as seconds. Values less than 0 are not allowed. (If this is not set, it defaults to 3600 seconds) 3600 ** It is possible to set this value in the SSML file for each service, and this value, if set in the SSML file, takes precedence over all others. ** Also, it is possible to specify this value in each individual SOAP message header. In this instance, if the value specified in the SOAP header is LESS than that of the SSML file, then it takes precedence. If there is no value specified in the SSML file, then the value in the header is used if it is less than that specified in the server.conf file. Example usage: server.conf | 10 10 10 10 10 10 SSML | - 20 5 20 20 - SOAP-header | - - - 30 15 15 -------------------------------------- Value used | 10 20 5 20 15 10 * For synchronous process, it is possible to set the processing time-out in seconds for each SOAP message. Values less than 0 are not allowed. (If this is not set, it defaults to 600 seconds) 600 ** Using this value in the SSML file or in the SOAP message header is the same as for the usage described above. * Setting a limit on the number of allowable transfers of a SOAP message. If this is set to 0, no transfer is allowed. Negative values are not allowed. (If this is not set, the internal system default of 4 is used) 4 ** As before, usage of this value in th SSML file and SOAP header is the same as for the value described above. * The following section is a list of settings relating to log outputs. Log type. syslog=output to syslog. file=output to a file. The default is output to syslog. Log output contents. generic=generic log data. detail=detailed log data. The default is generic.