Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EclipseLink/UserGuide/DBWS/Overview/EclipseLink DBWS Service Descriptor File (ELUG)"
< EclipseLink | UserGuide | DBWS | Overview
(→EclipseLink DBWS Service Descriptor File) |
(→EclipseLink DBWS Service Descriptor File) |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | [[Special:Whatlinkshere/Creating Deployment Files for EclipseLink Database Web Services (ELUG)|Related Topics]] | ||
==EclipseLink DBWS Service Descriptor File== | ==EclipseLink DBWS Service Descriptor File== | ||
− | |||
<onlyinclude> | <onlyinclude> | ||
The metadata for an EclipseLink DBWS service is contained in a service descriptor file <tt><b>eclipselink-dbws.xml</b></tt>. | The metadata for an EclipseLink DBWS service is contained in a service descriptor file <tt><b>eclipselink-dbws.xml</b></tt>. | ||
The <tt><b>eclipselink-dbws.xml</b></tt>'s XML Schema definition is <tt><b>eclipselink-dbws_1.0.xsd</b></tt> and it is located in the | The <tt><b>eclipselink-dbws.xml</b></tt>'s XML Schema definition is <tt><b>eclipselink-dbws_1.0.xsd</b></tt> and it is located in the | ||
<tt><ECLIPSELINK_HOME>/xsds</tt> directory. <br/> | <tt><ECLIPSELINK_HOME>/xsds</tt> directory. <br/> | ||
− | [[ | + | '''''eclipselink-dbws.xml File Elements''''' |
+ | <span id="Table 9-2"></span> | ||
+ | {| class="RuleFormalWideMax" dir="ltr" title="eclipselink-dbws.xml File Elements." width="100%" border="1" frame="border" rules="all" cellpadding="3" frame="border" rules="all" | ||
+ | |- align="left" valign="top" | ||
+ | ! id="r1c1-t2" align="left" valign="bottom" | '''Element''' | ||
+ | ! id="r1c2-t2" align="left" valign="bottom" | '''Description''' | ||
+ | ! id="r1c1-t2" align="left" valign="bottom" | '''Required''' | ||
+ | ! id="r1c2-t2" align="left" valign="bottom" | '''Default''' | ||
+ | |- align="left" valign="top" | ||
+ | | align="left" | | ||
+ | name | ||
+ | | | ||
+ | The name of the EclipseLink database Web service. | ||
+ | | | ||
+ | Yes-set by the DBWSBuilder property projectName. For more information, see [[EclipseLink/UserGuide/Creating Deployment Files for EclipseLink Database Web Services (ELUG)#DBWSBuilder|DBWSBuilder]] and [[#eclipselink-dbws-builder.xml|eclipselink-dbws-builder.xml]]. | ||
+ | | | ||
+ | None | ||
+ | |- | ||
+ | | | ||
+ | sessions-file | ||
+ | | | ||
+ | The name of EclipseLink '''sessions.xml''' file to be used. | ||
+ | | | ||
+ | No | ||
+ | | | ||
+ | If not present, then '''eclipselink-dbws-sessions.xml''' will be used. | ||
+ | |- | ||
+ | | | ||
+ | Any of the following four operation elements: | ||
+ | *insert | ||
+ | *update | ||
+ | *delete | ||
+ | *query | ||
+ | | | ||
+ | One or more service operations. | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | None | ||
+ | |} | ||
</onlyinclude> | </onlyinclude> | ||
+ | |||
+ | |||
+ | [[Image:dbws_1_0.png]] | ||
---- | ---- | ||
''[[EclipseLink User's Guide Copyright Statement|Copyright Statement]]'' | ''[[EclipseLink User's Guide Copyright Statement|Copyright Statement]]'' |
Revision as of 15:39, 19 March 2009
EclipseLink DBWS Service Descriptor File
The metadata for an EclipseLink DBWS service is contained in a service descriptor file eclipselink-dbws.xml.
The eclipselink-dbws.xml's XML Schema definition is eclipselink-dbws_1.0.xsd and it is located in the
<ECLIPSELINK_HOME>/xsds directory.
eclipselink-dbws.xml File Elements
Element | Description | Required | Default |
---|---|---|---|
name |
The name of the EclipseLink database Web service. |
Yes-set by the DBWSBuilder property projectName. For more information, see DBWSBuilder and eclipselink-dbws-builder.xml. |
None |
sessions-file |
The name of EclipseLink sessions.xml file to be used. |
No |
If not present, then eclipselink-dbws-sessions.xml will be used. |
Any of the following four operation elements:
|
One or more service operations. |
Yes |
None |