diff options
Diffstat (limited to 'qpid/java/management/client/src/main/java/wsdl')
6 files changed, 1193 insertions, 1067 deletions
diff --git a/qpid/java/management/client/src/main/java/wsdl/SOAP-Envelope-1_2.xsd b/qpid/java/management/client/src/main/java/wsdl/SOAP-Envelope-1_2.xsd index 5aba6591fe..ab38b1b7f2 100644 --- a/qpid/java/management/client/src/main/java/wsdl/SOAP-Envelope-1_2.xsd +++ b/qpid/java/management/client/src/main/java/wsdl/SOAP-Envelope-1_2.xsd @@ -1,160 +1,181 @@ -<?xml version="1.0"?>
-
-<!-- Schema defined in the SOAP Version 1.2 Part 1 specification
- Proposed Recommendation:
- http://www.w3.org/TR/2003/PR-soap12-part1-20030507/
- $Id: SOAP-Envelope-1_2.xsd,v 1.1 2006/05/07 19:09:15 danjemiolo Exp $
-
- Copyright (C)2003 W3C(R) (MIT, ERCIM, Keio), All Rights Reserved.
- W3C viability, trademark, document use and software licensing rules
- apply.
- http://www.w3.org/Consortium/Legal/
-
- This document is governed by the W3C Software License [1] as
- described in the FAQ [2].
-
- [1] http://www.w3.org/Consortium/Legal/copyright-software-19980720
- [2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD
--->
-
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:tns="http://www.w3.org/2003/05/soap-envelope"
- targetNamespace="http://www.w3.org/2003/05/soap-envelope"
- elementFormDefault="qualified">
-
- <xs:import namespace="http://www.w3.org/XML/1998/namespace"
- schemaLocation="XML-Namespace-1998.xsd"/>
-
- <!-- Envelope, header and body -->
- <xs:element name="Envelope" type="tns:Envelope"/>
- <xs:complexType name="Envelope">
- <xs:sequence>
- <xs:element ref="tns:Header" minOccurs="0"/>
- <xs:element ref="tns:Body" minOccurs="1"/>
- </xs:sequence>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:complexType>
-
- <xs:element name="Header" type="tns:Header"/>
- <xs:complexType name="Header">
- <xs:annotation>
- <xs:documentation>
- Elements replacing the wildcard MUST be namespace qualified, but can be in the targetNamespace
- </xs:documentation>
- </xs:annotation>
- <xs:sequence>
- <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:complexType>
-
- <xs:element name="Body" type="tns:Body"/>
- <xs:complexType name="Body">
- <xs:sequence>
- <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:complexType>
-
- <!-- Global Attributes. The following attributes are intended to be
- usable via qualified attribute names on any complex type referencing
- them. -->
- <xs:attribute name="mustUnderstand" type="xs:boolean" default="0"/>
- <xs:attribute name="relay" type="xs:boolean" default="0"/>
- <xs:attribute name="role" type="xs:anyURI"/>
-
- <!-- 'encodingStyle' indicates any canonicalization conventions
- followed in the contents of the containing element. For example, the
- value 'http://www.w3.org/2003/05/soap-encoding' indicates the pattern
- described in the last call working draft of SOAP Version 1.2 Part 2:
- Adjuncts -->
-
- <xs:attribute name="encodingStyle" type="xs:anyURI"/>
-
- <xs:element name="Fault" type="tns:Fault"/>
- <xs:complexType name="Fault" final="extension">
- <xs:annotation>
- <xs:documentation>
- Fault reporting structure
- </xs:documentation>
- </xs:annotation>
- <xs:sequence>
- <xs:element name="Code" type="tns:faultcode"/>
- <xs:element name="Reason" type="tns:faultreason"/>
- <xs:element name="Node" type="xs:anyURI" minOccurs="0"/>
- <xs:element name="Role" type="xs:anyURI" minOccurs="0"/>
- <xs:element name="Detail" type="tns:detail" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="faultreason">
- <xs:sequence>
- <xs:element name="Text" type="tns:reasontext"
- minOccurs="1" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="reasontext">
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute ref="xml:lang" use="required"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
-
- <xs:complexType name="faultcode">
- <xs:sequence>
- <xs:element name="Value"
- type="tns:faultcodeEnum"/>
- <xs:element name="Subcode"
- type="tns:subcode"
- minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:simpleType name="faultcodeEnum">
- <xs:restriction base="xs:QName">
- <xs:enumeration value="tns:DataEncodingUnknown"/>
- <xs:enumeration value="tns:MustUnderstand"/>
- <xs:enumeration value="tns:Receiver"/>
- <xs:enumeration value="tns:Sender"/>
- <xs:enumeration value="tns:VersionMismatch"/>
- </xs:restriction>
- </xs:simpleType>
-
- <xs:complexType name="subcode">
- <xs:sequence>
- <xs:element name="Value"
- type="xs:QName"/>
- <xs:element name="Subcode"
- type="tns:subcode"
- minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="detail">
- <xs:sequence>
- <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:complexType>
-
- <!-- Global element declaration and complex type definition for header entry returned due to a mustUnderstand fault -->
- <xs:element name="NotUnderstood" type="tns:NotUnderstoodType"/>
- <xs:complexType name="NotUnderstoodType">
- <xs:attribute name="qname" type="xs:QName" use="required"/>
- </xs:complexType>
-
- <!-- Global element and associated types for managing version transition as described in Appendix A of the SOAP Version 1.2 Part 1 Last Call Working Draft -->
- <xs:complexType name="SupportedEnvType">
- <xs:attribute name="qname" type="xs:QName" use="required"/>
- </xs:complexType>
-
- <xs:element name="Upgrade" type="tns:UpgradeType"/>
- <xs:complexType name="UpgradeType">
- <xs:sequence>
- <xs:element name="SupportedEnvelope" type="tns:SupportedEnvType" minOccurs="1" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
-</xs:schema>
+<?xml version="1.0"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> + + +<!-- Schema defined in the SOAP Version 1.2 Part 1 specification + Proposed Recommendation: + http://www.w3.org/TR/2003/PR-soap12-part1-20030507/ + $Id: SOAP-Envelope-1_2.xsd,v 1.1 2006/05/07 19:09:15 danjemiolo Exp $ + + Copyright (C)2003 W3C(R) (MIT, ERCIM, Keio), All Rights Reserved. + W3C viability, trademark, document use and software licensing rules + apply. + http://www.w3.org/Consortium/Legal/ + + This document is governed by the W3C Software License [1] as + described in the FAQ [2]. + + [1] http://www.w3.org/Consortium/Legal/copyright-software-19980720 + [2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD +--> + +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns:tns="http://www.w3.org/2003/05/soap-envelope" + targetNamespace="http://www.w3.org/2003/05/soap-envelope" + elementFormDefault="qualified"> + + <xs:import namespace="http://www.w3.org/XML/1998/namespace" + schemaLocation="XML-Namespace-1998.xsd"/> + + <!-- Envelope, header and body --> + <xs:element name="Envelope" type="tns:Envelope"/> + <xs:complexType name="Envelope"> + <xs:sequence> + <xs:element ref="tns:Header" minOccurs="0"/> + <xs:element ref="tns:Body" minOccurs="1"/> + </xs:sequence> + <xs:anyAttribute namespace="##other" processContents="lax"/> + </xs:complexType> + + <xs:element name="Header" type="tns:Header"/> + <xs:complexType name="Header"> + <xs:annotation> + <xs:documentation> + Elements replacing the wildcard MUST be namespace qualified, but can be in the targetNamespace + </xs:documentation> + </xs:annotation> + <xs:sequence> + <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + <xs:anyAttribute namespace="##other" processContents="lax"/> + </xs:complexType> + + <xs:element name="Body" type="tns:Body"/> + <xs:complexType name="Body"> + <xs:sequence> + <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + <xs:anyAttribute namespace="##other" processContents="lax"/> + </xs:complexType> + + <!-- Global Attributes. The following attributes are intended to be + usable via qualified attribute names on any complex type referencing + them. --> + <xs:attribute name="mustUnderstand" type="xs:boolean" default="0"/> + <xs:attribute name="relay" type="xs:boolean" default="0"/> + <xs:attribute name="role" type="xs:anyURI"/> + + <!-- 'encodingStyle' indicates any canonicalization conventions + followed in the contents of the containing element. For example, the + value 'http://www.w3.org/2003/05/soap-encoding' indicates the pattern + described in the last call working draft of SOAP Version 1.2 Part 2: + Adjuncts --> + + <xs:attribute name="encodingStyle" type="xs:anyURI"/> + + <xs:element name="Fault" type="tns:Fault"/> + <xs:complexType name="Fault" final="extension"> + <xs:annotation> + <xs:documentation> + Fault reporting structure + </xs:documentation> + </xs:annotation> + <xs:sequence> + <xs:element name="Code" type="tns:faultcode"/> + <xs:element name="Reason" type="tns:faultreason"/> + <xs:element name="Node" type="xs:anyURI" minOccurs="0"/> + <xs:element name="Role" type="xs:anyURI" minOccurs="0"/> + <xs:element name="Detail" type="tns:detail" minOccurs="0"/> + </xs:sequence> + </xs:complexType> + + <xs:complexType name="faultreason"> + <xs:sequence> + <xs:element name="Text" type="tns:reasontext" + minOccurs="1" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + + <xs:complexType name="reasontext"> + <xs:simpleContent> + <xs:extension base="xs:string"> + <xs:attribute ref="xml:lang" use="required"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:complexType name="faultcode"> + <xs:sequence> + <xs:element name="Value" + type="tns:faultcodeEnum"/> + <xs:element name="Subcode" + type="tns:subcode" + minOccurs="0"/> + </xs:sequence> + </xs:complexType> + + <xs:simpleType name="faultcodeEnum"> + <xs:restriction base="xs:QName"> + <xs:enumeration value="tns:DataEncodingUnknown"/> + <xs:enumeration value="tns:MustUnderstand"/> + <xs:enumeration value="tns:Receiver"/> + <xs:enumeration value="tns:Sender"/> + <xs:enumeration value="tns:VersionMismatch"/> + </xs:restriction> + </xs:simpleType> + + <xs:complexType name="subcode"> + <xs:sequence> + <xs:element name="Value" + type="xs:QName"/> + <xs:element name="Subcode" + type="tns:subcode" + minOccurs="0"/> + </xs:sequence> + </xs:complexType> + + <xs:complexType name="detail"> + <xs:sequence> + <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + <xs:anyAttribute namespace="##other" processContents="lax"/> + </xs:complexType> + + <!-- Global element declaration and complex type definition for header entry returned due to a mustUnderstand fault --> + <xs:element name="NotUnderstood" type="tns:NotUnderstoodType"/> + <xs:complexType name="NotUnderstoodType"> + <xs:attribute name="qname" type="xs:QName" use="required"/> + </xs:complexType> + + <!-- Global element and associated types for managing version transition as described in Appendix A of the SOAP Version 1.2 Part 1 Last Call Working Draft --> + <xs:complexType name="SupportedEnvType"> + <xs:attribute name="qname" type="xs:QName" use="required"/> + </xs:complexType> + + <xs:element name="Upgrade" type="tns:UpgradeType"/> + <xs:complexType name="UpgradeType"> + <xs:sequence> + <xs:element name="SupportedEnvelope" type="tns:SupportedEnvType" minOccurs="1" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + +</xs:schema> diff --git a/qpid/java/management/client/src/main/java/wsdl/WS-Addressing-2005_08.xsd b/qpid/java/management/client/src/main/java/wsdl/WS-Addressing-2005_08.xsd index 9bf9b10b7f..04b4a688b3 100644 --- a/qpid/java/management/client/src/main/java/wsdl/WS-Addressing-2005_08.xsd +++ b/qpid/java/management/client/src/main/java/wsdl/WS-Addressing-2005_08.xsd @@ -1,22 +1,43 @@ <?xml version="1.0" encoding="utf-8"?> -<xs:schema
- targetNamespace="http://www.w3.org/2005/08/addressing"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:tns="http://www.w3.org/2005/08/addressing"
- elementFormDefault="qualified"
+<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> + +<xs:schema + targetNamespace="http://www.w3.org/2005/08/addressing" + xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns:tns="http://www.w3.org/2005/08/addressing" + elementFormDefault="qualified" attributeFormDefault="unqualified"> <!-- Constructs from the WS-Addressing Core --> - <xs:element name="EndpointReference"
+ <xs:element name="EndpointReference" type="tns:EndpointReferenceType" /> <xs:complexType name="EndpointReferenceType" mixed="false"> <xs:sequence> <xs:element name="Address" type="tns:AttributedURIType" /> - <xs:element name="ReferenceParameters"
+ <xs:element name="ReferenceParameters" type="tns:ReferenceParametersType" minOccurs="0" /> <xs:element ref="tns:Metadata" minOccurs="0" /> - <xs:any namespace="##other" processContents="lax"
+ <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence> <xs:anyAttribute namespace="##other" processContents="lax" /> @@ -24,7 +45,7 @@ <xs:complexType name="ReferenceParametersType" mixed="false"> <xs:sequence> - <xs:any namespace="##any" processContents="lax"
+ <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence> <xs:anyAttribute namespace="##other" processContents="lax" /> @@ -33,7 +54,7 @@ <xs:element name="Metadata" type="tns:MetadataType" /> <xs:complexType name="MetadataType" mixed="false"> <xs:sequence> - <xs:any namespace="##any" processContents="lax"
+ <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence> <xs:anyAttribute namespace="##other" processContents="lax" /> @@ -44,10 +65,10 @@ <xs:complexType name="RelatesToType" mixed="false"> <xs:simpleContent> <xs:extension base="xs:anyURI"> - <xs:attribute name="RelationshipType"
- type="tns:RelationshipTypeOpenEnum" use="optional"
+ <xs:attribute name="RelationshipType" + type="tns:RelationshipTypeOpenEnum" use="optional" default="http://www.w3.org/2005/08/addressing/reply" /> - <xs:anyAttribute namespace="##other"
+ <xs:anyAttribute namespace="##other" processContents="lax" /> </xs:extension> </xs:simpleContent> @@ -59,7 +80,7 @@ <xs:simpleType name="RelationshipType"> <xs:restriction base="xs:anyURI"> - <xs:enumeration
+ <xs:enumeration value="http://www.w3.org/2005/08/addressing/reply" /> </xs:restriction> </xs:simpleType> @@ -73,7 +94,7 @@ <xs:complexType name="AttributedURIType" mixed="false"> <xs:simpleContent> <xs:extension base="xs:anyURI"> - <xs:anyAttribute namespace="##other"
+ <xs:anyAttribute namespace="##other" processContents="lax" /> </xs:extension> </xs:simpleContent> @@ -107,18 +128,18 @@ <xs:complexType name="AttributedUnsignedLongType" mixed="false"> <xs:simpleContent> <xs:extension base="xs:unsignedLong"> - <xs:anyAttribute namespace="##other"
+ <xs:anyAttribute namespace="##other" processContents="lax" /> </xs:extension> </xs:simpleContent> </xs:complexType> - <xs:element name="ProblemHeaderQName"
+ <xs:element name="ProblemHeaderQName" type="tns:AttributedQNameType" /> <xs:complexType name="AttributedQNameType" mixed="false"> <xs:simpleContent> <xs:extension base="xs:QName"> - <xs:anyAttribute namespace="##other"
+ <xs:anyAttribute namespace="##other" processContents="lax" /> </xs:extension> </xs:simpleContent> @@ -127,7 +148,7 @@ <xs:element name="ProblemHeader" type="tns:AttributedAnyType" /> <xs:complexType name="AttributedAnyType" mixed="false"> <xs:sequence> - <xs:any namespace="##any" processContents="lax"
+ <xs:any namespace="##any" processContents="lax" minOccurs="1" maxOccurs="1" /> </xs:sequence> <xs:anyAttribute namespace="##other" processContents="lax" /> @@ -139,7 +160,7 @@ <xs:complexType name="ProblemActionType" mixed="false"> <xs:sequence> <xs:element ref="tns:Action" minOccurs="0" /> - <xs:element name="SoapAction" minOccurs="0"
+ <xs:element name="SoapAction" minOccurs="0" type="xs:anyURI" /> </xs:sequence> <xs:anyAttribute namespace="##other" processContents="lax" /> diff --git a/qpid/java/management/client/src/main/java/wsdl/WS-MetadataExchange-2004_09.xsd b/qpid/java/management/client/src/main/java/wsdl/WS-MetadataExchange-2004_09.xsd index 771a801f57..4cef35b510 100644 --- a/qpid/java/management/client/src/main/java/wsdl/WS-MetadataExchange-2004_09.xsd +++ b/qpid/java/management/client/src/main/java/wsdl/WS-MetadataExchange-2004_09.xsd @@ -1,113 +1,134 @@ -<?xml version='1.0' encoding='UTF-8' ?>
-<!--
-(c) 2004 BEA Systems Inc., Computer Associates International, Inc.,
-International Business Machines Corporation, Microsoft Corporation,
-Inc., SAP AG, Sun Microsystems, and webMethods. All rights reserved.
-
-Permission to copy and display the WS-MetadataExchange Specification
-(the "Specification"), in any medium without fee or royalty is hereby
-granted, provided that you include the following on ALL copies of the
-Specification that you make:
-
-1. A link or URL to the Specification at this location.
-2. The copyright notice as shown in the Specification.
-
-BEA Systems, Computer Associates, IBM, Microsoft, SAP, Sun, and
-webMethods (collectively, the "Authors") each agree to grant you a
-license, under royalty-free and otherwise reasonable,
-non-discriminatory terms and conditions, to their respective essential
-patent claims that they deem necessary to implement the
-WS-MetadataExchange Specification.
-
-THE SPECIFICATION IS PROVIDED "AS IS," AND THE AUTHORS MAKE NO
-REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT
-LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
-PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE
-SPECIFICATION ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE
-IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY
-PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
-
-THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL,
-INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY
-USE OR DISTRIBUTION OF THE SPECIFICATIONS.
-
-The name and trademarks of the Authors may NOT be used in any manner,
-including advertising or publicity pertaining to the Specifications or
-their contents without specific, written prior permission. Title to
-copyright in the Specifications will at all times remain with the
-Authors.
-
-No other rights are granted by implication, estoppel or otherwise.
--->
-
-<xs:schema
- targetNamespace="http://schemas.xmlsoap.org/ws/2004/09/mex"
- xmlns:tns="http://schemas.xmlsoap.org/ws/2004/09/mex"
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- elementFormDefault="qualified" >
-
- <xs:import
- namespace="http://www.w3.org/2005/08/addressing"
- schemaLocation="WS-Addressing-2005_08.xsd" />
-
- <!-- Get Metadata request -->
- <xs:element name='GetMetadata' >
- <xs:complexType>
- <xs:sequence>
- <xs:element ref='tns:Dialect' minOccurs='0' />
- <xs:element ref='tns:Identifier' minOccurs='0' />
- </xs:sequence>
- <xs:anyAttribute namespace='##other' processContents='lax' />
- </xs:complexType>
- </xs:element>
-
- <xs:element name='Dialect' type='xs:anyURI' />
- <xs:element name='Identifier' type='xs:anyURI' />
-
- <!-- Get Metadata response -->
- <xs:element name='Metadata' >
- <xs:complexType>
- <xs:sequence>
- <xs:element ref='tns:MetadataSection'
- minOccurs='0'
- maxOccurs='unbounded' />
- </xs:sequence>
- <xs:anyAttribute namespace='##other' processContents='lax' />
- </xs:complexType>
- </xs:element>
-
- <xs:element name='MetadataSection' >
- <xs:complexType>
- <xs:choice>
- <xs:any namespace='##other'
- processContents='lax'
- minOccurs='0'
- maxOccurs='unbounded' />
- <xs:element ref='tns:MetadataReference' />
- <xs:element ref='tns:Location' />
- </xs:choice>
- <xs:attribute name='Dialect' type='xs:anyURI' use='required' />
- <xs:attribute name='Identifier' type='xs:anyURI' />
- <xs:anyAttribute namespace='##other' processContents='lax' />
- </xs:complexType>
- </xs:element>
-
- <xs:element name='MetadataReference'
- type='wsa:EndpointReferenceType' />
-
- <xs:element name='Location'
- type='xs:anyURI' />
-
- <!-- count(/s:Envelope/s:Body/*) = 0 for Get request -->
-
- <!-- Get Response returns xs:any -->
-
- <xs:complexType name='AnyXmlType' >
- <xs:sequence>
- <xs:any namespace='##any' processContents='lax' />
- </xs:sequence>
- <xs:anyAttribute namespace='##any' processContents='lax' />
- </xs:complexType>
-
-</xs:schema>
+<?xml version='1.0' encoding='UTF-8' ?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> + +<!-- +(c) 2004 BEA Systems Inc., Computer Associates International, Inc., +International Business Machines Corporation, Microsoft Corporation, +Inc., SAP AG, Sun Microsystems, and webMethods. All rights reserved. + +Permission to copy and display the WS-MetadataExchange Specification +(the "Specification"), in any medium without fee or royalty is hereby +granted, provided that you include the following on ALL copies of the +Specification that you make: + +1. A link or URL to the Specification at this location. +2. The copyright notice as shown in the Specification. + +BEA Systems, Computer Associates, IBM, Microsoft, SAP, Sun, and +webMethods (collectively, the "Authors") each agree to grant you a +license, under royalty-free and otherwise reasonable, +non-discriminatory terms and conditions, to their respective essential +patent claims that they deem necessary to implement the +WS-MetadataExchange Specification. + +THE SPECIFICATION IS PROVIDED "AS IS," AND THE AUTHORS MAKE NO +REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT +LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE +SPECIFICATION ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE +IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY +PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. + +THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, +INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY +USE OR DISTRIBUTION OF THE SPECIFICATIONS. + +The name and trademarks of the Authors may NOT be used in any manner, +including advertising or publicity pertaining to the Specifications or +their contents without specific, written prior permission. Title to +copyright in the Specifications will at all times remain with the +Authors. + +No other rights are granted by implication, estoppel or otherwise. +--> + +<xs:schema + targetNamespace="http://schemas.xmlsoap.org/ws/2004/09/mex" + xmlns:tns="http://schemas.xmlsoap.org/ws/2004/09/mex" + xmlns:wsa="http://www.w3.org/2005/08/addressing" + xmlns:xs="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" > + + <xs:import + namespace="http://www.w3.org/2005/08/addressing" + schemaLocation="WS-Addressing-2005_08.xsd" /> + + <!-- Get Metadata request --> + <xs:element name='GetMetadata' > + <xs:complexType> + <xs:sequence> + <xs:element ref='tns:Dialect' minOccurs='0' /> + <xs:element ref='tns:Identifier' minOccurs='0' /> + </xs:sequence> + <xs:anyAttribute namespace='##other' processContents='lax' /> + </xs:complexType> + </xs:element> + + <xs:element name='Dialect' type='xs:anyURI' /> + <xs:element name='Identifier' type='xs:anyURI' /> + + <!-- Get Metadata response --> + <xs:element name='Metadata' > + <xs:complexType> + <xs:sequence> + <xs:element ref='tns:MetadataSection' + minOccurs='0' + maxOccurs='unbounded' /> + </xs:sequence> + <xs:anyAttribute namespace='##other' processContents='lax' /> + </xs:complexType> + </xs:element> + + <xs:element name='MetadataSection' > + <xs:complexType> + <xs:choice> + <xs:any namespace='##other' + processContents='lax' + minOccurs='0' + maxOccurs='unbounded' /> + <xs:element ref='tns:MetadataReference' /> + <xs:element ref='tns:Location' /> + </xs:choice> + <xs:attribute name='Dialect' type='xs:anyURI' use='required' /> + <xs:attribute name='Identifier' type='xs:anyURI' /> + <xs:anyAttribute namespace='##other' processContents='lax' /> + </xs:complexType> + </xs:element> + + <xs:element name='MetadataReference' + type='wsa:EndpointReferenceType' /> + + <xs:element name='Location' + type='xs:anyURI' /> + + <!-- count(/s:Envelope/s:Body/*) = 0 for Get request --> + + <!-- Get Response returns xs:any --> + + <xs:complexType name='AnyXmlType' > + <xs:sequence> + <xs:any namespace='##any' processContents='lax' /> + </xs:sequence> + <xs:anyAttribute namespace='##any' processContents='lax' /> + </xs:complexType> + +</xs:schema> diff --git a/qpid/java/management/client/src/main/java/wsdl/WSDM-MUWS-Part1-1_1.xsd b/qpid/java/management/client/src/main/java/wsdl/WSDM-MUWS-Part1-1_1.xsd index dd74c23681..c24e97a9ce 100644 --- a/qpid/java/management/client/src/main/java/wsdl/WSDM-MUWS-Part1-1_1.xsd +++ b/qpid/java/management/client/src/main/java/wsdl/WSDM-MUWS-Part1-1_1.xsd @@ -1,93 +1,114 @@ -<?xml version="1.0" encoding="utf-8"?>
-<xs:schema
- targetNamespace="http://docs.oasis-open.org/wsdm/muws1-2.xsd"
- xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd"
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- elementFormDefault="qualified" attributeFormDefault="unqualified">
-
- <xs:import namespace="http://www.w3.org/2005/08/addressing"
- schemaLocation="WS-Addressing-2005_08.xsd"/>
-
-
- <xs:element name="ResourceId" type="xs:anyURI"/>
- <xs:element name="ManageabilityCapability" type="xs:anyURI"/>
-
-
- <xs:complexType name="CorrelatablePropertiesType">
- <xs:sequence>
- <xs:any minOccurs="0" maxOccurs="unbounded"
- namespace="##other" processContents="lax"/>
- </xs:sequence>
- <xs:attribute name="Dialect" type="xs:anyURI"/>
- <xs:attribute name="NegativeAssertionPossible" type="xs:boolean"/>
- <xs:anyAttribute namespace="##other"/>
- </xs:complexType>
-
- <xs:element name="CorrelatableProperties"
- type="muws1:CorrelatablePropertiesType"/>
-
-
- <xs:complexType name="ComponentAddressType">
- <xs:sequence>
- <xs:any namespace="##any" processContents="lax"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="ComponentType">
- <xs:sequence>
- <xs:element name="ResourceId" type="xs:anyURI"
- minOccurs="0"/>
- <xs:element name="ComponentAddress"
- type="muws1:ComponentAddressType"
- minOccurs="0" maxOccurs="unbounded"/>
- <xs:any minOccurs="0" maxOccurs="unbounded"
- namespace="##other" processContents="lax"/>
- </xs:sequence>
- <xs:anyAttribute namespace="##other"/>
- </xs:complexType>
-
-
- <xs:complexType name="ManagementEventType">
- <xs:sequence>
- <xs:element name="EventId" type="xs:anyURI"/>
- <xs:element name="SourceComponent" type="muws1:ComponentType"/>
- <xs:element name="ReporterComponent" type="muws1:ComponentType"
- minOccurs="0"/>
- <xs:any minOccurs="0" maxOccurs="unbounded"
- namespace="##other" processContents="lax"/>
- </xs:sequence>
- <xs:attribute name="ReportTime" type="xs:dateTime" use="optional"/>
- <xs:anyAttribute namespace="##other"/>
- </xs:complexType>
-
- <xs:element name="ManagementEvent"
- type="muws1:ManagementEventType"/>
-
- <xs:element name="ManageabilityEndpointReference"
- type="wsa:EndpointReferenceType"/>
-
-
-<!--
- SCHEMA COPY Material
-Copy and paste element references below into the schema of a resource properties document.
-These references are provide to insure that the correct minOccurs/maxOccurs attributes are specified in a resource property document schema.
-
-NOTE: You must import the MUWS Part 1 schema namespace (MUWS1).
-
- ** Identity Properties **
- <xs:element ref="muws1:ResourceId"/>
-
-
- ** ManageabilityCharacteristics Properties **
- <xs:element ref="muws1:ManageabilityCapability"
- minOccurs="0" maxOccurs="unbounded"/>
-
- ** Correlatable Properties **
- <xs:element ref="muws1:CorrelatableProperties"
- minOccurs="0" maxOccurs="unbounded"/>
-
--->
-
-</xs:schema>
-
+<?xml version="1.0" encoding="utf-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> + +<xs:schema + targetNamespace="http://docs.oasis-open.org/wsdm/muws1-2.xsd" + xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd" + xmlns:wsa="http://www.w3.org/2005/08/addressing" + xmlns:xs="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" attributeFormDefault="unqualified"> + + <xs:import namespace="http://www.w3.org/2005/08/addressing" + schemaLocation="WS-Addressing-2005_08.xsd"/> + + + <xs:element name="ResourceId" type="xs:anyURI"/> + <xs:element name="ManageabilityCapability" type="xs:anyURI"/> + + + <xs:complexType name="CorrelatablePropertiesType"> + <xs:sequence> + <xs:any minOccurs="0" maxOccurs="unbounded" + namespace="##other" processContents="lax"/> + </xs:sequence> + <xs:attribute name="Dialect" type="xs:anyURI"/> + <xs:attribute name="NegativeAssertionPossible" type="xs:boolean"/> + <xs:anyAttribute namespace="##other"/> + </xs:complexType> + + <xs:element name="CorrelatableProperties" + type="muws1:CorrelatablePropertiesType"/> + + + <xs:complexType name="ComponentAddressType"> + <xs:sequence> + <xs:any namespace="##any" processContents="lax"/> + </xs:sequence> + </xs:complexType> + + <xs:complexType name="ComponentType"> + <xs:sequence> + <xs:element name="ResourceId" type="xs:anyURI" + minOccurs="0"/> + <xs:element name="ComponentAddress" + type="muws1:ComponentAddressType" + minOccurs="0" maxOccurs="unbounded"/> + <xs:any minOccurs="0" maxOccurs="unbounded" + namespace="##other" processContents="lax"/> + </xs:sequence> + <xs:anyAttribute namespace="##other"/> + </xs:complexType> + + + <xs:complexType name="ManagementEventType"> + <xs:sequence> + <xs:element name="EventId" type="xs:anyURI"/> + <xs:element name="SourceComponent" type="muws1:ComponentType"/> + <xs:element name="ReporterComponent" type="muws1:ComponentType" + minOccurs="0"/> + <xs:any minOccurs="0" maxOccurs="unbounded" + namespace="##other" processContents="lax"/> + </xs:sequence> + <xs:attribute name="ReportTime" type="xs:dateTime" use="optional"/> + <xs:anyAttribute namespace="##other"/> + </xs:complexType> + + <xs:element name="ManagementEvent" + type="muws1:ManagementEventType"/> + + <xs:element name="ManageabilityEndpointReference" + type="wsa:EndpointReferenceType"/> + + +<!-- + SCHEMA COPY Material +Copy and paste element references below into the schema of a resource properties document. +These references are provide to insure that the correct minOccurs/maxOccurs attributes are specified in a resource property document schema. + +NOTE: You must import the MUWS Part 1 schema namespace (MUWS1). + + ** Identity Properties ** + <xs:element ref="muws1:ResourceId"/> + + + ** ManageabilityCharacteristics Properties ** + <xs:element ref="muws1:ManageabilityCapability" + minOccurs="0" maxOccurs="unbounded"/> + + ** Correlatable Properties ** + <xs:element ref="muws1:CorrelatableProperties" + minOccurs="0" maxOccurs="unbounded"/> + +--> + +</xs:schema> + diff --git a/qpid/java/management/client/src/main/java/wsdl/WSDM-MUWS-Part2-1_1.xsd b/qpid/java/management/client/src/main/java/wsdl/WSDM-MUWS-Part2-1_1.xsd index 51233a0989..5ea0954734 100644 --- a/qpid/java/management/client/src/main/java/wsdl/WSDM-MUWS-Part2-1_1.xsd +++ b/qpid/java/management/client/src/main/java/wsdl/WSDM-MUWS-Part2-1_1.xsd @@ -1,656 +1,677 @@ -<?xml version="1.0" encoding="utf-8" ?>
-<xs:schema targetNamespace="http://docs.oasis-open.org/wsdm/muws2-2.xsd"
- xmlns:muws2="http://docs.oasis-open.org/wsdm/muws2-2.xsd"
- xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd"
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- elementFormDefault="qualified" attributeFormDefault="unqualified">
- <xs:import namespace="http://docs.oasis-open.org/wsdm/muws1-2.xsd"
- schemaLocation="WSDM-MUWS-Part1-1_1.xsd" />
- <xs:import namespace="http://www.w3.org/2005/08/addressing"
- schemaLocation="WS-Addressing-2005_08.xsd" />
- <xs:import namespace="http://www.w3.org/XML/1998/namespace"
- schemaLocation="XML-Namespace-1998.xsd" />
- <xs:complexType name="LangString">
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute ref="xml:lang" use="required" />
- <xs:anyAttribute namespace="##other" />
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <!-- Begin properties for the Description capability -->
- <xs:element name="Caption" type="muws2:LangString" />
- <xs:element name="Description" type="muws2:LangString" />
- <xs:element name="Version" type="xs:string" />
- <!-- End properties for the Description capability -->
- <xs:complexType name="CategoryType">
- <xs:sequence>
- <xs:any minOccurs="0" namespace="##any"
- processContents="lax" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="StateType">
- <xs:complexContent>
- <xs:extension base="muws2:CategoryType" />
- </xs:complexContent>
- </xs:complexType>
- <xs:element name="State" type="muws2:StateType" />
- <xs:element name="EnteredState" type="muws2:StateType" />
- <xs:element name="PreviousState" type="muws2:StateType" />
- <xs:complexType name="StateTransitionType">
- <xs:sequence>
- <xs:element ref="muws2:EnteredState" />
- <xs:element ref="muws2:PreviousState" minOccurs="0" />
- <xs:any minOccurs="0" maxOccurs="unbounded"
- namespace="##other" processContents="lax" />
- </xs:sequence>
- <xs:attribute name="TransitionIdentifier" type="xs:anyURI"
- use="optional" />
- <xs:attribute name="Time" type="xs:dateTime" use="required" />
- <xs:anyAttribute namespace="##other" />
- </xs:complexType>
- <xs:element name="StateTransition" type="muws2:StateTransitionType" />
- <!-- Begin properties for the OperationalStatus capability -->
- <xs:element name="OperationalStatus">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="Available" />
- <xs:enumeration value="PartiallyAvailable" />
- <xs:enumeration value="Unavailable" />
- <xs:enumeration value="Unknown" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <!-- End properties for the OperationalStatus capability -->
- <xs:attributeGroup name="MetricAttributes">
- <xs:attribute name="ResetAt" type="xs:dateTime" />
- <xs:attribute name="LastUpdated" type="xs:dateTime" />
- <xs:attribute name="Duration" type="xs:duration" />
- </xs:attributeGroup>
- <!-- Begin properties for the Metrics capability -->
- <xs:element name="CurrentTime" type="xs:dateTime" />
- <!-- End properties for the Metrics capability -->
- <xs:complexType name="RelationshipTypeType">
- <xs:complexContent>
- <xs:extension base="muws2:CategoryType" />
- </xs:complexContent>
- </xs:complexType>
- <xs:element name="Self">
- <xs:complexType />
- </xs:element>
- <xs:complexType name="RelationshipParticipantType">
- <xs:sequence>
- <xs:element ref="muws2:Self" minOccurs="0" />
- <xs:element ref="muws1:ManageabilityEndpointReference"
- minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="wsa:EndpointReference" minOccurs="0"
- maxOccurs="unbounded" />
- <xs:element ref="muws1:ResourceId" minOccurs="0" />
- <xs:element name="Role" type="xs:anyURI" />
- <xs:any minOccurs="0" maxOccurs="unbounded"
- namespace="##other" processContents="lax" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other" />
- </xs:complexType>
- <!-- Begin properties for the RelationshipResource capability -->
- <xs:element name="Name" type="xs:string" />
- <xs:element name="Type" type="muws2:RelationshipTypeType" />
- <xs:element name="Participant"
- type="muws2:RelationshipParticipantType" />
- <!-- End properties for the RelationshipResource capability -->
- <xs:complexType name="RelationshipType">
- <xs:sequence>
- <xs:element ref="muws2:Name" minOccurs="0" />
- <xs:element ref="muws2:Type" />
- <xs:element ref="muws2:Participant" minOccurs="2"
- maxOccurs="unbounded" />
- <xs:element name="AccessEndpointReference"
- type="wsa:EndpointReferenceType" minOccurs="0" />
- <xs:any minOccurs="0" maxOccurs="unbounded"
- namespace="##other" processContents="lax" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other" />
- </xs:complexType>
- <!-- Begin properties for the Relationship capability -->
- <xs:element name="Relationship" type="muws2:RelationshipType" />
- <!-- End properties for the Relationship capability -->
- <xs:element name="RelationshipCreatedNotification">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="muws2:Relationship" />
- <xs:any minOccurs="0" maxOccurs="unbounded"
- namespace="##other" processContents="lax" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other" />
- </xs:complexType>
- </xs:element>
- <xs:element name="RelationshipDeletedNotification">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="muws2:Relationship" />
- <xs:any minOccurs="0" maxOccurs="unbounded"
- namespace="##other" processContents="lax" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other" />
- </xs:complexType>
- </xs:element>
- <xs:element name="QueryRelationshipsByType">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="RequestedType" type="xs:QName" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="QueryRelationshipsByTypeResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="muws2:Relationship" minOccurs="0"
- maxOccurs="unbounded" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="CreationNotification">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="muws1:ManageabilityEndpointReference"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other" />
- </xs:complexType>
- </xs:element>
- <xs:element name="DestructionNotification">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="muws1:ResourceId" minOccurs="0" />
- </xs:sequence>
- <xs:anyAttribute namespace="##other" />
- </xs:complexType>
- </xs:element>
- <xs:complexType name="SituationCategoryType">
- <xs:complexContent>
- <xs:extension base="muws2:CategoryType" />
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="SubstitutableMsgType">
- <xs:sequence>
- <xs:element name="Value" type="xs:anySimpleType"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="MsgId" type="xs:string" use="required" />
- <xs:attribute name="MsgIdType" type="xs:anyURI" use="required" />
- </xs:complexType>
- <xs:complexType name="SituationType">
- <xs:sequence>
- <xs:element name="SituationCategory"
- type="muws2:SituationCategoryType" />
- <xs:element name="SuccessDisposition" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="Successful" />
- <xs:enumeration value="Unsuccessful" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="SituationTime" type="xs:dateTime" />
- <xs:element name="Priority" type="xs:short" minOccurs="0" />
- <xs:element name="Severity" type="xs:short" minOccurs="0" />
- <xs:element name="Message" type="muws2:LangString"
- minOccurs="0" />
- <xs:element name="SubstitutableMsg"
- type="muws2:SubstitutableMsgType" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- <xs:element name="Situation" type="muws2:SituationType" />
- <xs:complexType name="EventCorrelationPropertiesType">
- <xs:sequence>
- <xs:element name="repeatCount" minOccurs="0"
- maxOccurs="1">
- <xs:simpleType>
- <xs:restriction base="xs:short">
- <xs:minInclusive value="0" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="elapsedTime" minOccurs="0"
- maxOccurs="1">
- <xs:simpleType>
- <xs:restriction base="xs:long">
- <xs:minInclusive value="0" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="sequenceNumber" type="xs:unsignedLong" />
- </xs:complexType>
- <xs:element name="EventCorrelationProperties"
- type="muws2:EventCorrelationPropertiesType" />
- <xs:complexType name="MsgCatalogInformationType">
- <xs:sequence>
- <xs:element name="msgCatalog" type="xs:anyURI"
- minOccurs="1" />
- <xs:element name="msgCatalogType" type="xs:anyURI"
- minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- <xs:element name="MsgCatalogInformation"
- type="muws2:MsgCatalogInformationType" />
- <!-- ##### Metadata description elements ##### -->
- <xs:element name="Capability" type="xs:anyURI" />
- <xs:complexType name="DialectableExpressionType" mixed="true">
- <xs:sequence>
- <xs:any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="Dialect" type="xs:anyURI" use="required" />
- <xs:anyAttribute namespace="##other" />
- </xs:complexType>
- <xs:element name="ValidWhile"
- type="muws2:DialectableExpressionType" />
- <xs:element name="Units" type="xs:string" />
- <xs:element name="ChangeType">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="Counter" />
- <xs:enumeration value="Gauge" />
- <xs:enumeration value="Unknown" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="TimeScope">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="Interval" />
- <xs:enumeration value="PointInTime" />
- <xs:enumeration value="SinceReset" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="GatheringTime">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="OnChange" />
- <xs:enumeration value="Periodic" />
- <xs:enumeration value="OnDemand" />
- <xs:enumeration value="Unknown" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="CalculationInterval" type="xs:duration" />
- <xs:element name="MetricGroup" type="xs:anyURI" />
- <xs:element name="PostCondition"
- type="muws2:DialectableExpressionType" />
- <!-- ========= StartSituation ============ -->
- <xs:element name="StartSituation">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType" />
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="StartInitiated">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType">
- <xs:sequence>
- <xs:element ref="muws2:StartSituation" />
- </xs:sequence>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="RestartInitiated">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType">
- <xs:sequence>
- <xs:element ref="muws2:StartSituation" />
- </xs:sequence>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="StartCompleted">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType">
- <xs:sequence>
- <xs:element ref="muws2:StartSituation" />
- </xs:sequence>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <!-- ========= StopSituation ============ -->
- <xs:element name="StopSituation">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType" />
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="StopInitiated">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType">
- <xs:sequence>
- <xs:element ref="muws2:StopSituation" />
- </xs:sequence>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="AbortInitiated">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType">
- <xs:sequence>
- <xs:element ref="muws2:StopSituation" />
- </xs:sequence>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="PauseInitiated">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType">
- <xs:sequence>
- <xs:element ref="muws2:StopSituation" />
- </xs:sequence>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="StopCompleted">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType">
- <xs:sequence>
- <xs:element ref="muws2:StopSituation" />
- </xs:sequence>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <!-- ========= RequestSituation ============ -->
- <xs:element name="RequestSituation">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType" />
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="RequestInitiated">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType">
- <xs:sequence>
- <xs:element ref="muws2:RequestSituation" />
- </xs:sequence>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="RequestCompleted">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType">
- <xs:sequence>
- <xs:element ref="muws2:RequestSituation" />
- </xs:sequence>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <!-- ========= DestroySituation ============ -->
- <xs:element name="DestroySituation">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType" />
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="DestroyInitiated">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType">
- <xs:sequence>
- <xs:element ref="muws2:DestroySituation" />
- </xs:sequence>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="DestroyCompleted">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType">
- <xs:sequence>
- <xs:element ref="muws2:DestroySituation" />
- </xs:sequence>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <!-- ========= CreateSituation ============ -->
- <xs:element name="CreateSituation">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType" />
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="CreateInitiated">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType">
- <xs:sequence>
- <xs:element ref="muws2:CreateSituation" />
- </xs:sequence>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="CreateCompleted">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType">
- <xs:sequence>
- <xs:element ref="muws2:CreateSituation" />
- </xs:sequence>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <!-- ========= ConnectSituation ============ -->
- <xs:element name="ConnectSituation">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType" />
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="ConnectInitiated">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType">
- <xs:sequence>
- <xs:element ref="muws2:ConnectSituation" />
- </xs:sequence>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="ReconnectInitiated">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType">
- <xs:sequence>
- <xs:element ref="muws2:ConnectSituation" />
- </xs:sequence>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="ConnectCompleted">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType">
- <xs:sequence>
- <xs:element ref="muws2:ConnectSituation" />
- </xs:sequence>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <!-- ========= ReportSituation ============ -->
- <xs:element name="ReportSituation">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType" />
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="PerformanceReport">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType">
- <xs:sequence>
- <xs:element ref="muws2:ReportSituation" />
- </xs:sequence>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="SecurityReport">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType">
- <xs:sequence>
- <xs:element ref="muws2:ReportSituation" />
- </xs:sequence>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="HeartbeatReport">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType">
- <xs:sequence>
- <xs:element ref="muws2:ReportSituation" />
- </xs:sequence>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="StatusReport">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType">
- <xs:sequence>
- <xs:element ref="muws2:ReportSituation" />
- </xs:sequence>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="TraceReport">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType">
- <xs:sequence>
- <xs:element ref="muws2:ReportSituation" />
- </xs:sequence>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="DebugReport">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType">
- <xs:sequence>
- <xs:element ref="muws2:ReportSituation" />
- </xs:sequence>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="LogReport">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType">
- <xs:sequence>
- <xs:element ref="muws2:ReportSituation" />
- </xs:sequence>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <!-- ========= AvailabilitySituation ============ -->
- <xs:element name="AvailabilitySituation">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType" />
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <!-- ========= CapabilitySituation ============ -->
- <xs:element name="CapabilitySituation">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType" />
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <!-- ========= ConfigureSituation ============ -->
- <xs:element name="ConfigureSituation">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType" />
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <!-- ========= OtherSituation ============ -->
- <xs:element name="OtherSituation">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="muws2:SituationCategoryType" />
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <!--
- SCHEMA COPY Material
- Copy and paste element references below into the schema of a resource properties document.
- These references insure that the correct minOccurs/maxOccurs attributes are specified in a resource property document schema.
-
- NOTE: You must import the MUWS Part 2 schema namespace (MUWS2).
-
- ** Description Properties **
- <xs:element ref="muws2:Caption"
- minOccurs="0" maxOccurs="unbounded"/>
- <xs:element ref="muws2:Description"
- minOccurs="0" maxOccurs="unbounded"/>
- <xs:element ref="muws2:Version"
- minOccurs="0"/>
-
- ** Operational Status **
- <xs:element ref="muws2:OperationalStatus"/>
-
- ** Metrics **
- <xs:element ref="muws2:CurrentTime"/>
-
- ** Relationship **
- <xs:element ref="muws2:Relationship"
- minOccurs="0" maxOccurs="unbounded"/>
-
- ** Relationship Resource **
- <xs:element ref="muws2:Name" minOccurs="0"/>
- <xs:element ref="muws2:Type"/>
- <xs:element ref="muws2:Participant"
- minOccurs="2" maxOccurs="unbounded"/>
-
- -->
-</xs:schema>
\ No newline at end of file +<?xml version="1.0" encoding="utf-8" ?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> + +<xs:schema targetNamespace="http://docs.oasis-open.org/wsdm/muws2-2.xsd" + xmlns:muws2="http://docs.oasis-open.org/wsdm/muws2-2.xsd" + xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd" + xmlns:wsa="http://www.w3.org/2005/08/addressing" + xmlns:xs="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" attributeFormDefault="unqualified"> + <xs:import namespace="http://docs.oasis-open.org/wsdm/muws1-2.xsd" + schemaLocation="WSDM-MUWS-Part1-1_1.xsd" /> + <xs:import namespace="http://www.w3.org/2005/08/addressing" + schemaLocation="WS-Addressing-2005_08.xsd" /> + <xs:import namespace="http://www.w3.org/XML/1998/namespace" + schemaLocation="XML-Namespace-1998.xsd" /> + <xs:complexType name="LangString"> + <xs:simpleContent> + <xs:extension base="xs:string"> + <xs:attribute ref="xml:lang" use="required" /> + <xs:anyAttribute namespace="##other" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + <!-- Begin properties for the Description capability --> + <xs:element name="Caption" type="muws2:LangString" /> + <xs:element name="Description" type="muws2:LangString" /> + <xs:element name="Version" type="xs:string" /> + <!-- End properties for the Description capability --> + <xs:complexType name="CategoryType"> + <xs:sequence> + <xs:any minOccurs="0" namespace="##any" + processContents="lax" /> + </xs:sequence> + </xs:complexType> + <xs:complexType name="StateType"> + <xs:complexContent> + <xs:extension base="muws2:CategoryType" /> + </xs:complexContent> + </xs:complexType> + <xs:element name="State" type="muws2:StateType" /> + <xs:element name="EnteredState" type="muws2:StateType" /> + <xs:element name="PreviousState" type="muws2:StateType" /> + <xs:complexType name="StateTransitionType"> + <xs:sequence> + <xs:element ref="muws2:EnteredState" /> + <xs:element ref="muws2:PreviousState" minOccurs="0" /> + <xs:any minOccurs="0" maxOccurs="unbounded" + namespace="##other" processContents="lax" /> + </xs:sequence> + <xs:attribute name="TransitionIdentifier" type="xs:anyURI" + use="optional" /> + <xs:attribute name="Time" type="xs:dateTime" use="required" /> + <xs:anyAttribute namespace="##other" /> + </xs:complexType> + <xs:element name="StateTransition" type="muws2:StateTransitionType" /> + <!-- Begin properties for the OperationalStatus capability --> + <xs:element name="OperationalStatus"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:enumeration value="Available" /> + <xs:enumeration value="PartiallyAvailable" /> + <xs:enumeration value="Unavailable" /> + <xs:enumeration value="Unknown" /> + </xs:restriction> + </xs:simpleType> + </xs:element> + <!-- End properties for the OperationalStatus capability --> + <xs:attributeGroup name="MetricAttributes"> + <xs:attribute name="ResetAt" type="xs:dateTime" /> + <xs:attribute name="LastUpdated" type="xs:dateTime" /> + <xs:attribute name="Duration" type="xs:duration" /> + </xs:attributeGroup> + <!-- Begin properties for the Metrics capability --> + <xs:element name="CurrentTime" type="xs:dateTime" /> + <!-- End properties for the Metrics capability --> + <xs:complexType name="RelationshipTypeType"> + <xs:complexContent> + <xs:extension base="muws2:CategoryType" /> + </xs:complexContent> + </xs:complexType> + <xs:element name="Self"> + <xs:complexType /> + </xs:element> + <xs:complexType name="RelationshipParticipantType"> + <xs:sequence> + <xs:element ref="muws2:Self" minOccurs="0" /> + <xs:element ref="muws1:ManageabilityEndpointReference" + minOccurs="0" maxOccurs="unbounded" /> + <xs:element ref="wsa:EndpointReference" minOccurs="0" + maxOccurs="unbounded" /> + <xs:element ref="muws1:ResourceId" minOccurs="0" /> + <xs:element name="Role" type="xs:anyURI" /> + <xs:any minOccurs="0" maxOccurs="unbounded" + namespace="##other" processContents="lax" /> + </xs:sequence> + <xs:anyAttribute namespace="##other" /> + </xs:complexType> + <!-- Begin properties for the RelationshipResource capability --> + <xs:element name="Name" type="xs:string" /> + <xs:element name="Type" type="muws2:RelationshipTypeType" /> + <xs:element name="Participant" + type="muws2:RelationshipParticipantType" /> + <!-- End properties for the RelationshipResource capability --> + <xs:complexType name="RelationshipType"> + <xs:sequence> + <xs:element ref="muws2:Name" minOccurs="0" /> + <xs:element ref="muws2:Type" /> + <xs:element ref="muws2:Participant" minOccurs="2" + maxOccurs="unbounded" /> + <xs:element name="AccessEndpointReference" + type="wsa:EndpointReferenceType" minOccurs="0" /> + <xs:any minOccurs="0" maxOccurs="unbounded" + namespace="##other" processContents="lax" /> + </xs:sequence> + <xs:anyAttribute namespace="##other" /> + </xs:complexType> + <!-- Begin properties for the Relationship capability --> + <xs:element name="Relationship" type="muws2:RelationshipType" /> + <!-- End properties for the Relationship capability --> + <xs:element name="RelationshipCreatedNotification"> + <xs:complexType> + <xs:sequence> + <xs:element ref="muws2:Relationship" /> + <xs:any minOccurs="0" maxOccurs="unbounded" + namespace="##other" processContents="lax" /> + </xs:sequence> + <xs:anyAttribute namespace="##other" /> + </xs:complexType> + </xs:element> + <xs:element name="RelationshipDeletedNotification"> + <xs:complexType> + <xs:sequence> + <xs:element ref="muws2:Relationship" /> + <xs:any minOccurs="0" maxOccurs="unbounded" + namespace="##other" processContents="lax" /> + </xs:sequence> + <xs:anyAttribute namespace="##other" /> + </xs:complexType> + </xs:element> + <xs:element name="QueryRelationshipsByType"> + <xs:complexType> + <xs:sequence> + <xs:element name="RequestedType" type="xs:QName" /> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="QueryRelationshipsByTypeResponse"> + <xs:complexType> + <xs:sequence> + <xs:element ref="muws2:Relationship" minOccurs="0" + maxOccurs="unbounded" /> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="CreationNotification"> + <xs:complexType> + <xs:sequence> + <xs:element ref="muws1:ManageabilityEndpointReference" + minOccurs="0" maxOccurs="unbounded" /> + </xs:sequence> + <xs:anyAttribute namespace="##other" /> + </xs:complexType> + </xs:element> + <xs:element name="DestructionNotification"> + <xs:complexType> + <xs:sequence> + <xs:element ref="muws1:ResourceId" minOccurs="0" /> + </xs:sequence> + <xs:anyAttribute namespace="##other" /> + </xs:complexType> + </xs:element> + <xs:complexType name="SituationCategoryType"> + <xs:complexContent> + <xs:extension base="muws2:CategoryType" /> + </xs:complexContent> + </xs:complexType> + <xs:complexType name="SubstitutableMsgType"> + <xs:sequence> + <xs:element name="Value" type="xs:anySimpleType" + minOccurs="0" maxOccurs="unbounded" /> + </xs:sequence> + <xs:attribute name="MsgId" type="xs:string" use="required" /> + <xs:attribute name="MsgIdType" type="xs:anyURI" use="required" /> + </xs:complexType> + <xs:complexType name="SituationType"> + <xs:sequence> + <xs:element name="SituationCategory" + type="muws2:SituationCategoryType" /> + <xs:element name="SuccessDisposition" minOccurs="0"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:enumeration value="Successful" /> + <xs:enumeration value="Unsuccessful" /> + </xs:restriction> + </xs:simpleType> + </xs:element> + <xs:element name="SituationTime" type="xs:dateTime" /> + <xs:element name="Priority" type="xs:short" minOccurs="0" /> + <xs:element name="Severity" type="xs:short" minOccurs="0" /> + <xs:element name="Message" type="muws2:LangString" + minOccurs="0" /> + <xs:element name="SubstitutableMsg" + type="muws2:SubstitutableMsgType" minOccurs="0" /> + </xs:sequence> + </xs:complexType> + <xs:element name="Situation" type="muws2:SituationType" /> + <xs:complexType name="EventCorrelationPropertiesType"> + <xs:sequence> + <xs:element name="repeatCount" minOccurs="0" + maxOccurs="1"> + <xs:simpleType> + <xs:restriction base="xs:short"> + <xs:minInclusive value="0" /> + </xs:restriction> + </xs:simpleType> + </xs:element> + <xs:element name="elapsedTime" minOccurs="0" + maxOccurs="1"> + <xs:simpleType> + <xs:restriction base="xs:long"> + <xs:minInclusive value="0" /> + </xs:restriction> + </xs:simpleType> + </xs:element> + </xs:sequence> + <xs:attribute name="sequenceNumber" type="xs:unsignedLong" /> + </xs:complexType> + <xs:element name="EventCorrelationProperties" + type="muws2:EventCorrelationPropertiesType" /> + <xs:complexType name="MsgCatalogInformationType"> + <xs:sequence> + <xs:element name="msgCatalog" type="xs:anyURI" + minOccurs="1" /> + <xs:element name="msgCatalogType" type="xs:anyURI" + minOccurs="0" /> + </xs:sequence> + </xs:complexType> + <xs:element name="MsgCatalogInformation" + type="muws2:MsgCatalogInformationType" /> + <!-- ##### Metadata description elements ##### --> + <xs:element name="Capability" type="xs:anyURI" /> + <xs:complexType name="DialectableExpressionType" mixed="true"> + <xs:sequence> + <xs:any namespace="##other" processContents="lax" + minOccurs="0" maxOccurs="unbounded" /> + </xs:sequence> + <xs:attribute name="Dialect" type="xs:anyURI" use="required" /> + <xs:anyAttribute namespace="##other" /> + </xs:complexType> + <xs:element name="ValidWhile" + type="muws2:DialectableExpressionType" /> + <xs:element name="Units" type="xs:string" /> + <xs:element name="ChangeType"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:enumeration value="Counter" /> + <xs:enumeration value="Gauge" /> + <xs:enumeration value="Unknown" /> + </xs:restriction> + </xs:simpleType> + </xs:element> + <xs:element name="TimeScope"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:enumeration value="Interval" /> + <xs:enumeration value="PointInTime" /> + <xs:enumeration value="SinceReset" /> + </xs:restriction> + </xs:simpleType> + </xs:element> + <xs:element name="GatheringTime"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:enumeration value="OnChange" /> + <xs:enumeration value="Periodic" /> + <xs:enumeration value="OnDemand" /> + <xs:enumeration value="Unknown" /> + </xs:restriction> + </xs:simpleType> + </xs:element> + <xs:element name="CalculationInterval" type="xs:duration" /> + <xs:element name="MetricGroup" type="xs:anyURI" /> + <xs:element name="PostCondition" + type="muws2:DialectableExpressionType" /> + <!-- ========= StartSituation ============ --> + <xs:element name="StartSituation"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType" /> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="StartInitiated"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType"> + <xs:sequence> + <xs:element ref="muws2:StartSituation" /> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="RestartInitiated"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType"> + <xs:sequence> + <xs:element ref="muws2:StartSituation" /> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="StartCompleted"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType"> + <xs:sequence> + <xs:element ref="muws2:StartSituation" /> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> + <!-- ========= StopSituation ============ --> + <xs:element name="StopSituation"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType" /> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="StopInitiated"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType"> + <xs:sequence> + <xs:element ref="muws2:StopSituation" /> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="AbortInitiated"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType"> + <xs:sequence> + <xs:element ref="muws2:StopSituation" /> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="PauseInitiated"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType"> + <xs:sequence> + <xs:element ref="muws2:StopSituation" /> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="StopCompleted"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType"> + <xs:sequence> + <xs:element ref="muws2:StopSituation" /> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> + <!-- ========= RequestSituation ============ --> + <xs:element name="RequestSituation"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType" /> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="RequestInitiated"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType"> + <xs:sequence> + <xs:element ref="muws2:RequestSituation" /> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="RequestCompleted"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType"> + <xs:sequence> + <xs:element ref="muws2:RequestSituation" /> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> + <!-- ========= DestroySituation ============ --> + <xs:element name="DestroySituation"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType" /> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="DestroyInitiated"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType"> + <xs:sequence> + <xs:element ref="muws2:DestroySituation" /> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="DestroyCompleted"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType"> + <xs:sequence> + <xs:element ref="muws2:DestroySituation" /> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> + <!-- ========= CreateSituation ============ --> + <xs:element name="CreateSituation"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType" /> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="CreateInitiated"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType"> + <xs:sequence> + <xs:element ref="muws2:CreateSituation" /> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="CreateCompleted"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType"> + <xs:sequence> + <xs:element ref="muws2:CreateSituation" /> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> + <!-- ========= ConnectSituation ============ --> + <xs:element name="ConnectSituation"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType" /> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="ConnectInitiated"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType"> + <xs:sequence> + <xs:element ref="muws2:ConnectSituation" /> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="ReconnectInitiated"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType"> + <xs:sequence> + <xs:element ref="muws2:ConnectSituation" /> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="ConnectCompleted"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType"> + <xs:sequence> + <xs:element ref="muws2:ConnectSituation" /> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> + <!-- ========= ReportSituation ============ --> + <xs:element name="ReportSituation"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType" /> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="PerformanceReport"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType"> + <xs:sequence> + <xs:element ref="muws2:ReportSituation" /> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="SecurityReport"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType"> + <xs:sequence> + <xs:element ref="muws2:ReportSituation" /> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="HeartbeatReport"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType"> + <xs:sequence> + <xs:element ref="muws2:ReportSituation" /> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="StatusReport"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType"> + <xs:sequence> + <xs:element ref="muws2:ReportSituation" /> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="TraceReport"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType"> + <xs:sequence> + <xs:element ref="muws2:ReportSituation" /> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="DebugReport"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType"> + <xs:sequence> + <xs:element ref="muws2:ReportSituation" /> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="LogReport"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType"> + <xs:sequence> + <xs:element ref="muws2:ReportSituation" /> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> + <!-- ========= AvailabilitySituation ============ --> + <xs:element name="AvailabilitySituation"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType" /> + </xs:complexContent> + </xs:complexType> + </xs:element> + <!-- ========= CapabilitySituation ============ --> + <xs:element name="CapabilitySituation"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType" /> + </xs:complexContent> + </xs:complexType> + </xs:element> + <!-- ========= ConfigureSituation ============ --> + <xs:element name="ConfigureSituation"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType" /> + </xs:complexContent> + </xs:complexType> + </xs:element> + <!-- ========= OtherSituation ============ --> + <xs:element name="OtherSituation"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="muws2:SituationCategoryType" /> + </xs:complexContent> + </xs:complexType> + </xs:element> + <!-- + SCHEMA COPY Material + Copy and paste element references below into the schema of a resource properties document. + These references insure that the correct minOccurs/maxOccurs attributes are specified in a resource property document schema. + + NOTE: You must import the MUWS Part 2 schema namespace (MUWS2). + + ** Description Properties ** + <xs:element ref="muws2:Caption" + minOccurs="0" maxOccurs="unbounded"/> + <xs:element ref="muws2:Description" + minOccurs="0" maxOccurs="unbounded"/> + <xs:element ref="muws2:Version" + minOccurs="0"/> + + ** Operational Status ** + <xs:element ref="muws2:OperationalStatus"/> + + ** Metrics ** + <xs:element ref="muws2:CurrentTime"/> + + ** Relationship ** + <xs:element ref="muws2:Relationship" + minOccurs="0" maxOccurs="unbounded"/> + + ** Relationship Resource ** + <xs:element ref="muws2:Name" minOccurs="0"/> + <xs:element ref="muws2:Type"/> + <xs:element ref="muws2:Participant" + minOccurs="2" maxOccurs="unbounded"/> + + --> +</xs:schema> diff --git a/qpid/java/management/client/src/main/java/wsdl/XML-Namespace-1998.xsd b/qpid/java/management/client/src/main/java/wsdl/XML-Namespace-1998.xsd index 998a8001de..f51b67f78f 100644 --- a/qpid/java/management/client/src/main/java/wsdl/XML-Namespace-1998.xsd +++ b/qpid/java/management/client/src/main/java/wsdl/XML-Namespace-1998.xsd @@ -1,25 +1,46 @@ -<?xml version='1.0'?>
-<xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en">
-
- <xs:attribute name="lang" type="xs:language">
- </xs:attribute>
-
- <xs:attribute name="space" default="preserve">
- <xs:simpleType>
- <xs:restriction base="xs:NCName">
- <xs:enumeration value="default"/>
- <xs:enumeration value="preserve"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
-
- <xs:attribute name="base" type="xs:anyURI">
- </xs:attribute>
-
- <xs:attributeGroup name="specialAttrs">
- <xs:attribute ref="xml:base"/>
- <xs:attribute ref="xml:lang"/>
- <xs:attribute ref="xml:space"/>
- </xs:attributeGroup>
-
-</xs:schema>
+<?xml version='1.0'?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> + +<xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en"> + + <xs:attribute name="lang" type="xs:language"> + </xs:attribute> + + <xs:attribute name="space" default="preserve"> + <xs:simpleType> + <xs:restriction base="xs:NCName"> + <xs:enumeration value="default"/> + <xs:enumeration value="preserve"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + + <xs:attribute name="base" type="xs:anyURI"> + </xs:attribute> + + <xs:attributeGroup name="specialAttrs"> + <xs:attribute ref="xml:base"/> + <xs:attribute ref="xml:lang"/> + <xs:attribute ref="xml:space"/> + </xs:attributeGroup> + +</xs:schema> |