Chapter 24. Configuring a Web Service Client

Table of Contents

24.1. Introduction
24.2. XML Schema/XML Tree
24.3. Element Reference
24.4. Example File

This chapter explains the contents of the web service client deployment descriptor. The web service client DD does not exist as a separate file but is contained in jeus-web-dd.xml, jeus-ejb-dd.xml, or jeus-client-dd.xml as a <service-ref> tag.

XML references are configured in the following format.

  1. XML Schema/XML Tree: Summarizes all the tags of XML configuration file. Each node is defined in the following format.

    1. Tag reference enables quick search for tags. Each tag is attached with index numbers ( ex: (11) ). Tags are explained with this number in tag reference.

    2. The XML tag name defined in the XML schema is expressed in the format of <tag name>.

    3. Tags are set with cardinality defined in XML schema.

      “?” is for 0 or 1 element, “+” is for 1 or more elements, “*” is for 0 or more elements, (no symbol) is for exactly one element

    4. Several tags have "P" character, meaning that they are the tags related to performance. These tags are used to tune the setting.

  2. Element Reference: Explains XML tags in the tree.

    1. Dynamic: Allowed to change the configuration dynamically.

    2. Non-Dynamic: Not allowed to change the configuration dynamically. This is expressed only for the special case to comment out.

    3. Description: A short description for tags.

    4. Value Description: The value and type.

    5. Value Type: Data type of the value. (ex: String)

    6. Value Type Description: Description for the data type of the value.

    7. Default Value: The value to be used by default when the XML is not used.

    8. Defined Value: The default value.

    9. Example: The XML tag example.

    10. Performance Recommendation: The value recommended to improve performance.

    11. Child Elements:The tags contained in its own tag element.

(231) < jeus-web-dd > <service-ref>
Description Root element of a JEUS Web service client configuration documentation.
Value Type jeus-webservices-client-ddType
Child Elements

(233) service-client

A web service client setting, <service-client>, does not exist as a separate file but is contained in jeus-web-dd.xml , jeus-ejb-dd.xml, or jeus-client-dd.xml.

  • In jeus-web-dd.xml,<service-client> is used as a child element of the /jeus-web-dd/service-ref element.

  • In jeus-ejb-dd.xml,<service-client> is used as a child element of the /jeus-ejb-dd/beanlist/jeus-bean/servie-ref element.

  • In jeus-client-dd.xml,<service-client> is used as a child element of the /jeus-client-dd/service-ref element

The following is an example of <service-client> used in web.xml.