j2ee_jaxrpc_mapping_1_1.xsd 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885
  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/j2ee"
  4. xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
  5. xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  6. elementFormDefault="qualified"
  7. attributeFormDefault="unqualified"
  8. version="1.1">
  9. <xsd:annotation>
  10. <xsd:documentation>
  11. @(#)j2ee_jaxrpc_mapping_1_1.xsds 1.11 09/03/03
  12. Based on j2ee_jaxrpc_mapping_1_0.dtd, Last updated: 09/19/2002 10:26
  13. </xsd:documentation>
  14. </xsd:annotation>
  15. <xsd:annotation>
  16. <xsd:documentation>
  17. Copyright 2003 Sun Microsystems, Inc., 901 San Antonio
  18. Road, Palo Alto, California 94303, U.S.A. All rights
  19. reserved.
  20. Sun Microsystems, Inc. has intellectual property rights
  21. relating to technology described in this document. In
  22. particular, and without limitation, these intellectual
  23. property rights may include one or more of the U.S. patents
  24. listed at http://www.sun.com/patents and one or more
  25. additional patents or pending patent applications in the
  26. U.S. and other countries.
  27. This document and the technology which it describes are
  28. distributed under licenses restricting their use, copying,
  29. distribution, and decompilation. No part of this document
  30. may be reproduced in any form by any means without prior
  31. written authorization of Sun and its licensors, if any.
  32. Third-party software, including font technology, is
  33. copyrighted and licensed from Sun suppliers.
  34. Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
  35. JavaServer Pages, Enterprise JavaBeans and the Java Coffee
  36. Cup logo are trademarks or registered trademarks of Sun
  37. Microsystems, Inc. in the U.S. and other countries.
  38. Federal Acquisitions: Commercial Software - Government Users
  39. Subject to Standard License Terms and Conditions.
  40. </xsd:documentation>
  41. </xsd:annotation>
  42. <xsd:annotation>
  43. <xsd:documentation>
  44. (C) Copyright International Business Machines Corporation 2002
  45. </xsd:documentation>
  46. </xsd:annotation>
  47. <xsd:annotation>
  48. <xsd:documentation>
  49. <![CDATA[
  50. The element describes the Java mapping to a known WSDL document.
  51. It contains the mapping between package names and XML namespaces,
  52. WSDL root types and Java artifacts, and the set of mappings for
  53. services.
  54. All java-wsdl-mapping deployment descriptors must indicate the
  55. schema by using the J2EE namespace:
  56. http://java.sun.com/xml/ns/j2ee
  57. and by indicating the version of the schema by using the
  58. version element as shown below:
  59. <java-wsdl-mapping xmlns="http://java.sun.com/xml/ns/j2ee"
  60. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  61. xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
  62. http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd"
  63. version="1.1">
  64. ...
  65. </java-wsdl-mapping>
  66. The instance documents may indicate the published version of
  67. the schema using the xsi:schemaLocation attribute for J2EE
  68. namespace with the following location:
  69. http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd
  70. ]]>
  71. </xsd:documentation>
  72. </xsd:annotation>
  73. <xsd:annotation>
  74. <xsd:documentation>
  75. The following conventions apply to all J2EE
  76. deployment descriptor elements unless indicated otherwise.
  77. - In elements that specify a pathname to a file within the
  78. same JAR file, relative filenames (i.e., those not
  79. starting with "/") are considered relative to the root of
  80. the JAR file's namespace. Absolute filenames (i.e., those
  81. starting with "/") also specify names in the root of the
  82. JAR file's namespace. In general, relative names are
  83. preferred. The exception is .war files where absolute
  84. names are preferred for consistency with the Servlet API.
  85. </xsd:documentation>
  86. </xsd:annotation>
  87. <xsd:include schemaLocation="j2ee_1_4.xsd"/>
  88. <!-- **************************************************** -->
  89. <xsd:element name="java-wsdl-mapping" type="j2ee:java-wsdl-mappingType">
  90. <xsd:annotation>
  91. <xsd:documentation>
  92. This is the root of the java-wsdl-mapping deployment descriptor.
  93. </xsd:documentation>
  94. </xsd:annotation>
  95. </xsd:element>
  96. <!-- **************************************************** -->
  97. <xsd:complexType name="constructor-parameter-orderType">
  98. <xsd:annotation>
  99. <xsd:documentation>
  100. The constructor-parameter-order element defines the order
  101. that complexType element values are applied to a Java
  102. exception constructor. Element names are specified for each
  103. parameter of the constructor, including element names of
  104. inherited types if necessary.
  105. Used in: exception-mapping
  106. </xsd:documentation>
  107. </xsd:annotation>
  108. <xsd:sequence>
  109. <xsd:element name="element-name"
  110. type="j2ee:string"
  111. minOccurs="1" maxOccurs="unbounded">
  112. <xsd:annotation>
  113. <xsd:documentation>
  114. The element-name element defines the name of a complexType
  115. element name attribute value.
  116. </xsd:documentation>
  117. </xsd:annotation>
  118. </xsd:element>
  119. </xsd:sequence>
  120. <xsd:attribute name="id" type="xsd:ID"/>
  121. </xsd:complexType>
  122. <!-- **************************************************** -->
  123. <xsd:complexType name="exception-mappingType">
  124. <xsd:annotation>
  125. <xsd:documentation>
  126. The exception-mapping element defines the mapping between the
  127. service specific exception types and wsdl faults and
  128. SOAP headerfaults.
  129. This element should be interpreted with respect to the
  130. mapping between a method and an operation which provides the
  131. mapping context.
  132. Used in: service-endpoint-method-mapping
  133. </xsd:documentation>
  134. </xsd:annotation>
  135. <xsd:sequence>
  136. <xsd:element name="exception-type"
  137. type="j2ee:fully-qualified-classType">
  138. <xsd:annotation>
  139. <xsd:documentation>
  140. The exception-type element defines Java type of the exception.
  141. It may be a service specific exception.
  142. It must be a fully qualified class name.
  143. </xsd:documentation>
  144. </xsd:annotation>
  145. </xsd:element>
  146. <xsd:element name="wsdl-message"
  147. type="j2ee:wsdl-messageType"/>
  148. <xsd:element name="wsdl-message-part-name"
  149. type="j2ee:wsdl-message-part-nameType"
  150. minOccurs="0" maxOccurs="1">
  151. <xsd:annotation>
  152. <xsd:documentation>
  153. The wsdl-message-part-name element is required only
  154. when the message referenced by the wsdl-message element
  155. has more than one part.
  156. This only occurs when multiple headerfaults use the
  157. same message.
  158. </xsd:documentation>
  159. </xsd:annotation>
  160. </xsd:element>
  161. <xsd:element name="constructor-parameter-order"
  162. type="j2ee:constructor-parameter-orderType"
  163. minOccurs="0" maxOccurs="1"/>
  164. </xsd:sequence>
  165. <xsd:attribute name="id" type="xsd:ID"/>
  166. </xsd:complexType>
  167. <!-- **************************************************** -->
  168. <xsd:complexType name="java-wsdl-mappingType">
  169. <xsd:annotation>
  170. <xsd:documentation>
  171. The element describes the Java mapping to a known WSDL document.
  172. It contains the mapping between package names and XML namespaces,
  173. WSDL root types and Java artifacts, and the set of mappings for
  174. services.
  175. </xsd:documentation>
  176. </xsd:annotation>
  177. <xsd:sequence>
  178. <xsd:element name="package-mapping"
  179. type="j2ee:package-mappingType"
  180. minOccurs="1" maxOccurs="unbounded"/>
  181. <xsd:element name="java-xml-type-mapping"
  182. type="j2ee:java-xml-type-mappingType"
  183. minOccurs="0" maxOccurs="unbounded"/>
  184. <xsd:element name="exception-mapping"
  185. type="j2ee:exception-mappingType"
  186. minOccurs="0" maxOccurs="unbounded"/>
  187. <xsd:sequence minOccurs="0" maxOccurs="unbounded">
  188. <xsd:element name="service-interface-mapping"
  189. type="j2ee:service-interface-mappingType"
  190. minOccurs="0" maxOccurs="1"/>
  191. <xsd:element name="service-endpoint-interface-mapping"
  192. type="j2ee:service-endpoint-interface-mappingType"
  193. minOccurs="1" maxOccurs="unbounded"/>
  194. </xsd:sequence>
  195. </xsd:sequence>
  196. <xsd:attribute name="version"
  197. type="j2ee:dewey-versionType"
  198. fixed="1.1"
  199. use="required">
  200. <xsd:annotation>
  201. <xsd:documentation>
  202. The required value for the version is 1.1.
  203. </xsd:documentation>
  204. </xsd:annotation>
  205. </xsd:attribute>
  206. <xsd:attribute name="id" type="xsd:ID"/>
  207. </xsd:complexType>
  208. <!-- **************************************************** -->
  209. <xsd:complexType name="java-xml-type-mappingType">
  210. <xsd:annotation>
  211. <xsd:documentation>
  212. The java-xml-type-mapping element contains a java-type that is the
  213. fully qualified name of the Java class, primitive type, or array
  214. type, QName of the XML root type or anonymous type, the WSDL type
  215. scope the QName applies to and the set of variable mappings for
  216. each public variable within the Java class.
  217. Used in: java-wsdl-mapping
  218. </xsd:documentation>
  219. </xsd:annotation>
  220. <xsd:sequence>
  221. <xsd:element name="java-type"
  222. type="j2ee:java-typeType">
  223. <xsd:annotation>
  224. <xsd:documentation>
  225. The java-type element is the fully qualified class name of
  226. a Java class, primitive, or array type.
  227. </xsd:documentation>
  228. </xsd:annotation>
  229. </xsd:element>
  230. <choice>
  231. <xsd:element name="root-type-qname"
  232. type="j2ee:xsdQNameType">
  233. <xsd:annotation>
  234. <xsd:documentation>
  235. The root-type-qname identifies the WSDL QName of an XML type.
  236. </xsd:documentation>
  237. </xsd:annotation>
  238. </xsd:element>
  239. <xsd:element name="anonymous-type-qname"
  240. type="j2ee:string">
  241. <xsd:annotation>
  242. <xsd:documentation>
  243. The anonymous-type-qname identifies the WSDL QName of an
  244. anonymous XML type.
  245. </xsd:documentation>
  246. </xsd:annotation>
  247. </xsd:element>
  248. </choice>
  249. <xsd:element name="qname-scope"
  250. type="j2ee:qname-scopeType"/>
  251. <xsd:element name="variable-mapping"
  252. type="j2ee:variable-mappingType"
  253. minOccurs="0" maxOccurs="unbounded"/>
  254. </xsd:sequence>
  255. <xsd:attribute name="id" type="xsd:ID"/>
  256. </xsd:complexType>
  257. <!-- **************************************************** -->
  258. <xsd:complexType name="method-param-parts-mappingType">
  259. <xsd:annotation>
  260. <xsd:documentation>
  261. The method-param-parts-mapping element defines the mapping between a
  262. Java method parameters and a wsdl-message.
  263. Used in: service-endpoint-method-mapping
  264. </xsd:documentation>
  265. </xsd:annotation>
  266. <xsd:sequence>
  267. <xsd:element name="param-position"
  268. type="j2ee:xsdNonNegativeIntegerType">
  269. <xsd:annotation>
  270. <xsd:documentation>
  271. The param-position element defines the position of a
  272. parameter within a Java method. It must be an integer
  273. starting from 0.
  274. </xsd:documentation>
  275. </xsd:annotation>
  276. </xsd:element>
  277. <xsd:element name="param-type"
  278. type="j2ee:java-typeType">
  279. <xsd:annotation>
  280. <xsd:documentation>
  281. The param-type element defines the fully qualified
  282. class name of a Java class, primitive, or array type.
  283. </xsd:documentation>
  284. </xsd:annotation>
  285. </xsd:element>
  286. <xsd:element name="wsdl-message-mapping"
  287. type="j2ee:wsdl-message-mappingType"/>
  288. </xsd:sequence>
  289. <xsd:attribute name="id" type="xsd:ID"/>
  290. </xsd:complexType>
  291. <!-- **************************************************** -->
  292. <xsd:complexType name="package-mappingType">
  293. <xsd:annotation>
  294. <xsd:documentation>
  295. The package-mapping indicates the mapping between java-package-name
  296. and XML namespace in the WSDL document.
  297. Used in: java-wsdl-mapping
  298. </xsd:documentation>
  299. </xsd:annotation>
  300. <xsd:sequence>
  301. <xsd:element name="package-type"
  302. type="j2ee:fully-qualified-classType">
  303. <xsd:annotation>
  304. <xsd:documentation>
  305. The package-type indicates the Java package name. It must be a fully
  306. qualified package name, even though the XML schema type is
  307. fully-qualified-classType.
  308. </xsd:documentation>
  309. </xsd:annotation>
  310. </xsd:element>
  311. <xsd:element name="namespaceURI"
  312. type="j2ee:xsdAnyURIType">
  313. <xsd:annotation>
  314. <xsd:documentation>
  315. The namespaceURI element indicates a URI.
  316. </xsd:documentation>
  317. </xsd:annotation>
  318. </xsd:element>
  319. </xsd:sequence>
  320. <xsd:attribute name="id" type="xsd:ID"/>
  321. </xsd:complexType>
  322. <!-- **************************************************** -->
  323. <xsd:complexType name="parameter-modeType">
  324. <xsd:annotation>
  325. <xsd:documentation>
  326. The parameter-mode element defines the mode of the parameter.
  327. It can have only three values, IN, OUT, INOUT.
  328. Used in: java-xml-type-mapping
  329. </xsd:documentation>
  330. </xsd:annotation>
  331. <xsd:simpleContent>
  332. <xsd:restriction base="j2ee:string">
  333. <xsd:enumeration value="IN"/>
  334. <xsd:enumeration value="OUT"/>
  335. <xsd:enumeration value="INOUT"/>
  336. </xsd:restriction>
  337. </xsd:simpleContent>
  338. </xsd:complexType>
  339. <!-- **************************************************** -->
  340. <xsd:complexType name="port-mappingType">
  341. <xsd:annotation>
  342. <xsd:documentation>
  343. The port-mapping defines the mapping of the WSDL port name attribute
  344. to the Java name used to generate the Generated Service Interface
  345. method get{java-name}.
  346. Used in: service-interface-mapping
  347. </xsd:documentation>
  348. </xsd:annotation>
  349. <xsd:sequence>
  350. <xsd:element name="port-name"
  351. type="j2ee:string">
  352. <xsd:annotation>
  353. <xsd:documentation>
  354. The port-mapping defines the mapping of the WSDL port name
  355. attribute to the Java name used to generate the Generated
  356. Service Interface method get{java-name}.
  357. </xsd:documentation>
  358. </xsd:annotation>
  359. </xsd:element>
  360. <xsd:element name="java-port-name"
  361. type="j2ee:string">
  362. <xsd:annotation>
  363. <xsd:documentation>
  364. The java-port-name element is the string to use as the port
  365. name in Java. It is used in generating the Generated
  366. Service Interface method get{java-port-name}.
  367. </xsd:documentation>
  368. </xsd:annotation>
  369. </xsd:element>
  370. </xsd:sequence>
  371. <xsd:attribute name="id" type="xsd:ID"/>
  372. </xsd:complexType>
  373. <!-- **************************************************** -->
  374. <xsd:complexType name="qname-scopeType">
  375. <xsd:annotation>
  376. <xsd:documentation>
  377. The qname-scope elements scopes the reference of a QName to the WSDL
  378. element type it applies to. The value of qname-scope may be
  379. simpleType, complexType, or element.
  380. Used in: java-xml-type-mapping
  381. </xsd:documentation>
  382. </xsd:annotation>
  383. <xsd:simpleContent>
  384. <xsd:restriction base="j2ee:string">
  385. <xsd:enumeration value="simpleType"/>
  386. <xsd:enumeration value="complexType"/>
  387. <xsd:enumeration value="element"/>
  388. </xsd:restriction>
  389. </xsd:simpleContent>
  390. </xsd:complexType>
  391. <!-- **************************************************** -->
  392. <xsd:complexType name="service-endpoint-interface-mappingType">
  393. <xsd:annotation>
  394. <xsd:documentation>
  395. The service-endpoint-interface-mapping defines a tuple
  396. to specify Service Endpoint Interfaces to
  397. WSDL port types and WSDL bindings.
  398. An interface may be mapped to a port-type and binding multiple
  399. times. This happens rarely.
  400. Used in: java-wsdl-mapping
  401. </xsd:documentation>
  402. </xsd:annotation>
  403. <xsd:sequence>
  404. <xsd:element name="service-endpoint-interface"
  405. type="j2ee:fully-qualified-classType">
  406. <xsd:annotation>
  407. <xsd:documentation>
  408. The service-endpoint-interface element defines the Java
  409. type for the endpoint interface. The name must be a fully
  410. qualified class name.
  411. </xsd:documentation>
  412. </xsd:annotation>
  413. </xsd:element>
  414. <xsd:element name="wsdl-port-type"
  415. type="j2ee:xsdQNameType">
  416. <xsd:annotation>
  417. <xsd:documentation>
  418. The wsdl-port-type element defines the wsdl port type
  419. by a QNAME which uniquely identifies the port type.
  420. </xsd:documentation>
  421. </xsd:annotation>
  422. </xsd:element>
  423. <xsd:element name="wsdl-binding"
  424. type="j2ee:xsdQNameType">
  425. <xsd:annotation>
  426. <xsd:documentation>
  427. The wsdl-binding element defines the wsdl binding
  428. by a QNAME which uniquely identifies the binding.
  429. </xsd:documentation>
  430. </xsd:annotation>
  431. </xsd:element>
  432. <xsd:element name="service-endpoint-method-mapping"
  433. type="j2ee:service-endpoint-method-mappingType"
  434. minOccurs="0" maxOccurs="unbounded"/>
  435. </xsd:sequence>
  436. <xsd:attribute name="id" type="xsd:ID"/>
  437. </xsd:complexType>
  438. <!-- **************************************************** -->
  439. <xsd:complexType name="service-endpoint-method-mappingType">
  440. <xsd:annotation>
  441. <xsd:documentation>
  442. The service-endpoint-method-mapping element defines the mapping of
  443. Java methods to operations (which are not uniquely qualified by
  444. qnames).
  445. The wsdl-operation should be interpreted with respect to the
  446. portType and binding in which this definition is embedded within.
  447. See the definitions for service-endpoint-interface-mapping and
  448. service-interface-mapping to acquire the proper context. The
  449. wrapped-element indicator should only be specified when a WSDL
  450. message wraps an element type. The wsdl-return-value-mapping is
  451. not specified for one-way operations.
  452. Used in: service-endpoint-interface-mapping
  453. </xsd:documentation>
  454. </xsd:annotation>
  455. <xsd:sequence>
  456. <xsd:element name="java-method-name"
  457. type="j2ee:string">
  458. <xsd:annotation>
  459. <xsd:documentation>
  460. The java-method-name element defines the name of a Java method
  461. within an interface.
  462. </xsd:documentation>
  463. </xsd:annotation>
  464. </xsd:element>
  465. <xsd:element name="wsdl-operation"
  466. type="j2ee:string">
  467. <xsd:annotation>
  468. <xsd:documentation>
  469. The wsdl-operation element defines an operation within a WSDL
  470. document. It must be interpreted with respect to a port type.
  471. </xsd:documentation>
  472. </xsd:annotation>
  473. </xsd:element>
  474. <xsd:element name="wrapped-element"
  475. type="j2ee:emptyType"
  476. minOccurs="0"
  477. maxOccurs="1">
  478. <xsd:annotation>
  479. <xsd:documentation>
  480. The wrapped-element element is defined when a WSDL message
  481. with a single part is used to wrap an element type and the
  482. element's name matches the operation name.
  483. </xsd:documentation>
  484. </xsd:annotation>
  485. </xsd:element>
  486. <xsd:element name="method-param-parts-mapping"
  487. type="j2ee:method-param-parts-mappingType"
  488. minOccurs="0"
  489. maxOccurs="unbounded"/>
  490. <xsd:element name="wsdl-return-value-mapping"
  491. type="j2ee:wsdl-return-value-mappingType"
  492. minOccurs="0"/>
  493. </xsd:sequence>
  494. <xsd:attribute name="id" type="xsd:ID"/>
  495. </xsd:complexType>
  496. <!-- **************************************************** -->
  497. <xsd:complexType name="service-interface-mappingType">
  498. <xsd:annotation>
  499. <xsd:documentation>
  500. The service-interface-mapping element defines how a Java type for
  501. the service interface maps to a WSDL service.
  502. Used in: java-wsdl-mapping
  503. </xsd:documentation>
  504. </xsd:annotation>
  505. <xsd:sequence>
  506. <xsd:element name="service-interface"
  507. type="j2ee:fully-qualified-classType">
  508. <xsd:annotation>
  509. <xsd:documentation>
  510. The service-interface element defines the Java type for the service.
  511. For static services, it is javax.xml.rpc.Service interface. For
  512. generated service, it would be the generated interface name.
  513. The name must be a fully qualified class name.
  514. </xsd:documentation>
  515. </xsd:annotation>
  516. </xsd:element>
  517. <xsd:element name="wsdl-service-name"
  518. type="j2ee:xsdQNameType">
  519. <xsd:annotation>
  520. <xsd:documentation>
  521. The wsdl-service-name element defines the wsdl service name
  522. by a QNAME which uniquely identifies the service.
  523. </xsd:documentation>
  524. </xsd:annotation>
  525. </xsd:element>
  526. <xsd:element name="port-mapping"
  527. type="j2ee:port-mappingType"
  528. minOccurs="0" maxOccurs="unbounded"/>
  529. </xsd:sequence>
  530. <xsd:attribute name="id" type="xsd:ID"/>
  531. </xsd:complexType>
  532. <!-- **************************************************** -->
  533. <xsd:complexType name="variable-mappingType">
  534. <xsd:annotation>
  535. <xsd:documentation>
  536. The variable-mapping element defines the correlation between a
  537. Java class data member or JavaBeans property to an XML element
  538. or attribute name of an XML root type. If the data-member
  539. element is present, the Java variable name is a public data
  540. member. If data-member is not present, the Java variable name
  541. is a JavaBeans property.
  542. Used in: java-xml-type-mapping
  543. </xsd:documentation>
  544. </xsd:annotation>
  545. <xsd:sequence>
  546. <xsd:element name="java-variable-name"
  547. type="j2ee:string">
  548. <xsd:annotation>
  549. <xsd:documentation>
  550. The java-variable-name defines the name of a public data member or
  551. JavaBeans property within a Java class.
  552. </xsd:documentation>
  553. </xsd:annotation>
  554. </xsd:element>
  555. <xsd:element name="data-member"
  556. type="j2ee:emptyType"
  557. minOccurs="0" maxOccurs="1">
  558. <xsd:annotation>
  559. <xsd:documentation>
  560. The data-member element is a boolean indicator that a Java
  561. variable is a public data member and not a JavaBeans property.
  562. </xsd:documentation>
  563. </xsd:annotation>
  564. </xsd:element>
  565. <xsd:choice>
  566. <xsd:element name="xml-attribute-name"
  567. type="j2ee:string">
  568. <xsd:annotation>
  569. <xsd:documentation>
  570. The xml-attribute-name element defines name attribute value
  571. of a WSDL attribute element within a root type. The value
  572. of an xml-attribute-name element must match the value of
  573. the ref attribute if mapping an attribute reference.
  574. </xsd:documentation>
  575. </xsd:annotation>
  576. </xsd:element>
  577. <xsd:element name="xml-element-name"
  578. type="j2ee:string">
  579. <xsd:annotation>
  580. <xsd:documentation>
  581. The xml-element-name element defines name attribute value of
  582. a WSDL element within a root type. The value of an
  583. xml-element-name element must match the value of the ref
  584. attribute if mapping an element reference.
  585. </xsd:documentation>
  586. </xsd:annotation>
  587. </xsd:element>
  588. <xsd:element name="xml-wildcard"
  589. type="j2ee:emptyType">
  590. <xsd:annotation>
  591. <xsd:documentation>
  592. The xml-wildcard element associates the variable-mapping with
  593. an xsd:any element within a root type.
  594. </xsd:documentation>
  595. </xsd:annotation>
  596. </xsd:element>
  597. </xsd:choice>
  598. </xsd:sequence>
  599. <xsd:attribute name="id" type="xsd:ID"/>
  600. </xsd:complexType>
  601. <!-- **************************************************** -->
  602. <xsd:complexType name="wsdl-message-mappingType">
  603. <xsd:annotation>
  604. <xsd:documentation>
  605. The wsdl-message-mapping element defines the mapping to a
  606. specific message and its part. Together they define uniquely
  607. the mapping for a specific parameter. Parts within a message
  608. context are uniquely identified with their names.
  609. The parameter-mode is defined by the mapping to indicate
  610. whether the mapping will be IN, OUT, or INOUT.. The presence
  611. of the soap-header element indicates that the parameter is
  612. mapped to a soap header only. When absent, it means that the
  613. wsdl-message is mapped to a Java parameter. The soap headers
  614. are interpreted in the order they are provided in the mapping.
  615. Used in: method-param-parts-mapping
  616. </xsd:documentation>
  617. </xsd:annotation>
  618. <xsd:sequence>
  619. <xsd:element name="wsdl-message"
  620. type="j2ee:wsdl-messageType"/>
  621. <xsd:element name="wsdl-message-part-name"
  622. type="j2ee:wsdl-message-part-nameType"/>
  623. <xsd:element name="parameter-mode"
  624. type="j2ee:parameter-modeType"/>
  625. <xsd:element name="soap-header"
  626. type="j2ee:emptyType"
  627. minOccurs="0" maxOccurs="1">
  628. <xsd:annotation>
  629. <xsd:documentation>
  630. The soap-header element is a boolean element indicating that
  631. a parameter is mapped to a SOAP header.
  632. </xsd:documentation>
  633. </xsd:annotation>
  634. </xsd:element>
  635. </xsd:sequence>
  636. <xsd:attribute name="id" type="xsd:ID"/>
  637. </xsd:complexType>
  638. <!-- **************************************************** -->
  639. <xsd:complexType name="wsdl-message-part-nameType">
  640. <xsd:annotation>
  641. <xsd:documentation>
  642. Interpretation of the wsdl-message-part-name element depends on
  643. whether or not wrapped-element has been defined in the
  644. service-endpoint-method-mapping. If wrapped-element is not
  645. specified, wsdl-message-part-name defines a WSDL message part. It
  646. should always be interpreted with respect to a wsdl-message
  647. element. If wrapped-element is specified, wsdl-message-part-name
  648. refers to an element name of the element type.
  649. Used in: wsdl-message-mapping, wsdl-return-value-mapping
  650. </xsd:documentation>
  651. </xsd:annotation>
  652. <xsd:simpleContent>
  653. <xsd:restriction base="j2ee:string"/>
  654. </xsd:simpleContent>
  655. </xsd:complexType>
  656. <!-- **************************************************** -->
  657. <xsd:complexType name="wsdl-messageType">
  658. <xsd:annotation>
  659. <xsd:documentation>
  660. The wsdl-message element defines a WSDL message by a QNAME.
  661. Used in: wsdl-message-mapping, wsdl-return-value-mapping,
  662. exception-mapping
  663. </xsd:documentation>
  664. </xsd:annotation>
  665. <xsd:simpleContent>
  666. <xsd:restriction base="j2ee:xsdQNameType"/>
  667. </xsd:simpleContent>
  668. </xsd:complexType>
  669. <!-- **************************************************** -->
  670. <xsd:complexType name="wsdl-return-value-mappingType">
  671. <xsd:annotation>
  672. <xsd:documentation>
  673. The wsdl-return-value-mapping element defines the mapping for the
  674. method's return value. It defines the mapping to a specific message
  675. and its part. Together they define uniquely the mapping for a
  676. specific parameter. Parts within a message context are uniquely
  677. identified with their names. The wsdl-message-part-name is not
  678. specified if there is no return value or OUT parameters.
  679. Used in: service-endpoint-method-mapping
  680. </xsd:documentation>
  681. </xsd:annotation>
  682. <xsd:sequence>
  683. <xsd:element name="method-return-value"
  684. type="j2ee:fully-qualified-classType">
  685. <xsd:annotation>
  686. <xsd:documentation>
  687. The method-return-value element defines a fully qualified
  688. class name or void type for the method's return value
  689. type.
  690. </xsd:documentation>
  691. </xsd:annotation>
  692. </xsd:element>
  693. <xsd:element name="wsdl-message"
  694. type="j2ee:wsdl-messageType"/>
  695. <xsd:element name="wsdl-message-part-name"
  696. type="j2ee:wsdl-message-part-nameType"
  697. minOccurs="0"/>
  698. </xsd:sequence>
  699. <xsd:attribute name="id" type="xsd:ID"/>
  700. </xsd:complexType>
  701. </xsd:schema>