...
The XML configuration file must be correctly formed and valid in terms of the cfgWebServices.xsd XML schema.
The XML configuration file defines three scopes:
- A global scope: data applicable to all Web services.
A service scope: data applicable only to the Web service named by the <AdeliaName> item.
An operation scope: data applicable only to the operation named by the <Name> item of the Web service named by the <AdeliaName> item.
...
Notes:
- If two identical parameters are used in different scopes, the parameter with the smallest scope takes priority. For example, a 'Service' scope parameter takes priority over an identically named 'Global' scope parameter.
- A parameter set via an Adelia instruction always takes priority over the one defined in the configuration file. For example, the data specified by the *CONNECTION LOGIN directive of the WS_CALL instruction take priority over the <Transport><HttpAuth> items.
...
Parameter definitions and scopes
Scope
Hardis - Tableau personnalisé | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
Type
B[Boolean] | S[String] | N[Numerical]
...
Hardis - Tableau personnalisé | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
|
...
...
...
...
|
...
Notes:
All password parameters should be broken down as follows:
Hardis - Tableau personnalisé | ||||||
---|---|---|---|---|---|---|
| ||||||
|
- The above-described configuration does not apply to SOAP RPC/Encoded Web service consumption in "parameter" mode, except for the <JustThisFile>, <AdeliaName> and <Epr> parameters.
...
Développer | ||
---|---|---|
| ||
Example 1 : <?xml version="1.0"?> <Configuration> <Global> <JustThisFile>false</JustThisFile> </Global> <Service> <AdeliaName>AX2_DOL</AdeliaName> <Epr>http://vmwas7:8080/axis2/services/AX2_DOL</Epr> </Service> <Service> <AdeliaName>AX2_DOW</AdeliaName> <Transport><Proxy><Host>monproxy.com</Host><Port>80</Port></Proxy></Transport> </Service> </Configuration> This configuration file specifies that: - the old configuration file CfgWebServices.ini (or CfgWebServices.properties in a Java context) should be viewed if, for the Web service to run, no access point has been defined (<Epr>). - the service named AX2_DOL is accessible via the URL http://vmwas7:8080/axis2/services/AX2_DOL - connection to the service named AX2_DOW is implemented through the proxy monproxy.com:80 Example 2 : <?xml version="1.0"?> <Configuration> <Service> <AdeliaName>AX2_DOLS</AdeliaName> <Epr>https://vmwas7:8443/axis2/services/AX2_DOLS</Epr> <Transport> <SSLCertificate> <ServerCertFile>c:\certifs\svca.pem</ServerCertFile> <TruststoreName>c:/certifs/java/keystore.jks</TruststoreName> <TruststorePwd> <Encrypted>false</Encrypted> <Password>changeit</Password> </TruststorePwd> </SSLCertificate> </Transport> </Service> </Configuration> This configuration file provides the information required for secure connection (SSL; server authentication) in both a C/Windows and Java context. Notes: - In a C/Windows context, directories are separated by a back slash [\]. - In a Java context, directories are separated by a forward slash [/]. Example 3:
<!-- Timeout modification; service scope --> |
...
...
Développer | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
...