Table of Contents
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 schema file:
JEUS_HOME/lib/schemas/jeus/jeus-webservicesclient-dd.xsd
XML references are configured in the following format.
XML Schema/XML Tree: Summarizes all the tags of XML configuration file. Each node is defined in the following format.
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.
The XML tag name defined in the XML schema is expressed in the format of <tag name>.
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
Several tags have "P" character, meaning that they are the tags related to performance. These tags are used to tune the setting.
Element Reference: Explains XML tags in the tree.
Dynamic: Allowed to change the configuration dynamically.
Non-Dynamic: Not allowed to change the configuration dynamically. This is expressed only for the special case to comment out.
Description: A short description for tags.
Value Description: The value and type.
Value Type: Data type of the value. (ex: String)
Value Type Description: Description for the data type of the value.
Default Value: The value to be used by default when the XML is not used.
Defined Value: The default value.
Example: The XML tag example.
Performance Recommendation: The value recommended to improve performance.
Child Elements:The tags contained in its own tag element.
(231) <service-ref> ?
(232) <service-client> *
(233) <service-ref-name>
(234) <port-info> *
(235) <service-endpoint-interface> ?
(236) <wsdl-port> ?
(237) <stub-property> *
(240) <call-property> *
(243) <security> ?
(244) <request-sender> ?
(245) <action-list>
(246) <password-callback-class> ?
(247) <user> ?
(248) <timeStamp> ?
(249) <timeToLive> ?
(250) <aberration> ?
(251) <requireSignature> ?
(252) <precision> ?
(253) <userNameToken> ?
(254) <password> ?
(255) <passwordType> ?
(256) <userTokenElements> ?
(257) <signature-infos> ?
(258) <signature-info> *
(259) <signatureParts> ?
(260) <signatureAlgorithm> ?
(261) <messageDigestAlogrithm> ?
(262) <canonicalization> ?
(263) <keyIdentifier>
(264) <keystore> ?
(265) <key-type>
(266) <keystore-password>
(267) <keystore-filename>
(268) <encryption-infos> ?
(269) <encryption-info> *
(270) <encryptionParts> ?
(271) <keyTransportAlogrithm> ?
(272) <encryptionAlgorithm> ?
(273) <encryptionUser> ?
(274) <keyIdentifier>
(275) <keystore> ?
(276) <key-type>
(277) <keystore-password>
(278) <keystore-filename>
(279) <embeddedKey> ?
(281) <key-name>
(282) <response-receiver> ?
(283) <action-list>
(284) <observeActionOrder> ?
(285) <password-callback-class> ?
(286) <timeStamp> ?
(287) <timeToLive> ?
(288) <aberration> ?
(289) <requireSignature> ?
(290) <precision> ?
(291) <decryption> ?
(292) <keystore>
(293) <key-type>
(294) <keystore-password>
(295) <keystore-filename>
(296) <signature-verification> ?
(297) <keystore>
(298) <key-type>
(299) <keystore-password>
(300) <keystore-filename>
(301) <service-impl-class> ?
(302) <wsdl-override> ?
(303) <require-dynamic-proxy> ?
(304) <service-qname> ?
(305) <call-property> *
(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)
|
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
.
[Example 24.1] The service-ref tag in jeus-web-dd.xml
<?xml version="1.0" encoding="UTF-8"?> <!-- Represents JEUS webservice client deployment descriptor --> <jeus-web-dd xmlns="http://www.tmaxsoft.com/xml/ns/jeus"> <!-- root element of jeus webservice client configuration xml document --> <service-ref> <!-- specify configurations for webservice client --> <service-client> <!-- same as service-ref-name of web.xml or ejb-jar.xml --> <service-ref-name> service/DocLitEchoService </service-ref-name> <!-- specify port information which is called by webservice client --> <port-info> <!-- specify port in wsdl --> <wsdl-port xmlns:ns1="urn:DocLitService"> ns1:Echo </wsdl-port> <!-- specify properties in javax.xml.rpc.Stub object in using a specific port --> <stub-property> <!-- specify key name of the property --> <name> javax.xml.rpc.service.endpoint.address </name> <!-- specify key value of the property --> <value> http://localhost:8088/DocLitEchoService/DocLi tEchoService </value> </stub-property> </port-info> </service-client> </service-ref> </jeus-web-dd>