Hitachi

uCosminexus Service Platform Reference Guide


3.6.2 Client definition file

Organization of this subsection

(1) Format

[com.cosminexus.csc.connect.timeout=Connection-timeout-value]
[com.cosminexus.csc.request.timeout=Read-timeout-value]
[com.cosminexus.csc.session.maintain={true | false}]
[com.cosminexus.csc.auto-delete-incomplete-file={true | false}]
[com.cosminexus.csc.file.read-lock.retry.count=lock-retry-count]
[com.cosminexus.csc.file.read-lock.retry.interval=lock-retry-interval]

(2) Function

Define operations when a Web service is invoked from the service adapter in SOAP1.1/1.2 combined mode. The setting is enabled, when the service adapter starts.

The client definition file is created by the file name cscwsconf.properties.

(3) Specifiable parameters

com.cosminexus.csc.connect.timeout=Connection-timeout-value~~<numeric>((0-86400))<<60>>

Specify the connection timeout value of the socket in seconds units while accessing service components from the Web Service adapter. If you specify 0, a timeout does not occur. The timeout value specified by this property is applicable while invoking the Web Service.

com.cosminexus.csc.request.timeout=Read-timeout-value~~<numeric> ((0-86400))<<300>>

Specify the read timeout value of the socket in seconds units while accessing service components from the Web Service adapter. If you specify 0, a timeout does not occur. The timeout value specified by this property is applicable while invoking the Web Service.

com.cosminexus.csc.session.maintain={true | false} ~~<<false>>

Specify the existence of HTTP session support.

com.cosminexus.csc.auto-delete-incomplete-file={true|false} ~ <<true>>

Specify whether to automatically delete the incomplete files which are generated due to an error during output of files to a work folder or common folder after the SOAP adapter has received attachments from a service component.

com.cosminexus.csc.file.read-lock.retry.count =lock-retry-count ~ <Numeric> ((0-1024))<<0>>

Specify the number of times the lock is to be retried when an attempt to acquire a shared lock for files in the common folder fails.

com.cosminexus.csc.file.read-lock.retry.interval =lock-retry-interval ~ <Number>((1-1024))<<1>>

Specify, in seconds, the interval between lock retries when an attempt to acquire a shared lock for files in the common folder fails.

(4) Example of coding

com.cosminexus.csc.connect.timeout=120
com.cosminexus.csc.request.timeout=480
com.cosminexus.csc.session.maintain=false
com.cosminexus.csc.auto-delete-incomplete-file=true
com.cosminexus.csc.file.read-lock.retry.count=5
com.cosminexus.csc.file.read-lock.retry.interval=1

(5) Notes

Multiple descriptions of the same property must not be made. In such cases, validity of values is not guaranteed.