javaee_web_services_1_2.xsd 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
  3. targetNamespace="http://java.sun.com/xml/ns/javaee"
  4. xmlns:javaee="http://java.sun.com/xml/ns/javaee"
  5. xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  6. elementFormDefault="qualified"
  7. attributeFormDefault="unqualified"
  8. version="1.2">
  9. <xsd:annotation>
  10. <xsd:documentation>
  11. @(#)javaee_web_services_1_2.xsds 1.18 02/13/06
  12. </xsd:documentation>
  13. </xsd:annotation>
  14. <xsd:annotation>
  15. <xsd:documentation>
  16. Copyright 2003-2006 Sun Microsystems, Inc.
  17. 4150 Network Circle
  18. Santa Clara, California 95054
  19. U.S.A
  20. All rights reserved.
  21. Sun Microsystems, Inc. has intellectual property rights
  22. relating to technology described in this document. In
  23. particular, and without limitation, these intellectual
  24. property rights may include one or more of the U.S. patents
  25. listed at http://www.sun.com/patents and one or more
  26. additional patents or pending patent applications in the
  27. U.S. and other countries.
  28. This document and the technology which it describes are
  29. distributed under licenses restricting their use, copying,
  30. distribution, and decompilation. No part of this document
  31. may be reproduced in any form by any means without prior
  32. written authorization of Sun and its licensors, if any.
  33. Third-party software, including font technology, is
  34. copyrighted and licensed from Sun suppliers.
  35. Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
  36. JavaServer Pages, Enterprise JavaBeans and the Java Coffee
  37. Cup logo are trademarks or registered trademarks of Sun
  38. Microsystems, Inc. in the U.S. and other countries.
  39. Federal Acquisitions: Commercial Software - Government Users
  40. Subject to Standard License Terms and Conditions.
  41. </xsd:documentation>
  42. </xsd:annotation>
  43. <xsd:annotation>
  44. <xsd:documentation>
  45. (C) Copyright International Business Machines Corporation 2002
  46. </xsd:documentation>
  47. </xsd:annotation>
  48. <xsd:annotation>
  49. <xsd:documentation>
  50. <![CDATA[
  51. The webservices element is the root element for the web services
  52. deployment descriptor. It specifies the set of web service
  53. descriptions that are to be deployed into the Java EE Application
  54. Server and the dependencies they have on container resources and
  55. services. The deployment descriptor must be named
  56. "META-INF/webservices.xml" in the web services' jar file.
  57. Used in: webservices.xml
  58. All webservices deployment descriptors must indicate the
  59. webservices schema by using the Java EE namespace:
  60. http://java.sun.com/xml/ns/javaee
  61. and by indicating the version of the schema by using the version
  62. element as shown below:
  63. <webservices xmlns="http://java.sun.com/xml/ns/javaee"
  64. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  65. xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
  66. http://java.sun.com/xml/ns/javaee/javaee_web_services_1_2.xsd"
  67. version="1.2">
  68. ...
  69. </webservices>
  70. The instance documents may indicate the published version of the
  71. schema using the xsi:schemaLocation attribute for the Java EE
  72. namespace with the following location:
  73. http://java.sun.com/xml/ns/javaee/javaee_web_services_1_2.xsd
  74. ]]>
  75. </xsd:documentation>
  76. </xsd:annotation>
  77. <xsd:annotation>
  78. <xsd:documentation>
  79. The following conventions apply to all Java EE
  80. deployment descriptor elements unless indicated otherwise.
  81. - In elements that specify a pathname to a file within the
  82. same JAR file, relative filenames (i.e., those not
  83. starting with "/") are considered relative to the root of
  84. the JAR file's namespace. Absolute filenames (i.e., those
  85. starting with "/") also specify names in the root of the
  86. JAR file's namespace. In general, relative names are
  87. preferred. The exception is .war files where absolute
  88. names are preferred for consistency with the Servlet API.
  89. </xsd:documentation>
  90. </xsd:annotation>
  91. <xsd:include schemaLocation="javaee_5.xsd"/>
  92. <!-- **************************************************** -->
  93. <xsd:element name="webservices" type="javaee:webservicesType">
  94. <xsd:annotation>
  95. <xsd:documentation>
  96. The webservices element is the root element for the web services
  97. deployment descriptor. It specifies the set of web service
  98. descriptions that are to be deployed into the Java EE Application Server
  99. and the dependencies they have on container resources and services.
  100. Used in: webservices.xml
  101. </xsd:documentation>
  102. </xsd:annotation>
  103. <xsd:key name="webservice-description-name-key">
  104. <xsd:annotation>
  105. <xsd:documentation>
  106. The webservice-description-name identifies the collection of
  107. port-components associated with a WSDL file and JAX-RPC mapping. The
  108. name must be unique within the deployment descriptor.
  109. </xsd:documentation>
  110. </xsd:annotation>
  111. <xsd:selector xpath="javaee:webservice-description"/>
  112. <xsd:field xpath="javaee:webservice-description-name"/>
  113. </xsd:key>
  114. </xsd:element>
  115. <!-- **************************************************** -->
  116. <xsd:complexType name="handler-chainType">
  117. <xsd:annotation>
  118. <xsd:documentation>
  119. The handler-chain element defines the handlerchain.
  120. Handlerchain can be defined such that the handlers in the
  121. handlerchain operate,all ports of a service, on a specific
  122. port or on a list of protocol-bindings. The choice of elements
  123. service-name-pattern, port-name-pattern and protocol-bindings
  124. are used to specify whether the handlers in handler-chain are
  125. for a service, port or protocol binding. If none of these
  126. choices are specified with the handler-chain element then the
  127. handlers specified in the handler-chain will be applied on
  128. everything.
  129. </xsd:documentation>
  130. </xsd:annotation>
  131. <xsd:sequence>
  132. <xsd:choice minOccurs="0" maxOccurs="1">
  133. <xsd:element name="service-name-pattern"
  134. type="javaee:qname-pattern" />
  135. <xsd:element name="port-name-pattern"
  136. type="javaee:qname-pattern" />
  137. <xsd:element name="protocol-bindings"
  138. type="javaee:protocol-bindingListType"/>
  139. </xsd:choice>
  140. <xsd:element name="handler"
  141. type="javaee:port-component_handlerType"
  142. minOccurs="1" maxOccurs="unbounded"/>
  143. </xsd:sequence>
  144. <xsd:attribute name="id" type="xsd:ID"/>
  145. </xsd:complexType>
  146. <!-- **************************************************** -->
  147. <xsd:complexType name="handler-chainsType">
  148. <xsd:annotation>
  149. <xsd:documentation>
  150. The handler-chains element defines the handlerchains associated
  151. with this service or service endpoint.
  152. </xsd:documentation>
  153. </xsd:annotation>
  154. <xsd:sequence>
  155. <xsd:element name="handler-chain"
  156. type="javaee:handler-chainType"
  157. minOccurs="0" maxOccurs="unbounded"/>
  158. </xsd:sequence>
  159. <xsd:attribute name="id" type="xsd:ID"/>
  160. </xsd:complexType>
  161. <!-- **************************************************** -->
  162. <xsd:complexType name="port-componentType">
  163. <xsd:annotation>
  164. <xsd:documentation>
  165. The port-component element associates a WSDL port with a web service
  166. interface and implementation. It defines the name of the port as a
  167. component, optional description, optional display name, optional iconic
  168. representations, WSDL port QName, Service Endpoint Interface, Service
  169. Implementation Bean.
  170. This element also associates a WSDL service with a JAX-WS Provider
  171. implementation.
  172. </xsd:documentation>
  173. </xsd:annotation>
  174. <xsd:sequence>
  175. <xsd:element name="description"
  176. type="javaee:descriptionType"
  177. minOccurs="0" maxOccurs="1"/>
  178. <xsd:element name="display-name"
  179. type="javaee:display-nameType"
  180. minOccurs="0" maxOccurs="1"/>
  181. <xsd:element name="icon"
  182. type="javaee:iconType"
  183. minOccurs="0" maxOccurs="1"/>
  184. <xsd:element name="port-component-name"
  185. type="javaee:string">
  186. <xsd:annotation>
  187. <xsd:documentation>
  188. <![CDATA[
  189. The port-component-name element specifies a port component's
  190. name. This name is assigned by the module producer to name
  191. the service implementation bean in the module's deployment
  192. descriptor. The name must be unique among the port component
  193. names defined in the same module.
  194. Used in: port-component
  195. Example:
  196. <port-component-name>EmployeeService
  197. </port-component-name>
  198. ]]>
  199. </xsd:documentation>
  200. </xsd:annotation>
  201. </xsd:element>
  202. <xsd:element name="wsdl-service"
  203. type="javaee:xsdQNameType"
  204. minOccurs="0" maxOccurs="1">
  205. <xsd:annotation>
  206. <xsd:documentation>
  207. Defines the name space and local name part of the WSDL
  208. service QName. This is required to be specified for
  209. port components that are JAX-WS Provider implementations.
  210. </xsd:documentation>
  211. </xsd:annotation>
  212. </xsd:element>
  213. <xsd:element name="wsdl-port"
  214. type="javaee:xsdQNameType"
  215. minOccurs="0" maxOccurs="1">
  216. <xsd:annotation>
  217. <xsd:documentation>
  218. Defines the name space and local name part of the WSDL
  219. port QName. This is not required to be specified for port
  220. components that are JAX-WS Provider implementations
  221. </xsd:documentation>
  222. </xsd:annotation>
  223. </xsd:element>
  224. <xsd:element name="enable-mtom"
  225. type="javaee:true-falseType"
  226. minOccurs="0" maxOccurs="1">
  227. <xsd:annotation>
  228. <xsd:documentation>
  229. Used to enable or disable SOAP MTOM/XOP mechanism for an
  230. endpoint implementation.
  231. Not to be specified for JAX-RPC runtime
  232. </xsd:documentation>
  233. </xsd:annotation>
  234. </xsd:element>
  235. <xsd:element name="protocol-binding"
  236. type="javaee:protocol-bindingType"
  237. minOccurs="0" maxOccurs="1">
  238. <xsd:annotation>
  239. <xsd:documentation>
  240. Used to specify the protocol binding used by the port-component.
  241. If this element is not specified, then the default binding is
  242. used (SOAP 1.1 over HTTP)
  243. </xsd:documentation>
  244. </xsd:annotation>
  245. </xsd:element>
  246. <xsd:element name="service-endpoint-interface"
  247. type="javaee:fully-qualified-classType"
  248. minOccurs="0" maxOccurs="1">
  249. <xsd:annotation>
  250. <xsd:documentation>
  251. <![CDATA[
  252. The service-endpoint-interface element contains the
  253. fully-qualified name of the port component's Service Endpoint
  254. Interface.
  255. Used in: port-component
  256. Example:
  257. <remote>com.wombat.empl.EmployeeService</remote>
  258. This may not be specified in case there is no Service
  259. Enpoint Interface as is the case with directly using an
  260. implementation class with the @WebService annotation.
  261. When the port component is a Provider implementation
  262. this is not specified.
  263. ]]>
  264. </xsd:documentation>
  265. </xsd:annotation>
  266. </xsd:element>
  267. <xsd:element name="service-impl-bean"
  268. type="javaee:service-impl-beanType"/>
  269. <xsd:choice>
  270. <xsd:element name="handler"
  271. type="javaee:port-component_handlerType"
  272. minOccurs="0" maxOccurs="unbounded">
  273. <xsd:annotation>
  274. <xsd:documentation>
  275. To be used with JAX-RPC based runtime only.
  276. </xsd:documentation>
  277. </xsd:annotation>
  278. </xsd:element>
  279. <xsd:element name="handler-chains"
  280. type="javaee:handler-chainsType"
  281. minOccurs="0" maxOccurs="1">
  282. <xsd:annotation>
  283. <xsd:documentation>
  284. To be used with JAX-WS based runtime only.
  285. </xsd:documentation>
  286. </xsd:annotation>
  287. </xsd:element>
  288. </xsd:choice>
  289. </xsd:sequence>
  290. <xsd:attribute name="id" type="xsd:ID"/>
  291. </xsd:complexType>
  292. <!-- **************************************************** -->
  293. <xsd:complexType name="port-component_handlerType">
  294. <xsd:annotation>
  295. <xsd:documentation>
  296. Declares the handler for a port-component. Handlers can access the
  297. init-param name/value pairs using the HandlerInfo interface.
  298. Used in: port-component
  299. </xsd:documentation>
  300. </xsd:annotation>
  301. <xsd:sequence>
  302. <xsd:group ref="javaee:descriptionGroup"/>
  303. <xsd:element name="handler-name"
  304. type="javaee:string">
  305. <xsd:annotation>
  306. <xsd:documentation>
  307. Defines the name of the handler. The name must be unique within the
  308. module.
  309. </xsd:documentation>
  310. </xsd:annotation>
  311. </xsd:element>
  312. <xsd:element name="handler-class"
  313. type="javaee:fully-qualified-classType">
  314. <xsd:annotation>
  315. <xsd:documentation>
  316. Defines a fully qualified class name for the handler implementation.
  317. </xsd:documentation>
  318. </xsd:annotation>
  319. </xsd:element>
  320. <xsd:element name="init-param"
  321. type="javaee:param-valueType"
  322. minOccurs="0" maxOccurs="unbounded"/>
  323. <xsd:element name="soap-header"
  324. type="javaee:xsdQNameType"
  325. minOccurs="0" maxOccurs="unbounded">
  326. <xsd:annotation>
  327. <xsd:documentation>
  328. Defines the QName of a SOAP header that will be processed by the
  329. handler.
  330. </xsd:documentation>
  331. </xsd:annotation>
  332. </xsd:element>
  333. <xsd:element name="soap-role"
  334. type="javaee:string"
  335. minOccurs="0" maxOccurs="unbounded">
  336. <xsd:annotation>
  337. <xsd:documentation>
  338. The soap-role element contains a SOAP actor definition that the
  339. Handler will play as a role.
  340. </xsd:documentation>
  341. </xsd:annotation>
  342. </xsd:element>
  343. </xsd:sequence>
  344. <xsd:attribute name="id" type="xsd:ID"/>
  345. </xsd:complexType>
  346. <!-- **************************************************** -->
  347. <xsd:simpleType name="protocol-URIAliasType">
  348. <xsd:annotation>
  349. <xsd:documentation>
  350. Defines the type that is used for specifying tokens that
  351. start with ## which are used to alias existing standard
  352. protocol bindings and support aliases for new standard
  353. binding URIs that are introduced in future specifications.
  354. The following tokens alias the standard protocol binding
  355. URIs:
  356. ##SOAP11_HTTP = "http://schemas.xmlsoap.org/wsdl/soap/http"
  357. ##SOAP11_HTTP_MTOM =
  358. "http://schemas.xmlsoap.org/wsdl/soap/http?mtom=true"
  359. ##SOAP12_HTTP = "http://www.w3.org/2003/05/soap/bindings/HTTP/"
  360. ##SOAP12_HTTP_MTOM =
  361. "http://www.w3.org/2003/05/soap/bindings/HTTP/?mtom=true"
  362. ##XML_HTTP = "http://www.w3.org/2004/08/wsdl/http"
  363. </xsd:documentation>
  364. </xsd:annotation>
  365. <xsd:restriction base="xsd:token">
  366. <xsd:pattern value="##.+"/>
  367. </xsd:restriction>
  368. </xsd:simpleType>
  369. <!-- **************************************************** -->
  370. <xsd:simpleType name="protocol-bindingListType">
  371. <xsd:annotation>
  372. <xsd:documentation>
  373. Defines the type used for specifying a list of
  374. protocol-bindingType(s). For e.g.
  375. ##SOAP11_HTTP ##SOAP12_HTTP ##XML_HTTP
  376. </xsd:documentation>
  377. </xsd:annotation>
  378. <xsd:list itemType="javaee:protocol-bindingType"/>
  379. </xsd:simpleType>
  380. <!-- **************************************************** -->
  381. <xsd:simpleType name="protocol-bindingType">
  382. <xsd:annotation>
  383. <xsd:documentation>
  384. Defines the type used for specifying the URI for the
  385. protocol binding used by the port-component. For
  386. portability one could use one of the following tokens that
  387. alias the standard binding types:
  388. ##SOAP11_HTTP
  389. ##SOAP11_HTTP_MTOM
  390. ##SOAP12_HTTP
  391. ##SOAP12_HTTP_MTOM
  392. ##XML_HTTP
  393. Other specifications could define tokens that start with ##
  394. to alias new standard binding URIs that are introduced.
  395. </xsd:documentation>
  396. </xsd:annotation>
  397. <xsd:union memberTypes="xsd:anyURI javaee:protocol-URIAliasType"/>
  398. </xsd:simpleType>
  399. <!-- **************************************************** -->
  400. <xsd:simpleType name="qname-pattern">
  401. <xsd:annotation>
  402. <xsd:documentation>
  403. This is used to specify the QName pattern in the
  404. attribute service-name-pattern and port-name-pattern in
  405. the handler-chain element
  406. For example, the various forms acceptable here for
  407. service-name-pattern attribute in handler-chain element
  408. are :
  409. Exact Name: service-name-pattern="ns1:EchoService"
  410. In this case, handlers specified in this
  411. handler-chain element will apply to all ports with
  412. this exact service name. The namespace prefix must
  413. have been declared in a namespace declaration
  414. attribute in either the start-tag of the element
  415. where the prefix is used or in an an ancestor
  416. element (i.e. an element in whose content the
  417. prefixed markup occurs)
  418. Pattern : service-name-pattern="ns1:EchoService*"
  419. In this case, handlers specified in this
  420. handler-chain element will apply to all ports whose
  421. Service names are like EchoService1, EchoServiceFoo
  422. etc. The namespace prefix must have been declared in
  423. a namespace declaration attribute in either the
  424. start-tag of the element where the prefix is used or
  425. in an an ancestor element (i.e. an element in whose
  426. content the prefixed markup occurs)
  427. Wild Card : service-name-pattern="*"
  428. In this case, handlers specified in this handler-chain
  429. element will apply to ports of all service names.
  430. The same can be applied to port-name attribute in
  431. handler-chain element.
  432. </xsd:documentation>
  433. </xsd:annotation>
  434. <xsd:restriction base="xsd:token">
  435. <xsd:pattern value="\*|([\i-[:]][\c-[:]]*:)?[\i-[:]][\c-[:]]*\*?"/>
  436. </xsd:restriction>
  437. </xsd:simpleType>
  438. <!-- **************************************************** -->
  439. <xsd:complexType name="service-impl-beanType">
  440. <xsd:annotation>
  441. <xsd:documentation>
  442. The service-impl-bean element defines the web service implementation.
  443. A service implementation can be an EJB bean class or JAX-RPC web
  444. component. Existing EJB implementations are exposed as a web service
  445. using an ejb-link.
  446. Used in: port-component
  447. </xsd:documentation>
  448. </xsd:annotation>
  449. <xsd:choice>
  450. <xsd:element name="ejb-link"
  451. type="javaee:ejb-linkType"/>
  452. <xsd:element name="servlet-link"
  453. type="javaee:servlet-linkType"/>
  454. </xsd:choice>
  455. <xsd:attribute name="id" type="xsd:ID"/>
  456. </xsd:complexType>
  457. <!-- **************************************************** -->
  458. <xsd:complexType name="servlet-linkType">
  459. <xsd:annotation>
  460. <xsd:documentation>
  461. <![CDATA[
  462. The servlet-link element is used in the service-impl-bean element
  463. to specify that a Service Implementation Bean is defined as a
  464. JAX-RPC Service Endpoint.
  465. The value of the servlet-link element must be the servlet-name of
  466. a JAX-RPC Service Endpoint in the same WAR file.
  467. Used in: service-impl-bean
  468. Example:
  469. <servlet-link>StockQuoteService</servlet-link>
  470. ]]>
  471. </xsd:documentation>
  472. </xsd:annotation>
  473. <xsd:simpleContent>
  474. <xsd:restriction base="javaee:string"/>
  475. </xsd:simpleContent>
  476. </xsd:complexType>
  477. <!-- **************************************************** -->
  478. <xsd:complexType name="webservice-descriptionType">
  479. <xsd:annotation>
  480. <xsd:documentation>
  481. The webservice-description element defines a WSDL document file
  482. and the set of Port components associated with the WSDL ports
  483. defined in the WSDL document. There may be multiple
  484. webservice-descriptions defined within a module.
  485. All WSDL file ports must have a corresponding port-component element
  486. defined.
  487. Used in: webservices
  488. </xsd:documentation>
  489. </xsd:annotation>
  490. <xsd:sequence>
  491. <xsd:element name="description"
  492. type="javaee:descriptionType"
  493. minOccurs="0" maxOccurs="1"/>
  494. <xsd:element name="display-name"
  495. type="javaee:display-nameType"
  496. minOccurs="0" maxOccurs="1"/>
  497. <xsd:element name="icon"
  498. type="javaee:iconType"
  499. minOccurs="0" maxOccurs="1"/>
  500. <xsd:element name="webservice-description-name"
  501. type="javaee:string">
  502. <xsd:annotation>
  503. <xsd:documentation>
  504. The webservice-description-name identifies the collection of
  505. port-components associated with a WSDL file and JAX-RPC
  506. mapping. The name must be unique within the deployment descriptor.
  507. </xsd:documentation>
  508. </xsd:annotation>
  509. </xsd:element>
  510. <xsd:element name="wsdl-file"
  511. type="javaee:pathType"
  512. minOccurs="0" maxOccurs="1">
  513. <xsd:annotation>
  514. <xsd:documentation>
  515. The wsdl-file element contains the name of a WSDL file in the
  516. module. The file name is a relative path within the module.
  517. </xsd:documentation>
  518. </xsd:annotation>
  519. </xsd:element>
  520. <xsd:element name="jaxrpc-mapping-file"
  521. type="javaee:pathType"
  522. minOccurs="0" maxOccurs="1">
  523. <xsd:annotation>
  524. <xsd:documentation>
  525. The jaxrpc-mapping-file element contains the name of a file that
  526. describes the JAX-RPC mapping between the Java interaces used by
  527. the application and the WSDL description in the wsdl-file. The
  528. file name is a relative path within the module.
  529. This is not required when JAX-WS based runtime is used.
  530. </xsd:documentation>
  531. </xsd:annotation>
  532. </xsd:element>
  533. <xsd:element name="port-component"
  534. type="javaee:port-componentType"
  535. minOccurs="1" maxOccurs="unbounded">
  536. <xsd:key name="port-component_handler-name-key">
  537. <xsd:annotation>
  538. <xsd:documentation>
  539. Defines the name of the handler. The name must be unique
  540. within the module.
  541. </xsd:documentation>
  542. </xsd:annotation>
  543. <xsd:selector xpath="javaee:handler"/>
  544. <xsd:field xpath="javaee:handler-name"/>
  545. </xsd:key>
  546. </xsd:element>
  547. </xsd:sequence>
  548. <xsd:attribute name="id" type="xsd:ID"/>
  549. </xsd:complexType>
  550. <!-- **************************************************** -->
  551. <xsd:complexType name="webservicesType">
  552. <xsd:sequence>
  553. <xsd:group ref="javaee:descriptionGroup"/>
  554. <xsd:element name="webservice-description"
  555. type="javaee:webservice-descriptionType"
  556. minOccurs="1" maxOccurs="unbounded">
  557. <xsd:key name="port-component-name-key">
  558. <xsd:annotation>
  559. <xsd:documentation>
  560. <![CDATA[
  561. The port-component-name element specifies a port
  562. component's name. This name is assigned by the module
  563. producer to name the service implementation bean in the
  564. module's deployment descriptor. The name must be unique
  565. among the port component names defined in the same module.
  566. Used in: port-component
  567. Example:
  568. <port-component-name>EmployeeService
  569. </port-component-name>
  570. ]]>
  571. </xsd:documentation>
  572. </xsd:annotation>
  573. <xsd:selector xpath="javaee:port-component"/>
  574. <xsd:field xpath="javaee:port-component-name"/>
  575. </xsd:key>
  576. </xsd:element>
  577. </xsd:sequence>
  578. <xsd:attribute name="version"
  579. type="javaee:dewey-versionType"
  580. fixed="1.2"
  581. use="required">
  582. <xsd:annotation>
  583. <xsd:documentation>
  584. The required value for the version is 1.2.
  585. </xsd:documentation>
  586. </xsd:annotation>
  587. </xsd:attribute>
  588. <xsd:attribute name="id" type="xsd:ID"/>
  589. </xsd:complexType>
  590. </xsd:schema>