|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | +
|
| 4 | + Licensed to the Apache Software Foundation (ASF) under one or more |
| 5 | + contributor license agreements. See the NOTICE file distributed with |
| 6 | + this work for additional information regarding copyright ownership. |
| 7 | + The ASF licenses this file to You under the Apache License, Version 2.0 |
| 8 | + (the "License"); you may not use this file except in compliance with |
| 9 | + the License. You may obtain a copy of the License at |
| 10 | +
|
| 11 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | +
|
| 13 | + Unless required by applicable law or agreed to in writing, software |
| 14 | + distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | + See the License for the specific language governing permissions and |
| 17 | + limitations under the License. |
| 18 | +
|
| 19 | +--> |
| 20 | +<xsd:schema xmlns="http://camel.apache.org/schema/cxf/jaxrs" |
| 21 | + xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
| 22 | + xmlns:beans="http://www.springframework.org/schema/beans" |
| 23 | + xmlns:cxf-beans="http://cxf.apache.org/configuration/beans" |
| 24 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 25 | + targetNamespace="http://camel.apache.org/schema/cxf/jaxrs" |
| 26 | + elementFormDefault="qualified" |
| 27 | + attributeFormDefault="unqualified"> |
| 28 | + |
| 29 | + <xsd:import namespace="http://www.springframework.org/schema/beans" schemaLocation="http://www.springframework.org/schema/beans/spring-beans.xsd"/> |
| 30 | + <xsd:import namespace="http://cxf.apache.org/configuration/beans" schemaLocation="http://cxf.apache.org/schemas/configuration/cxf-beans.xsd"/> |
| 31 | + |
| 32 | + <xsd:element name="rsServer"> |
| 33 | + <xsd:complexType> |
| 34 | + <xsd:complexContent> |
| 35 | + <xsd:extension base="beans:identifiedType"> |
| 36 | + <xsd:all> |
| 37 | + <xsd:element name="executor" type="xsd:anyType" minOccurs="0"/> |
| 38 | + <xsd:element name="features" type="xsd:anyType" minOccurs="0"/> |
| 39 | + <xsd:element name="binding" type="xsd:anyType" minOccurs="0" /> |
| 40 | + <xsd:element name="inInterceptors" type="xsd:anyType" minOccurs="0"/> |
| 41 | + <xsd:element name="inFaultInterceptors" type="xsd:anyType" minOccurs="0"/> |
| 42 | + <xsd:element name="invoker" type="xsd:anyType" minOccurs="0"/> |
| 43 | + <xsd:element name="outInterceptors" type="xsd:anyType" minOccurs="0"/> |
| 44 | + <xsd:element name="outFaultInterceptors" type="xsd:anyType" minOccurs="0"/> |
| 45 | + <xsd:element name="properties" type="beans:mapType" minOccurs="0"/> |
| 46 | + <xsd:element name="serviceBeans" type="xsd:anyType" minOccurs="0"/> |
| 47 | + <xsd:element name="modelBeans" type="xsd:anyType" minOccurs="0"/> |
| 48 | + <xsd:element name="model" type="model" minOccurs="0"/> |
| 49 | + <xsd:element name="providers" type="xsd:anyType" minOccurs="0"/> |
| 50 | + <xsd:element name="extensionMappings" type="xsd:anyType" minOccurs="0"/> |
| 51 | + <xsd:element name="languageMappings" type="xsd:anyType" minOccurs="0"/> |
| 52 | + <xsd:element name="schemaLocations" type="schemasType" minOccurs="0"/> |
| 53 | + </xsd:all> |
| 54 | + <xsd:attributeGroup ref="cxf-beans:beanAttributes"/> |
| 55 | + <xsd:attribute name="address" type="xsd:string" /> |
| 56 | + <xsd:attribute name="bus" type="xsd:string" /> |
| 57 | + <xsd:attribute name="serviceClass" type="xsd:string"/> |
| 58 | + <xsd:attribute name="transportId" type="xsd:string"/> |
| 59 | + <xsd:attribute name="modelRef" type="xsd:string" /> |
| 60 | + <xsd:attribute name="bindingId" type="xsd:string" /> |
| 61 | + <xsd:attribute name="staticSubresourceResolution" type="xsd:boolean" /> |
| 62 | + <xsd:attribute name="loggingFeatureEnabled" type="xsd:boolean"/> |
| 63 | + <xsd:attribute name="loggingSizeLimit" type="xsd:integer" /> |
| 64 | + <xsd:attribute name="skipFaultLogging" type="xsd:boolean" /> |
| 65 | + <xsd:attribute name="publishedEndpointUrl" type="xsd:string" /> |
| 66 | + </xsd:extension> |
| 67 | + </xsd:complexContent> |
| 68 | + </xsd:complexType> |
| 69 | + </xsd:element> |
| 70 | + |
| 71 | + <xsd:element name="rsClient"> |
| 72 | + <xsd:complexType> |
| 73 | + <xsd:complexContent> |
| 74 | + <xsd:extension base="beans:identifiedType"> |
| 75 | + <xsd:all> |
| 76 | + <xsd:element name="executor" type="xsd:anyType" minOccurs="0"/> |
| 77 | + <xsd:element name="features" type="xsd:anyType" minOccurs="0"/> |
| 78 | + <xsd:element name="binding" type="xsd:anyType" minOccurs="0" /> |
| 79 | + <xsd:element name="inInterceptors" type="xsd:anyType" minOccurs="0"/> |
| 80 | + <xsd:element name="inFaultInterceptors" type="xsd:anyType" minOccurs="0"/> |
| 81 | + <xsd:element name="outInterceptors" type="xsd:anyType" minOccurs="0"/> |
| 82 | + <xsd:element name="outFaultInterceptors" type="xsd:anyType" minOccurs="0"/> |
| 83 | + <xsd:element name="properties" type="beans:mapType" minOccurs="0"/> |
| 84 | + <xsd:element name="providers" type="xsd:anyType" minOccurs="0"/> |
| 85 | + <xsd:element name="modelBeans" type="xsd:anyType" minOccurs="0"/> |
| 86 | + <xsd:element name="model" type="model" minOccurs="0"/> |
| 87 | + <xsd:element name="headers" type="xsd:anyType" minOccurs="0"/> |
| 88 | + <xsd:element name="schemaLocations" type="schemasType" minOccurs="0"/> |
| 89 | + </xsd:all> |
| 90 | + <xsd:attributeGroup ref="cxf-beans:beanAttributes"/> |
| 91 | + <xsd:attribute name="address" type="xsd:string" /> |
| 92 | + <xsd:attribute name="serviceClass" type="xsd:string"/> |
| 93 | + <xsd:attribute name="inheritHeaders" type="xsd:boolean"/> |
| 94 | + <xsd:attribute name="bus" type="xsd:string" /> |
| 95 | + <xsd:attribute name="transportId" type="xsd:string"/> |
| 96 | + <xsd:attribute name="bindingId" type="xsd:string" /> |
| 97 | + <xsd:attribute name="modelRef" type="xsd:string" /> |
| 98 | + <xsd:attribute name="username" type="xsd:string"/> |
| 99 | + <xsd:attribute name="password" type="xsd:string"/> |
| 100 | + <xsd:attribute name="loggingFeatureEnabled" type="xsd:boolean"/> |
| 101 | + <xsd:attribute name="loggingSizeLimit" type="xsd:integer" /> |
| 102 | + <xsd:attribute name="skipFaultLogging" type="xsd:boolean" /> |
| 103 | + </xsd:extension> |
| 104 | + </xsd:complexContent> |
| 105 | + </xsd:complexType> |
| 106 | + </xsd:element> |
| 107 | + |
| 108 | + <xsd:complexType name="schemasType"> |
| 109 | + <xsd:sequence> |
| 110 | + <xsd:element name="schemaLocation" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> |
| 111 | + </xsd:sequence> |
| 112 | + </xsd:complexType> |
| 113 | + |
| 114 | + <xsd:complexType name="model"> |
| 115 | + <xsd:sequence> |
| 116 | + <xsd:element name="resource" minOccurs="0" maxOccurs="unbounded"> |
| 117 | + <xsd:complexType> |
| 118 | + <xsd:sequence> |
| 119 | + <xsd:element name="operation" minOccurs="0" maxOccurs="unbounded"> |
| 120 | + <xsd:complexType> |
| 121 | + <xsd:sequence> |
| 122 | + <xsd:element name="param" minOccurs="0" maxOccurs="unbounded"> |
| 123 | + <xsd:complexType> |
| 124 | + <xsd:attribute name="name" type="xsd:string"/> |
| 125 | + <xsd:attribute name="type" type="xsd:string"/> |
| 126 | + </xsd:complexType> |
| 127 | + </xsd:element> |
| 128 | + </xsd:sequence> |
| 129 | + <xsd:attribute name="name" type="xsd:string"/> |
| 130 | + <xsd:attribute name="path" type="xsd:string"/> |
| 131 | + <xsd:attribute name="verb" type="xsd:string"/> |
| 132 | + <xsd:attribute name="consumes" type="xsd:string"/> |
| 133 | + <xsd:attribute name="produces" type="xsd:string"/> |
| 134 | + </xsd:complexType> |
| 135 | + </xsd:element> |
| 136 | + </xsd:sequence> |
| 137 | + <xsd:attribute name="name" type="xsd:string"/> |
| 138 | + <xsd:attribute name="path" type="xsd:string"/> |
| 139 | + </xsd:complexType> |
| 140 | + </xsd:element> |
| 141 | + </xsd:sequence> |
| 142 | + <xsd:attribute name="id" type="xsd:string"/> |
| 143 | + </xsd:complexType> |
| 144 | +</xsd:schema> |
0 commit comments