WebServiceEngine options

Table 1. Options for the com.WebServiceEngine
Flag Client or Server Description
readwritetimeout Client

Defines the default maximum time in seconds a client, a HTTP request/response and a TCP request/response have to wait before raising an error that the server doesn't return or accept data.

A value of -1 means infinite wait.

The default is -1.

connectiontimeout Client

Defines the default maximum time in seconds a client, a HTTPRequest and a TCPRequest have to wait for the establishment of a connection with a server.

A value of -1 means infinite wait.

The default is 30 seconds for non-Windows, 5 seconds for Windows™.

maximumresponselength Both

Defines the maximum authorized size in KBytes for a client, server, HTTP or TCP response, before a break (when it stops and returns from the function because the amount of data surpassed the maximumresponselength.)

A value of -1 means no limit.

The default is -1.

wsdl_decimalsize Server

Defines whether the precision and scale of a DECIMAL variable will be taken into account during the WSDL generation. See WSDL generation options notes.

A value of zero means FALSE.

The default is TRUE.

wsdl_arraysize Server

Defines whether the size of a BDL array will be taken into account during the WSDL generation. See WSDL generation options notes.

A value of zero means FALSE.

The default is TRUE.

wsdl_stringsize Server

Defines whether the size of a CHAR or VARCHAR variable will be taken into account during the WSDL generation. See WSDL generation options notes.

A value of zero means FALSE.

The default is TRUE.

http_invoketimeout

(deprecated)

Client

Defines the default maximum time in seconds a client has to wait before the client connection raises an error because the server is not responding.

A value of -1 means that it has to wait until the server responds.

The default is -1.

Important: Deprecated - use readwritetimeout
server_readwritetimeout Server

Defines how long a socket read or write operation can wait before before raising an error.

The default value is 5 seconds.
Note: Before this option was introduced, the default valus was -1 (infinite) and was configurable with the accept timeout parameter via ProcessServices() method.
SoapModuleURI Both

Defines the SOAP role of a Genero application with an URI to identify it along a SOAP message path.

The default value is NULL.

tcp_connectiontimeout

(deprecated)

Client

Defines the default maximum time in seconds a client has to wait for the establishment of a TCP connection with a server.

A value of -1 means infinite wait.

The default is 30 seconds for non-Windows, 5 seconds for Windows.

Important: Deprecated - use connectiontimeout