Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JBMETA-432] Add support for Jakarta EE Web Service 2.0 Metadata #154

Merged
merged 1 commit into from Aug 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -190,6 +190,7 @@ public Object run() {
registerEntity("http://xmlns.jcp.org/xml/ns/javaee/javaee_web_services_1_4.xsd", "javaee_web_services_1_4.xsd");
registerEntity("https://jakarta.ee/xml/ns/jakartaee/jakartaee_web_services_client_2_0.xsd", "jakartaee_web_services_client_2_0.xsd");
registerEntity("https://jakarta.ee/xml/ns/jakartaee/jakartaee_web_services_2_0.xsd", "jakartaee_web_services_2_0.xsd");
registerEntity("https://jakarta.ee/xml/ns/jakartaee/akartaee_web_services_metadata_handler_3_0.xsd", "jakartaee_web_services_metadata_handler_3_0.xsd");

// jsp
registerEntity("http://java.sun.com/xml/ns/javaee/jsp_2_2.xsd", "jsp_2_2.xsd");
Expand Down
Expand Up @@ -9,7 +9,7 @@
<xsd:annotation>
<xsd:documentation>

Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2009, 2021 Oracle and/or its affiliates. All rights reserved.

This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -90,7 +90,7 @@
</xsd:documentation>
</xsd:annotation>

<xsd:include schemaLocation="jakartaee_9.xsd"/>
<xsd:include schemaLocation="jakartaee_10.xsd"/>


<!-- **************************************************** -->
Expand Down
Expand Up @@ -9,7 +9,7 @@
<xsd:annotation>
<xsd:documentation>

Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2009, 2021 Oracle and/or its affiliates. All rights reserved.

This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down
@@ -0,0 +1,70 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--

Copyright (c) 2020 Oracle and/or its affiliates. All rights reserved.

This program and the accompanying materials are made available under the
terms of the Eclipse Distribution License v. 1.0, which is available at
http://www.eclipse.org/org/documents/edl-v10.php.

SPDX-License-Identifier: BSD-3-Clause

-->

<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="https://jakarta.ee/xml/ns/jakartaee"
xmlns:jakartaee="https://jakarta.ee/xml/ns/jakartaee"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
version="3.0">

<xsd:annotation>
<xsd:documentation>
This is the XML Schema for the Handler chain configuration descriptor.
The configuration file must be in the classpath within the JAR/WAR file.

All Handler chain configuration descriptors
should indicate the descriptor schema by using the Jakarta EE
namespace:

https://jakarta.ee/xml/ns/jakartaee

and by indicating the version of the schema by
using the version element as shown below:

<handler-chains xmlns="https://jakarta.ee/xml/ns/jakartaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee
https://jakarta.ee/xml/ns/jakartaee/jakartaee_web_services_metadata_handler_3_0.xsd"
version="3.0">
...
</handler-chains>

The instance documents may indicate the published version of
the schema using the xsi:schemaLocation attribute for Jakarta EE
namespace with the following location:

https://jakarta.ee/xml/ns/jakartaee/jakartaee_web_services_metadata_handler_3_0.xsd
</xsd:documentation>
</xsd:annotation>

<xsd:include schemaLocation="jakartaee_9.xsds"/>

<xsd:element name="handler-chains"
type="jakartaee:service-ref_handler-chainsType">
<xsd:annotation>
<xsd:documentation>

The handler-chains element is the root element for defining
handlerchains.

The Jakarta Web Services Metadata
specification defines the @jakarta.jws.HandlerChain annotation
that refers to an XML descriptor conforming to this schema.

</xsd:documentation>
</xsd:annotation>
</xsd:element>

</xsd:schema>