You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by em...@apache.org on 2007/03/13 10:29:01 UTC

svn commit: r517607 - in /incubator/cxf/trunk/tools2/common/src/main/resources/schemas/wsdl: jms.xjb jms.xsd xml-binding.xjb xml-binding.xsd

Author: ema
Date: Tue Mar 13 02:29:01 2007
New Revision: 517607

URL: http://svn.apache.org/viewvc?view=rev&rev=517607
Log:
Added missing files for last commit

Added:
    incubator/cxf/trunk/tools2/common/src/main/resources/schemas/wsdl/jms.xjb
    incubator/cxf/trunk/tools2/common/src/main/resources/schemas/wsdl/jms.xsd   (with props)
    incubator/cxf/trunk/tools2/common/src/main/resources/schemas/wsdl/xml-binding.xjb
    incubator/cxf/trunk/tools2/common/src/main/resources/schemas/wsdl/xml-binding.xsd   (with props)

Added: incubator/cxf/trunk/tools2/common/src/main/resources/schemas/wsdl/jms.xjb
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools2/common/src/main/resources/schemas/wsdl/jms.xjb?view=auto&rev=517607
==============================================================================
--- incubator/cxf/trunk/tools2/common/src/main/resources/schemas/wsdl/jms.xjb (added)
+++ incubator/cxf/trunk/tools2/common/src/main/resources/schemas/wsdl/jms.xjb Tue Mar 13 02:29:01 2007
@@ -0,0 +1,39 @@
+<?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.
+-->
+<jaxb:bindings version="1.0" 
+  xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" 
+  xmlns:xs="http://www.w3.org/2001/XMLSchema" 
+  xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" 
+  jaxb:extensionBindingPrefixes="xjc">
+    <jaxb:bindings schemaLocation="../../../../../../../common/schemas/src/main/resources/schemas/wsdl/wsdl.xsd" node="/xs:schema">
+        <jaxb:schemaBindings>
+            <jaxb:package name="org.apache.cxf.wsdl"/>
+        </jaxb:schemaBindings>
+        <jaxb:globalBindings generateIsSetMethod="true"/>
+    </jaxb:bindings>
+    <jaxb:bindings schemaLocation="../../../../../../../common/schemas/src/main/resources/schemas/wsdl/wsdl.xsd" node="/xs:schema/xs:complexType[@name='tExtensibilityElement']">
+        <jaxb:class implClass="org.apache.cxf.wsdl.TExtensibilityElementImpl"/>
+    </jaxb:bindings>
+    <jaxb:bindings schemaLocation="jms.xsd" node="/xs:schema">
+        <jaxb:schemaBindings>
+            <jaxb:package name="org.apache.cxf.transport.jms"/>
+        </jaxb:schemaBindings>
+    </jaxb:bindings>
+</jaxb:bindings>

Added: incubator/cxf/trunk/tools2/common/src/main/resources/schemas/wsdl/jms.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools2/common/src/main/resources/schemas/wsdl/jms.xsd?view=auto&rev=517607
==============================================================================
--- incubator/cxf/trunk/tools2/common/src/main/resources/schemas/wsdl/jms.xsd (added)
+++ incubator/cxf/trunk/tools2/common/src/main/resources/schemas/wsdl/jms.xsd Tue Mar 13 02:29:01 2007
@@ -0,0 +1,253 @@
+<?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 xmlns:xs="http://www.w3.org/2001/XMLSchema" 
+  xmlns:jms="http://cxf.apache.org/transports/jms" 
+  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
+  xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" 
+  targetNamespace="http://cxf.apache.org/transports/jms" 
+  elementFormDefault="qualified" jaxb:version="2.0">
+  
+    <xs:import namespace="http://schemas.xmlsoap.org/wsdl/" 
+      schemaLocation="../../../../../../../common/schemas/src/main/resources/schemas/wsdl/wsdl.xsd"/>
+    
+    <!-- Spring elements -->  
+    <xs:element name="conduit" type="jms:ConduitType"/>
+    <xs:element name="destination" type="jms:DestinationType"/>
+        
+    <!-- Valid wsdl elements -->
+    <xs:element name="client" type="jms:ClientBehaviorPolicyType"/>
+    <xs:element name="server" type="jms:ServerBehaviorPolicyType"/>
+    <xs:element name="clientConfig" type="jms:ClientConfig"/>
+    <xs:element name="serverConfig" type="jms:ServerConfig"/>
+    <xs:element name="address" type="jms:AddressType"/>
+
+    <!-- Abstract Types -->
+    <xs:complexType name="DestinationType">
+        <xs:sequence>
+            <xs:element name="serverConfig" type="jms:ServerConfig" minOccurs="0"/>
+            <xs:element name="runtimePolicy" type="jms:ServerBehaviorPolicyType" minOccurs="0"/>
+            <xs:element name="sessionPool" type="jms:SessionPoolType" minOccurs="0"/>
+            <xs:element name="address" type="jms:AddressType" minOccurs="0"/>
+        </xs:sequence>
+        <xs:attribute name="id" type="xs:string"/>
+    </xs:complexType>
+    
+    <xs:complexType name="ConduitType">
+        <xs:sequence>
+            <xs:element name="clientConfig" type="jms:ClientConfig" minOccurs="0"/>
+            <xs:element name="runtimePolicy" type="jms:ClientBehaviorPolicyType" minOccurs="0"/>
+            <xs:element name="sessionPool" type="jms:SessionPoolType" minOccurs="0"/>
+            <xs:element name="address" type="jms:AddressType" minOccurs="0"/>
+        </xs:sequence>
+        <xs:attribute name="id" type="xs:string"/>
+    </xs:complexType>
+    
+    <xs:complexType name="SessionPoolType">
+        <xs:annotation>
+            <xs:documentation>JMS Session pool configuration policy</xs:documentation>
+        </xs:annotation>
+        <xs:attribute name="lowWaterMark" type="xs:int" default="20"/>
+        <xs:attribute name="highWaterMark" type="xs:int" default="500" />
+    </xs:complexType>
+    
+    <xs:complexType name="ClientConfig">
+        <xs:attribute name="clientReceiveTimeout" type="xs:long" default="2000"/>
+        <xs:attribute name="messageTimeToLive" type="xs:long" default="0" />
+    </xs:complexType>
+    
+    <xs:complexType name="ServerConfig">
+        <xs:attribute name="messageTimeToLive" type="xs:long" default="0" />
+        <xs:attribute name="durableSubscriptionClientId" type="xs:string" />
+    </xs:complexType>
+
+    <xs:complexType name="JMSPropertyType">
+        <xs:sequence>
+            <xs:element name="name" type="xs:string"/>
+            <xs:element name="value" type="xs:string"/>
+        </xs:sequence>
+    </xs:complexType>
+    
+    <xs:complexType name="JMSMessageHeadersType">
+        <xs:annotation>
+            <xs:documentation>JMS header properties.</xs:documentation>
+        </xs:annotation>
+        <xs:sequence>
+            <xs:element name="property" type="jms:JMSPropertyType" minOccurs="0" maxOccurs="unbounded"/>
+        </xs:sequence>
+        <xs:attribute name="JMSCorrelationID" type="xs:string"/>
+        <xs:attribute name="JMSDeliveryMode" type="xs:int"/>
+        <xs:attribute name="JMSExpiration" type="xs:long"/>
+        <xs:attribute name="JMSMessageID" type="xs:string"/>
+        <xs:attribute name="JMSPriority" type="xs:int"/>
+        <xs:attribute name="JMSRedelivered" type="xs:boolean"/>
+        <xs:attribute name="JMSTimeStamp" type="xs:long"/>
+        <xs:attribute name="JMSType" type="xs:string"/>
+        <xs:attribute name="TimeToLive" type="xs:long"/>
+    </xs:complexType>
+    
+    <xs:simpleType name="JMSClientReceiveTimeOut">
+        <xs:restriction base="xs:long"/>
+    </xs:simpleType>
+    
+    <xs:simpleType name="DestinationStyleType">
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="queue"/>
+            <xs:enumeration value="topic"/>
+        </xs:restriction>
+    </xs:simpleType>
+   
+   <xs:complexType name="JMSNamingPropertyType">
+        <xs:annotation>
+            <xs:documentation>
+                javaNaming properties name/value pair.
+            </xs:documentation>
+        </xs:annotation>
+        
+        <xs:attribute name="name" type="xs:string" use="required">
+            <xs:annotation>
+                <xs:documentation>
+                    Name of Java Naming Property
+                </xs:documentation>
+            </xs:annotation>
+        </xs:attribute>
+        <xs:attribute name="value" type="xs:string" use="required">
+            <xs:annotation>
+                <xs:documentation>
+                    Value of Java Naming Property
+                </xs:documentation>
+            </xs:annotation>
+        </xs:attribute> 
+    </xs:complexType>
+    
+    <xs:simpleType name="MessageFormatType">
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="text"/>
+            <xs:enumeration value="binary"/>
+        </xs:restriction>
+    </xs:simpleType>
+    
+    <xs:complexType name="AddressType">
+        <xs:complexContent>
+            <xs:extension base="wsdl:tExtensibilityElement">
+                <xs:sequence>
+                    <xs:element name="JMSNamingProperty" type="jms:JMSNamingPropertyType" minOccurs="0" maxOccurs="unbounded" />
+                </xs:sequence>
+                <xs:attribute name="destinationStyle" type="jms:DestinationStyleType" default="queue">
+                    <xs:annotation>
+                        <xs:documentation>
+                          JMS Destination style queue or topic.
+                        </xs:documentation>
+                    </xs:annotation>
+                </xs:attribute>
+                <xs:attribute name="jndiConnectionFactoryName" type="xs:string" use="required">
+                    <xs:annotation>
+                        <xs:documentation>
+                          Type of the JNDI Connection factory queueConnectionFactory or topicConnectionFactory.
+                        </xs:documentation>
+                    </xs:annotation>
+                </xs:attribute>
+                <xs:attribute name="jndiDestinationName" type="xs:string" use="required">
+                    <xs:annotation>
+                        <xs:documentation>
+                          Name of the JNDI Destination queue or topic.
+                        </xs:documentation>
+                    </xs:annotation>
+                </xs:attribute>
+                <xs:attribute name="jndiReplyDestinationName" type="xs:string">
+                    <xs:annotation>
+                        <xs:documentation>
+                          JMS Message Replyto destination when static queues are used for reply.
+                        </xs:documentation>
+                    </xs:annotation>
+                </xs:attribute>
+                <xs:attribute name="connectionUserName" type="xs:string">
+                    <xs:annotation>
+                        <xs:documentation>
+                            UserName to use while creating JMS queue/topic connection.
+                        </xs:documentation>
+                    </xs:annotation>
+                </xs:attribute>
+                <xs:attribute name="connectionPassword" type="xs:string">
+                    <xs:annotation>
+                        <xs:documentation>
+                            Password to use while creating JMS queue/topic connection.
+                        </xs:documentation>
+                    </xs:annotation>
+                </xs:attribute>
+            </xs:extension>
+        </xs:complexContent>
+    </xs:complexType>
+    
+    <xs:complexType name="ClientBehaviorPolicyType">
+        <xs:complexContent>
+            <xs:extension base="wsdl:tExtensibilityElement">
+                <xs:attribute name="messageType" type="jms:MessageFormatType" default="text">
+                    <xs:annotation>
+                        <xs:documentation>Type of the JMS Message payload, currently supported text and binary.</xs:documentation>
+                    </xs:annotation>
+                </xs:attribute>
+            </xs:extension>
+        </xs:complexContent>
+    </xs:complexType>
+    
+    <xs:complexType name="ServerBehaviorPolicyType">
+        <xs:annotation>
+            <xs:documentation>JMS configuration policy for CXF Server.
+            These are used for configuring JMS port on CXF server side.
+            </xs:documentation>
+        </xs:annotation>
+        <xs:complexContent>
+            <xs:extension base="wsdl:tExtensibilityElement">
+                <xs:annotation>
+                    <xs:documentation>Sets selection criteria for messages received by server</xs:documentation>
+                </xs:annotation>
+                <xs:attribute name="messageSelector" type="xs:string">
+                    <xs:annotation>
+                        <xs:documentation>
+                          JMS Message Selector attribute to filter messages from the queue.
+                        </xs:documentation>
+                    </xs:annotation>
+                </xs:attribute>
+                <xs:attribute name="useMessageIDAsCorrelationID" type="xs:boolean" default="false">
+                    <xs:annotation>
+                        <xs:documentation>
+                          Flag to indicate whether to use JMS Message Id as correlation ID. It is serverside only so should go in ServerPolicy
+                        </xs:documentation>
+                    </xs:annotation>
+                </xs:attribute>
+                <xs:attribute name="transactional" type="xs:boolean" default="false">
+                    <xs:annotation>
+                        <xs:documentation>
+                          Flag to specify whether to use JMS transaction support on server side.
+                        </xs:documentation>
+                    </xs:annotation>
+                </xs:attribute>
+                <xs:attribute name="durableSubscriberName" type="xs:string">
+                    <xs:annotation>
+                        <xs:documentation>
+                           Specifies the name of the Durable Subscription
+                        </xs:documentation>
+                    </xs:annotation>
+                </xs:attribute>
+            </xs:extension>
+        </xs:complexContent>
+    </xs:complexType>
+    
+</xs:schema>

Propchange: incubator/cxf/trunk/tools2/common/src/main/resources/schemas/wsdl/jms.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools2/common/src/main/resources/schemas/wsdl/jms.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools2/common/src/main/resources/schemas/wsdl/jms.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/cxf/trunk/tools2/common/src/main/resources/schemas/wsdl/xml-binding.xjb
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools2/common/src/main/resources/schemas/wsdl/xml-binding.xjb?view=auto&rev=517607
==============================================================================
--- incubator/cxf/trunk/tools2/common/src/main/resources/schemas/wsdl/xml-binding.xjb (added)
+++ incubator/cxf/trunk/tools2/common/src/main/resources/schemas/wsdl/xml-binding.xjb Tue Mar 13 02:29:01 2007
@@ -0,0 +1,34 @@
+<?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.
+-->
+<jaxb:bindings version="1.0" 
+  xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" 
+  xmlns:xs="http://www.w3.org/2001/XMLSchema" 
+  xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" 
+  jaxb:extensionBindingPrefixes="xjc">
+    <jaxb:bindings schemaLocation="../../../../../../../common/schemas/src/main/resources/schemas/wsdl/wsdl.xsd" node="/xs:schema">
+        <jaxb:schemaBindings>
+            <jaxb:package name="org.apache.cxf.wsdl"/>
+        </jaxb:schemaBindings>
+        <jaxb:globalBindings generateIsSetMethod="true"/>
+    </jaxb:bindings>
+    <jaxb:bindings schemaLocation="../../../../../../../common/schemas/src/main/resources/schemas/wsdl/wsdl.xsd" node="/xs:schema/xs:complexType[@name='tExtensibilityElement']">
+        <jaxb:class implClass="org.apache.cxf.wsdl.TExtensibilityElementImpl"/>
+    </jaxb:bindings>
+</jaxb:bindings>

Added: incubator/cxf/trunk/tools2/common/src/main/resources/schemas/wsdl/xml-binding.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools2/common/src/main/resources/schemas/wsdl/xml-binding.xsd?view=auto&rev=517607
==============================================================================
--- incubator/cxf/trunk/tools2/common/src/main/resources/schemas/wsdl/xml-binding.xsd (added)
+++ incubator/cxf/trunk/tools2/common/src/main/resources/schemas/wsdl/xml-binding.xsd Tue Mar 13 02:29:01 2007
@@ -0,0 +1,52 @@
+<?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 xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	xmlns:xformat="http://cxf.apache.org/bindings/xformat"
+	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+	targetNamespace="http://cxf.apache.org/bindings/xformat"
+	elementFormDefault="qualified"
+	xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" jaxb:version="2.0">
+
+	<xs:import namespace="http://schemas.xmlsoap.org/wsdl/"
+		schemaLocation="../../../../../../../common/schemas/src/main/resources/schemas/wsdl/wsdl.xsd" />
+
+	<xs:complexType name="XMLBindingMessageFormat">
+		<xs:complexContent>
+			<xs:extension base="wsdl:tExtensibilityElement">
+				<xs:sequence />
+				<xs:attribute name="rootNode" type="xs:QName"
+					use="optional" />
+			</xs:extension>
+		</xs:complexContent>
+	</xs:complexType>
+
+	
+	<xs:complexType name="XMLFormatBinding">
+		<xs:complexContent>
+			<xs:extension base="wsdl:tExtensibilityElement">
+				<xs:sequence />
+			</xs:extension>
+		</xs:complexContent>
+	</xs:complexType>
+
+	<xs:element name="body" type="xformat:XMLBindingMessageFormat" />
+	<xs:element name="binding" type="xformat:XMLFormatBinding"/>
+
+</xs:schema>

Propchange: incubator/cxf/trunk/tools2/common/src/main/resources/schemas/wsdl/xml-binding.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools2/common/src/main/resources/schemas/wsdl/xml-binding.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools2/common/src/main/resources/schemas/wsdl/xml-binding.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml