j2ee_web_services_client_1_1.xsd 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  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_web_services_client_1_1.xsds 1.10 02/11/03
  12. </xsd:documentation>
  13. </xsd:annotation>
  14. <xsd:annotation>
  15. <xsd:documentation>
  16. Copyright 2003 Sun Microsystems, Inc., 901 San Antonio
  17. Road, Palo Alto, California 94303, U.S.A. All rights
  18. reserved.
  19. Sun Microsystems, Inc. has intellectual property rights
  20. relating to technology described in this document. In
  21. particular, and without limitation, these intellectual
  22. property rights may include one or more of the U.S. patents
  23. listed at http://www.sun.com/patents and one or more
  24. additional patents or pending patent applications in the
  25. U.S. and other countries.
  26. This document and the technology which it describes are
  27. distributed under licenses restricting their use, copying,
  28. distribution, and decompilation. No part of this document
  29. may be reproduced in any form by any means without prior
  30. written authorization of Sun and its licensors, if any.
  31. Third-party software, including font technology, is
  32. copyrighted and licensed from Sun suppliers.
  33. Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
  34. JavaServer Pages, Enterprise JavaBeans and the Java Coffee
  35. Cup logo are trademarks or registered trademarks of Sun
  36. Microsystems, Inc. in the U.S. and other countries.
  37. Federal Acquisitions: Commercial Software - Government Users
  38. Subject to Standard License Terms and Conditions.
  39. </xsd:documentation>
  40. </xsd:annotation>
  41. <xsd:annotation>
  42. <xsd:documentation>
  43. (C) Copyright International Business Machines Corporation 2002
  44. </xsd:documentation>
  45. </xsd:annotation>
  46. <!-- **************************************************** -->
  47. <xsd:complexType name="port-component-refType">
  48. <xsd:annotation>
  49. <xsd:documentation>
  50. The port-component-ref element declares a client dependency
  51. on the container for resolving a Service Endpoint Interface
  52. to a WSDL port. It optionally associates the Service Endpoint
  53. Interface with a particular port-component. This is only used
  54. by the container for a Service.getPort(Class) method call.
  55. </xsd:documentation>
  56. </xsd:annotation>
  57. <xsd:sequence>
  58. <xsd:element name="service-endpoint-interface"
  59. type="j2ee:fully-qualified-classType">
  60. <xsd:annotation>
  61. <xsd:documentation>
  62. The service-endpoint-interface element defines a fully qualified
  63. Java class that represents the Service Endpoint Interface of a
  64. WSDL port.
  65. </xsd:documentation>
  66. </xsd:annotation>
  67. </xsd:element>
  68. <xsd:element name="port-component-link"
  69. type="j2ee:string"
  70. minOccurs="0" maxOccurs="1">
  71. <xsd:annotation>
  72. <xsd:documentation>
  73. The port-component-link element links a port-component-ref
  74. to a specific port-component required to be made available
  75. by a service reference.
  76. The value of a port-component-link must be the
  77. port-component-name of a port-component in the same module
  78. or another module in the same application unit. The syntax
  79. for specification follows the syntax defined for ejb-link
  80. in the EJB 2.0 specification.
  81. </xsd:documentation>
  82. </xsd:annotation>
  83. </xsd:element>
  84. </xsd:sequence>
  85. <xsd:attribute name="id" type="xsd:ID"/>
  86. </xsd:complexType>
  87. <!-- **************************************************** -->
  88. <xsd:group name="service-refGroup">
  89. <xsd:sequence>
  90. <xsd:element name="service-ref"
  91. type="j2ee:service-refType"
  92. minOccurs="0" maxOccurs="unbounded">
  93. <xsd:key name="service-ref_handler-name-key">
  94. <xsd:annotation>
  95. <xsd:documentation>
  96. Defines the name of the handler. The name must be unique
  97. within the module.
  98. </xsd:documentation>
  99. </xsd:annotation>
  100. <xsd:selector xpath="j2ee:handler"/>
  101. <xsd:field xpath="j2ee:handler-name"/>
  102. </xsd:key>
  103. </xsd:element>
  104. </xsd:sequence>
  105. </xsd:group>
  106. <!-- **************************************************** -->
  107. <xsd:complexType name="service-refType">
  108. <xsd:annotation>
  109. <xsd:documentation>
  110. The service-ref element declares a reference to a Web
  111. service. It contains optional description, display name and
  112. icons, a declaration of the required Service interface,
  113. an optional WSDL document location, an optional set
  114. of JAX-RPC mappings, an optional QName for the service element,
  115. an optional set of Service Endpoint Interfaces to be resolved
  116. by the container to a WSDL port, and an optional set of handlers.
  117. </xsd:documentation>
  118. </xsd:annotation>
  119. <xsd:sequence>
  120. <xsd:group ref="j2ee:descriptionGroup"/>
  121. <xsd:element name="service-ref-name"
  122. type="j2ee:jndi-nameType">
  123. <xsd:annotation>
  124. <xsd:documentation>
  125. The service-ref-name element declares logical name that the
  126. components in the module use to look up the Web service. It
  127. is recommended that all service reference names start with
  128. "service/".
  129. </xsd:documentation>
  130. </xsd:annotation>
  131. </xsd:element>
  132. <xsd:element name="service-interface"
  133. type="j2ee:fully-qualified-classType">
  134. <xsd:annotation>
  135. <xsd:documentation>
  136. The service-interface element declares the fully qualified class
  137. name of the JAX-RPC Service interface the client depends on.
  138. In most cases the value will be javax.xml.rpc.Service. A JAX-RPC
  139. generated Service Interface class may also be specified.
  140. </xsd:documentation>
  141. </xsd:annotation>
  142. </xsd:element>
  143. <xsd:element name="wsdl-file"
  144. type="j2ee:xsdAnyURIType"
  145. minOccurs="0" maxOccurs="1">
  146. <xsd:annotation>
  147. <xsd:documentation>
  148. The wsdl-file element contains the URI location of a WSDL
  149. file. The location is relative to the root of the module.
  150. </xsd:documentation>
  151. </xsd:annotation>
  152. </xsd:element>
  153. <xsd:element name="jaxrpc-mapping-file"
  154. type="j2ee:pathType"
  155. minOccurs="0" maxOccurs="1">
  156. <xsd:annotation>
  157. <xsd:documentation>
  158. The jaxrpc-mapping-file element contains the name of a file that
  159. describes the JAX-RPC mapping between the Java interaces used by
  160. the application and the WSDL description in the wsdl-file. The
  161. file name is a relative path within the module file.
  162. </xsd:documentation>
  163. </xsd:annotation>
  164. </xsd:element>
  165. <xsd:element name="service-qname"
  166. type="j2ee:xsdQNameType"
  167. minOccurs="0" maxOccurs="1">
  168. <xsd:annotation>
  169. <xsd:documentation>
  170. The service-qname element declares the specific WSDL service
  171. element that is being refered to. It is not specified if no
  172. wsdl-file is declared.
  173. </xsd:documentation>
  174. </xsd:annotation>
  175. </xsd:element>
  176. <xsd:element name="port-component-ref"
  177. type="j2ee:port-component-refType"
  178. minOccurs="0" maxOccurs="unbounded">
  179. <xsd:annotation>
  180. <xsd:documentation>
  181. The port-component-ref element declares a client dependency
  182. on the container for resolving a Service Endpoint Interface
  183. to a WSDL port. It optionally associates the Service Endpoint
  184. Interface with a particular port-component. This is only used
  185. by the container for a Service.getPort(Class) method call.
  186. </xsd:documentation>
  187. </xsd:annotation>
  188. </xsd:element>
  189. <xsd:element name="handler"
  190. type="j2ee:service-ref_handlerType"
  191. minOccurs="0" maxOccurs="unbounded">
  192. <xsd:annotation>
  193. <xsd:documentation>
  194. Declares the handler for a port-component. Handlers can
  195. access the init-param name/value pairs using the
  196. HandlerInfo interface. If port-name is not specified, the
  197. handler is assumed to be associated with all ports of the
  198. service.
  199. </xsd:documentation>
  200. </xsd:annotation>
  201. </xsd:element>
  202. </xsd:sequence>
  203. <xsd:attribute name="id" type="xsd:ID"/>
  204. </xsd:complexType>
  205. <!-- **************************************************** -->
  206. <xsd:complexType name="service-ref_handlerType">
  207. <xsd:annotation>
  208. <xsd:documentation>
  209. Declares the handler for a port-component. Handlers can access the
  210. init-param name/value pairs using the HandlerInfo interface. If
  211. port-name is not specified, the handler is assumed to be associated
  212. with all ports of the service.
  213. Used in: service-ref
  214. </xsd:documentation>
  215. </xsd:annotation>
  216. <xsd:sequence>
  217. <xsd:group ref="j2ee:descriptionGroup"/>
  218. <xsd:element name="handler-name"
  219. type="j2ee:string">
  220. <xsd:annotation>
  221. <xsd:documentation>
  222. Defines the name of the handler. The name must be unique
  223. within the module.
  224. </xsd:documentation>
  225. </xsd:annotation>
  226. </xsd:element>
  227. <xsd:element name="handler-class"
  228. type="j2ee:fully-qualified-classType">
  229. <xsd:annotation>
  230. <xsd:documentation>
  231. Defines a fully qualified class name for the handler
  232. implementation.
  233. </xsd:documentation>
  234. </xsd:annotation>
  235. </xsd:element>
  236. <xsd:element name="init-param"
  237. type="j2ee:param-valueType"
  238. minOccurs="0" maxOccurs="unbounded"/>
  239. <xsd:element name="soap-header"
  240. type="j2ee:xsdQNameType"
  241. minOccurs="0" maxOccurs="unbounded">
  242. <xsd:annotation>
  243. <xsd:documentation>
  244. Defines the QName of a SOAP header that will be processed
  245. by the handler.
  246. </xsd:documentation>
  247. </xsd:annotation>
  248. </xsd:element>
  249. <xsd:element name="soap-role"
  250. type="j2ee:string"
  251. minOccurs="0" maxOccurs="unbounded">
  252. <xsd:annotation>
  253. <xsd:documentation>
  254. The soap-role element contains a SOAP actor definition that
  255. the Handler will play as a role.
  256. </xsd:documentation>
  257. </xsd:annotation>
  258. </xsd:element>
  259. <xsd:element name="port-name"
  260. type="j2ee:string"
  261. minOccurs="0" maxOccurs="unbounded">
  262. <xsd:annotation>
  263. <xsd:documentation>
  264. The port-name element defines the WSDL port-name that a
  265. handler should be associated with.
  266. </xsd:documentation>
  267. </xsd:annotation>
  268. </xsd:element>
  269. </xsd:sequence>
  270. <xsd:attribute name="id" type="xsd:ID"/>
  271. </xsd:complexType>
  272. </xsd:schema>