uCosminexus Application Server, Web Service Development Guide

[Contents][Glossary][Index][Back][Next]

10.1.1 Coding rules for the action definition file

This subsection describes the coding format and coding rules for the action definition file. This subsection also describes the priority for the action definition.

Organization of this subsection
(1) Coding format
(2) Coding rules
(3) Priority of action definition

(1) Coding format

In the action definition file, specify the keys as follows:

key-name=value

(2) Coding rules

Code the action definition file according to the following rules:

(3) Priority of action definition

The priority order for the action definition is as follows:

  1. Defining in the Web Service client (message context)
  2. Process-wise definition file
  3. Common definition file

The following example of specifying a definition in the Web Service client describes the code for setting up the connection timeout value in the Web Service client:

//setConnectTimeout()
int timeout = 60000;
Map<String, Object> ctxt = ((BindingProvider)port).getRequestContext();
ctxt.put("com.cosminexus.jaxws.connect.timeout", timeout);