javaee_web_services_client_1_3.xsd 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745
  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.3">
  9. <xsd:annotation>
  10. <xsd:documentation>
  11. $Id$
  12. </xsd:documentation>
  13. </xsd:annotation>
  14. <xsd:annotation>
  15. <xsd:documentation>
  16. DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
  17. Copyright 2003-2009 Sun Microsystems, Inc. All rights reserved.
  18. The contents of this file are subject to the terms of either the
  19. GNU General Public License Version 2 only ("GPL") or the Common
  20. Development and Distribution License("CDDL") (collectively, the
  21. "License"). You may not use this file except in compliance with
  22. the License. You can obtain a copy of the License at
  23. https://glassfish.dev.java.net/public/CDDL+GPL.html or
  24. glassfish/bootstrap/legal/LICENSE.txt. See the License for the
  25. specific language governing permissions and limitations under the
  26. License.
  27. When distributing the software, include this License Header
  28. Notice in each file and include the License file at
  29. glassfish/bootstrap/legal/LICENSE.txt. Sun designates this
  30. particular file as subject to the "Classpath" exception as
  31. provided by Sun in the GPL Version 2 section of the License file
  32. that accompanied this code. If applicable, add the following
  33. below the License Header, with the fields enclosed by brackets []
  34. replaced by your own identifying information:
  35. "Portions Copyrighted [year] [name of copyright owner]"
  36. Contributor(s):
  37. If you wish your version of this file to be governed by only the
  38. CDDL or only the GPL Version 2, indicate your decision by adding
  39. "[Contributor] elects to include this software in this
  40. distribution under the [CDDL or GPL Version 2] license." If you
  41. don't indicate a single choice of license, a recipient has the
  42. option to distribute your version of this file under either the
  43. CDDL, the GPL Version 2 or to extend the choice of license to its
  44. licensees as provided above. However, if you add GPL Version 2
  45. code and therefore, elected the GPL Version 2 license, then the
  46. option applies only if the new code is made subject to such
  47. option by the copyright holder.
  48. </xsd:documentation>
  49. </xsd:annotation>
  50. <xsd:annotation>
  51. <xsd:documentation>
  52. (C) Copyright International Business Machines Corporation 2002
  53. </xsd:documentation>
  54. </xsd:annotation>
  55. <!-- **************************************************** -->
  56. <xsd:complexType name="service-refType">
  57. <xsd:annotation>
  58. <xsd:documentation>
  59. The service-ref element declares a reference to a Web
  60. service. It contains optional description, display name and
  61. icons, a declaration of the required Service interface,
  62. an optional WSDL document location, an optional set
  63. of JAX-RPC mappings, an optional QName for the service element,
  64. an optional set of Service Endpoint Interfaces to be resolved
  65. by the container to a WSDL port, and an optional set of handlers.
  66. </xsd:documentation>
  67. </xsd:annotation>
  68. <xsd:sequence>
  69. <xsd:group ref="javaee:descriptionGroup"/>
  70. <xsd:element name="service-ref-name"
  71. type="javaee:jndi-nameType">
  72. <xsd:annotation>
  73. <xsd:documentation>
  74. The service-ref-name element declares logical name that the
  75. components in the module use to look up the Web service. It
  76. is recommended that all service reference names start with
  77. "service/".
  78. </xsd:documentation>
  79. </xsd:annotation>
  80. </xsd:element>
  81. <xsd:element name="service-interface"
  82. type="javaee:fully-qualified-classType">
  83. <xsd:annotation>
  84. <xsd:documentation>
  85. The service-interface element declares the fully qualified class
  86. name of the JAX-RPC Service interface the client depends on.
  87. In most cases the value will be javax.xml.rpc.Service. A JAX-RPC
  88. generated Service Interface class may also be specified.
  89. </xsd:documentation>
  90. </xsd:annotation>
  91. </xsd:element>
  92. <xsd:element name="service-ref-type"
  93. type="javaee:fully-qualified-classType"
  94. minOccurs="0"
  95. maxOccurs="1">
  96. <xsd:annotation>
  97. <xsd:documentation>
  98. The service-ref-type element declares the type of the service-ref
  99. element that is injected or returned when a JNDI lookup is done.
  100. This must be either a fully qualified name of Service class or
  101. the fully qualified name of service endpoint interface class.
  102. This is only used with JAX-WS runtime where the corresponding
  103. @WebServiceRef annotation can be used to denote both a Service
  104. or a Port.
  105. If this is not specified, then the type of service-ref element
  106. that is injected or returned when a JNDI lookup is done is
  107. always a Service interface/class.
  108. </xsd:documentation>
  109. </xsd:annotation>
  110. </xsd:element>
  111. <xsd:element name="wsdl-file"
  112. type="javaee:xsdAnyURIType"
  113. minOccurs="0"
  114. maxOccurs="1">
  115. <xsd:annotation>
  116. <xsd:documentation>
  117. The wsdl-file element contains the URI location of a WSDL
  118. file. The location is relative to the root of the module.
  119. </xsd:documentation>
  120. </xsd:annotation>
  121. </xsd:element>
  122. <xsd:element name="jaxrpc-mapping-file"
  123. type="javaee:pathType"
  124. minOccurs="0"
  125. maxOccurs="1">
  126. <xsd:annotation>
  127. <xsd:documentation>
  128. The jaxrpc-mapping-file element contains the name of a file that
  129. describes the JAX-RPC mapping between the Java interaces used by
  130. the application and the WSDL description in the wsdl-file. The
  131. file name is a relative path within the module file.
  132. This is not required when JAX-WS based runtime is used.
  133. </xsd:documentation>
  134. </xsd:annotation>
  135. </xsd:element>
  136. <xsd:element name="service-qname"
  137. type="javaee:xsdQNameType"
  138. minOccurs="0"
  139. maxOccurs="1">
  140. <xsd:annotation>
  141. <xsd:documentation>
  142. The service-qname element declares the specific WSDL service
  143. element that is being refered to. It is not specified if no
  144. wsdl-file is declared.
  145. </xsd:documentation>
  146. </xsd:annotation>
  147. </xsd:element>
  148. <xsd:element name="port-component-ref"
  149. type="javaee:port-component-refType"
  150. minOccurs="0"
  151. maxOccurs="unbounded">
  152. <xsd:annotation>
  153. <xsd:documentation>
  154. The port-component-ref element declares a client dependency
  155. on the container for resolving a Service Endpoint Interface
  156. to a WSDL port. It optionally associates the Service Endpoint
  157. Interface with a particular port-component. This is only used
  158. by the container for a Service.getPort(Class) method call.
  159. </xsd:documentation>
  160. </xsd:annotation>
  161. </xsd:element>
  162. <xsd:choice>
  163. <xsd:element name="handler"
  164. type="javaee:handlerType"
  165. minOccurs="0"
  166. maxOccurs="unbounded">
  167. <xsd:annotation>
  168. <xsd:documentation>
  169. Declares the handler for a port-component. Handlers can
  170. access the init-param name/value pairs using the
  171. HandlerInfo interface. If port-name is not specified, the
  172. handler is assumed to be associated with all ports of the
  173. service.
  174. To be used with JAX-RPC based runtime only.
  175. </xsd:documentation>
  176. </xsd:annotation>
  177. </xsd:element>
  178. <xsd:element name="handler-chains"
  179. type="javaee:handler-chainsType"
  180. minOccurs="0"
  181. maxOccurs="1">
  182. <xsd:annotation>
  183. <xsd:documentation>
  184. To be used with JAX-WS based runtime only.
  185. </xsd:documentation>
  186. </xsd:annotation>
  187. </xsd:element>
  188. </xsd:choice>
  189. <xsd:group ref="javaee:resourceGroup"/>
  190. </xsd:sequence>
  191. <xsd:attribute name="id"
  192. type="xsd:ID"/>
  193. </xsd:complexType>
  194. <!-- **************************************************** -->
  195. <xsd:complexType name="port-component-refType">
  196. <xsd:annotation>
  197. <xsd:documentation>
  198. The port-component-ref element declares a client dependency
  199. on the container for resolving a Service Endpoint Interface
  200. to a WSDL port. It optionally associates the Service Endpoint
  201. Interface with a particular port-component. This is only used
  202. by the container for a Service.getPort(Class) method call.
  203. </xsd:documentation>
  204. </xsd:annotation>
  205. <xsd:sequence>
  206. <xsd:element name="service-endpoint-interface"
  207. type="javaee:fully-qualified-classType">
  208. <xsd:annotation>
  209. <xsd:documentation>
  210. The service-endpoint-interface element defines a fully qualified
  211. Java class that represents the Service Endpoint Interface of a
  212. WSDL port.
  213. </xsd:documentation>
  214. </xsd:annotation>
  215. </xsd:element>
  216. <xsd:element name="enable-mtom"
  217. type="javaee:true-falseType"
  218. minOccurs="0"
  219. maxOccurs="1">
  220. <xsd:annotation>
  221. <xsd:documentation>
  222. Used to enable or disable SOAP MTOM/XOP mechanism on the client
  223. side for a port-component.
  224. Not to be specified for JAX-RPC runtime
  225. </xsd:documentation>
  226. </xsd:annotation>
  227. </xsd:element>
  228. <xsd:element name="mtom-threshold"
  229. type="javaee:xsdNonNegativeIntegerType"
  230. minOccurs="0"
  231. maxOccurs="1">
  232. <xsd:annotation>
  233. <xsd:documentation>
  234. When MTOM is enabled, binary data above this size in bytes
  235. should be XOP encoded or sent as attachment. Default value is 0.
  236. Not to be specified for JAX-RPC runtime
  237. </xsd:documentation>
  238. </xsd:annotation>
  239. </xsd:element>
  240. <xsd:element name="addressing"
  241. type="javaee:addressingType"
  242. minOccurs="0"
  243. maxOccurs="1">
  244. <xsd:annotation>
  245. <xsd:documentation>
  246. This specifies the WS-Addressing requirements for a JAX-WS
  247. web service. It corresponds to javax.xml.ws.soap.Addressing
  248. annotation or its feature javax.xml.ws.soap.AddressingFeature.
  249. See the addressingType for more information.
  250. Not to be specified for JAX-RPC runtime
  251. </xsd:documentation>
  252. </xsd:annotation>
  253. </xsd:element>
  254. <xsd:element name="respect-binding"
  255. type="javaee:respect-bindingType"
  256. minOccurs="0"
  257. maxOccurs="1">
  258. <xsd:annotation>
  259. <xsd:documentation>
  260. Corresponds to the javax.xml.ws.RespectBinding annotation
  261. or its corresponding javax.xml.ws.RespectBindingFeature web
  262. service feature. This is used to control whether a JAX-WS
  263. implementation must respect/honor the contents of the
  264. wsdl:binding in the WSDL that is associated with the service.
  265. Not to be specified for JAX-RPC runtime
  266. </xsd:documentation>
  267. </xsd:annotation>
  268. </xsd:element>
  269. <xsd:element name="port-component-link"
  270. type="javaee:string"
  271. minOccurs="0"
  272. maxOccurs="1">
  273. <xsd:annotation>
  274. <xsd:documentation>
  275. The port-component-link element links a port-component-ref
  276. to a specific port-component required to be made available
  277. by a service reference.
  278. The value of a port-component-link must be the
  279. port-component-name of a port-component in the same module
  280. or another module in the same application unit. The syntax
  281. for specification follows the syntax defined for ejb-link
  282. in the EJB 2.0 specification.
  283. </xsd:documentation>
  284. </xsd:annotation>
  285. </xsd:element>
  286. </xsd:sequence>
  287. <xsd:attribute name="id"
  288. type="xsd:ID"/>
  289. </xsd:complexType>
  290. <!-- **************************************************** -->
  291. <xsd:complexType name="handler-chainsType">
  292. <xsd:annotation>
  293. <xsd:documentation>
  294. The handler-chains element defines the handlerchains associated with this
  295. service or service endpoint.
  296. </xsd:documentation>
  297. </xsd:annotation>
  298. <xsd:sequence>
  299. <xsd:element name="handler-chain"
  300. type="javaee:handler-chainType"
  301. minOccurs="0"
  302. maxOccurs="unbounded"/>
  303. </xsd:sequence>
  304. <xsd:attribute name="id"
  305. type="xsd:ID"/>
  306. </xsd:complexType>
  307. <!-- **************************************************** -->
  308. <xsd:complexType name="handler-chainType">
  309. <xsd:annotation>
  310. <xsd:documentation>
  311. The handler-chain element defines the handlerchain.
  312. Handlerchain can be defined such that the handlers in the
  313. handlerchain operate,all ports of a service, on a specific
  314. port or on a list of protocol-bindings. The choice of elements
  315. service-name-pattern, port-name-pattern and protocol-bindings
  316. are used to specify whether the handlers in handler-chain are
  317. for a service, port or protocol binding. If none of these
  318. choices are specified with the handler-chain element then the
  319. handlers specified in the handler-chain will be applied on
  320. everything.
  321. </xsd:documentation>
  322. </xsd:annotation>
  323. <xsd:sequence>
  324. <xsd:choice minOccurs="0"
  325. maxOccurs="1">
  326. <xsd:element name="service-name-pattern"
  327. type="javaee:qname-pattern"/>
  328. <xsd:element name="port-name-pattern"
  329. type="javaee:qname-pattern"/>
  330. <xsd:element name="protocol-bindings"
  331. type="javaee:protocol-bindingListType"/>
  332. </xsd:choice>
  333. <xsd:element name="handler"
  334. type="javaee:handlerType"
  335. minOccurs="1"
  336. maxOccurs="unbounded"/>
  337. </xsd:sequence>
  338. <xsd:attribute name="id"
  339. type="xsd:ID"/>
  340. </xsd:complexType>
  341. <xsd:simpleType name="protocol-bindingListType">
  342. <xsd:annotation>
  343. <xsd:documentation>
  344. Defines the type used for specifying a list of
  345. protocol-bindingType(s). For e.g.
  346. ##SOAP11_HTTP ##SOAP12_HTTP ##XML_HTTP
  347. </xsd:documentation>
  348. </xsd:annotation>
  349. <xsd:list itemType="javaee:protocol-bindingType"/>
  350. </xsd:simpleType>
  351. <xsd:simpleType name="protocol-bindingType">
  352. <xsd:annotation>
  353. <xsd:documentation>
  354. Defines the type used for specifying the URI for the
  355. protocol binding used by the port-component. For
  356. portability one could use one of the following tokens that
  357. alias the standard binding types:
  358. ##SOAP11_HTTP
  359. ##SOAP11_HTTP_MTOM
  360. ##SOAP12_HTTP
  361. ##SOAP12_HTTP_MTOM
  362. ##XML_HTTP
  363. Other specifications could define tokens that start with ##
  364. to alias new standard binding URIs that are introduced.
  365. </xsd:documentation>
  366. </xsd:annotation>
  367. <xsd:union memberTypes="xsd:anyURI javaee:protocol-URIAliasType"/>
  368. </xsd:simpleType>
  369. <xsd:simpleType name="protocol-URIAliasType">
  370. <xsd:annotation>
  371. <xsd:documentation>
  372. Defines the type that is used for specifying tokens that
  373. start with ## which are used to alias existing standard
  374. protocol bindings and support aliases for new standard
  375. binding URIs that are introduced in future specifications.
  376. The following tokens alias the standard protocol binding
  377. URIs:
  378. ##SOAP11_HTTP = "http://schemas.xmlsoap.org/wsdl/soap/http"
  379. ##SOAP11_HTTP_MTOM =
  380. "http://schemas.xmlsoap.org/wsdl/soap/http?mtom=true"
  381. ##SOAP12_HTTP = "http://www.w3.org/2003/05/soap/bindings/HTTP/"
  382. ##SOAP12_HTTP_MTOM =
  383. "http://www.w3.org/2003/05/soap/bindings/HTTP/?mtom=true"
  384. ##XML_HTTP = "http://www.w3.org/2004/08/wsdl/http"
  385. </xsd:documentation>
  386. </xsd:annotation>
  387. <xsd:restriction base="xsd:token">
  388. <xsd:pattern value="##.+"/>
  389. </xsd:restriction>
  390. </xsd:simpleType>
  391. <xsd:simpleType name="qname-pattern">
  392. <xsd:annotation>
  393. <xsd:documentation>
  394. This is used to specify the QName pattern in the
  395. attribute service-name-pattern and port-name-pattern in
  396. the handler-chain element
  397. For example, the various forms acceptable here for
  398. service-name-pattern attribute in handler-chain element
  399. are :
  400. Exact Name: service-name-pattern="ns1:EchoService"
  401. In this case, handlers specified in this
  402. handler-chain element will apply to all ports with
  403. this exact service name. The namespace prefix must
  404. have been declared in a namespace declaration
  405. attribute in either the start-tag of the element
  406. where the prefix is used or in an an ancestor
  407. element (i.e. an element in whose content the
  408. prefixed markup occurs)
  409. Pattern : service-name-pattern="ns1:EchoService*"
  410. In this case, handlers specified in this
  411. handler-chain element will apply to all ports whose
  412. Service names are like EchoService1, EchoServiceFoo
  413. etc. The namespace prefix must have been declared in
  414. a namespace declaration attribute in either the
  415. start-tag of the element where the prefix is used or
  416. in an an ancestor element (i.e. an element in whose
  417. content the prefixed markup occurs)
  418. Wild Card : service-name-pattern="*"
  419. In this case, handlers specified in this handler-chain
  420. element will apply to ports of all service names.
  421. The same can be applied to port-name attribute in
  422. handler-chain element.
  423. </xsd:documentation>
  424. </xsd:annotation>
  425. <xsd:restriction base="xsd:token">
  426. <xsd:pattern value="\*|([\i-[:]][\c-[:]]*:)?[\i-[:]][\c-[:]]*\*?"/>
  427. </xsd:restriction>
  428. </xsd:simpleType>
  429. <!-- **************************************************** -->
  430. <xsd:complexType name="addressingType">
  431. <xsd:annotation>
  432. <xsd:documentation>
  433. This specifies the WS-Addressing requirements for a JAX-WS web service.
  434. It corresponds to javax.xml.ws.soap.Addressing annotation or its
  435. feature javax.xml.ws.soap.AddressingFeature.
  436. If the "enabled" element is "true", WS-Addressing is enabled.
  437. It means that the endpoint supports WS-Addressing but does not require
  438. its use. The default value for "enabled" is "true".
  439. If the WS-Addressing is enabled and the "required" element is "true",
  440. it means that the endpoint requires WS-Addressing. The default value
  441. for "required" is "false".
  442. If WS-Addressing is enabled, the "responses" element determines
  443. if an endpoint requires the use of only anonymous responses,
  444. or only non-anonymous responses, or all. The value of the "responses"
  445. element must be one of the following:
  446. ANONYMOUS
  447. NON_ANONYMOUS
  448. ALL
  449. The default value for the "responses" is ALL.
  450. </xsd:documentation>
  451. </xsd:annotation>
  452. <xsd:sequence>
  453. <xsd:element name="enabled"
  454. type="javaee:true-falseType"
  455. minOccurs="0"
  456. maxOccurs="1"/>
  457. <xsd:element name="required"
  458. type="javaee:true-falseType"
  459. minOccurs="0"
  460. maxOccurs="1"/>
  461. <xsd:element name="responses"
  462. type="javaee:addressing-responsesType"
  463. minOccurs="0"
  464. maxOccurs="1"/>
  465. </xsd:sequence>
  466. </xsd:complexType>
  467. <!-- **************************************************** -->
  468. <xsd:complexType name="addressing-responsesType">
  469. <xsd:annotation>
  470. <xsd:documentation>
  471. If WS-Addressing is enabled, this type determines if an endpoint
  472. requires the use of only anonymous responses, or only non-anonymous
  473. responses, or all.
  474. </xsd:documentation>
  475. </xsd:annotation>
  476. <xsd:simpleContent>
  477. <xsd:restriction base="javaee:string">
  478. <xsd:enumeration value="ANONYMOUS"/>
  479. <xsd:enumeration value="NON_ANONYMOUS"/>
  480. <xsd:enumeration value="ALL"/>
  481. </xsd:restriction>
  482. </xsd:simpleContent>
  483. </xsd:complexType>
  484. <!-- **************************************************** -->
  485. <xsd:complexType name="respect-bindingType">
  486. <xsd:annotation>
  487. <xsd:documentation>
  488. Corresponds to the javax.xml.ws.RespectBinding annotation
  489. or its corresponding javax.xml.ws.RespectBindingFeature web
  490. service feature. This is used to control whether a JAX-WS
  491. implementation must respect/honor the contents of the
  492. wsdl:binding in the WSDL that is associated with the service.
  493. If the "enabled" element is "true", wsdl:binding in the
  494. associated WSDL, if any, must be respected/honored.
  495. </xsd:documentation>
  496. </xsd:annotation>
  497. <xsd:sequence>
  498. <xsd:element name="enabled"
  499. type="javaee:true-falseType"
  500. minOccurs="0"
  501. maxOccurs="1"/>
  502. </xsd:sequence>
  503. </xsd:complexType>
  504. <!-- **************************************************** -->
  505. <xsd:complexType name="handlerType">
  506. <xsd:annotation>
  507. <xsd:documentation>
  508. Declares the handler for a port-component, service-ref. Handlers can
  509. access the init-param name/value pairs using the HandlerInfo interface.
  510. Used in: port-component, service-ref
  511. </xsd:documentation>
  512. </xsd:annotation>
  513. <xsd:sequence>
  514. <xsd:group ref="javaee:descriptionGroup"/>
  515. <xsd:element name="handler-name"
  516. type="javaee:string">
  517. <xsd:annotation>
  518. <xsd:documentation>
  519. Defines the name of the handler. The name must be unique within the
  520. module.
  521. </xsd:documentation>
  522. </xsd:annotation>
  523. </xsd:element>
  524. <xsd:element name="handler-class"
  525. type="javaee:fully-qualified-classType">
  526. <xsd:annotation>
  527. <xsd:documentation>
  528. Defines a fully qualified class name for the handler implementation.
  529. </xsd:documentation>
  530. </xsd:annotation>
  531. </xsd:element>
  532. <xsd:element name="init-param"
  533. type="javaee:param-valueType"
  534. minOccurs="0"
  535. maxOccurs="unbounded">
  536. <xsd:annotation>
  537. <xsd:documentation>
  538. Not to be specified for JAX-WS runtime
  539. </xsd:documentation>
  540. </xsd:annotation>
  541. </xsd:element>
  542. <xsd:element name="soap-header"
  543. type="javaee:xsdQNameType"
  544. minOccurs="0"
  545. maxOccurs="unbounded">
  546. <xsd:annotation>
  547. <xsd:documentation>
  548. Defines the QName of a SOAP header that will be processed by the
  549. handler.
  550. Not to be specified for JAX-WS runtime
  551. </xsd:documentation>
  552. </xsd:annotation>
  553. </xsd:element>
  554. <xsd:element name="soap-role"
  555. type="javaee:string"
  556. minOccurs="0"
  557. maxOccurs="unbounded">
  558. <xsd:annotation>
  559. <xsd:documentation>
  560. The soap-role element contains a SOAP actor definition that the
  561. Handler will play as a role.
  562. </xsd:documentation>
  563. </xsd:annotation>
  564. </xsd:element>
  565. <xsd:element name="port-name"
  566. type="javaee:string"
  567. minOccurs="0"
  568. maxOccurs="unbounded">
  569. <xsd:annotation>
  570. <xsd:documentation>
  571. The port-name element defines the WSDL port-name that a
  572. handler should be associated with. If port-name is not
  573. specified, the handler is assumed to be associated with
  574. all ports of the service.
  575. Not to be specified for JAX-WS runtime
  576. </xsd:documentation>
  577. </xsd:annotation>
  578. </xsd:element>
  579. </xsd:sequence>
  580. <xsd:attribute name="id"
  581. type="xsd:ID"/>
  582. </xsd:complexType>
  583. <xsd:group name="service-refGroup">
  584. <xsd:sequence>
  585. <xsd:element name="service-ref"
  586. type="javaee:service-refType"
  587. minOccurs="0"
  588. maxOccurs="unbounded">
  589. <xsd:key name="service-ref_handler-name-key">
  590. <xsd:annotation>
  591. <xsd:documentation>
  592. Defines the name of the handler. The name must be unique
  593. within the module.
  594. </xsd:documentation>
  595. </xsd:annotation>
  596. <xsd:selector xpath="javaee:handler"/>
  597. <xsd:field xpath="javaee:handler-name"/>
  598. </xsd:key>
  599. </xsd:element>
  600. </xsd:sequence>
  601. </xsd:group>
  602. </xsd:schema>