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 2006/11/02 04:00:16 UTC
svn commit: r470210 [2/2] - in /incubator/cxf/trunk:
common/metacode/src/main/resources/schemas/wsdl/ tools/validator/
tools/validator/src/test/java/org/apache/cxf/tools/validator/
tools/wsdl2java/ tools/wsdl2java/src/test/java/org/apache/cxf/tools/wsd...
Added: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/http-conf.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/http-conf.xsd?view=auto&rev=470210
==============================================================================
--- incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/http-conf.xsd (added)
+++ incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/http-conf.xsd Wed Nov 1 19:00:15 2006
@@ -0,0 +1,412 @@
+<?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://cxf.apache.org/transports/http/configuration"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns:http-conf="http://cxf.apache.org/transports/http/configuration"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
+ jaxb:version="2.0">
+
+ <xs:import namespace="http://schemas.xmlsoap.org/wsdl/" schemaLocation="wsdl.xsd"/>
+
+ <xs:complexType name="HTTPServerPolicy">
+ <xs:annotation>
+ <xs:documentation>HTTP Server configuration properties.
+ Used for configuring a HTTP server port.
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:complexContent>
+ <xs:extension base="wsdl:tExtensibilityElement">
+
+ <xs:attribute name="ReceiveTimeout" type="xs:unsignedInt" use="optional" default="30000">
+ <xs:annotation>
+ <xs:documentation>
+ Receive timeout in milliseconds, 0 is infinite
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="SuppressClientSendErrors" type="xs:boolean" use="optional" default="false">
+ <xs:annotation>
+ <xs:documentation>
+ When set to no, exceptions will be thrown when an error is encountered
+ receiving a request from the client. When set to yes these errors will
+ be suppressed.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="SuppressClientReceiveErrors" type="xs:boolean" use="optional" default="false">
+ <xs:annotation>
+ <xs:documentation>
+ When set to No, exceptions will be thrown when an error is encountered
+ sending a reply from to client. When set to Yes these errors will be
+ suppressed.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="HonorKeepAlive" type="xs:boolean" use="optional" default="false">
+ <xs:annotation>
+ <xs:documentation>
+ When set to Yes, the request socket will remain open after the reply is
+ sent to the client, if the client has requested keep-alive and is using
+ at least version 1.1 of HTTP. If set to No, the socket will be closed
+ after each reply is sent, even if the client requests the server to keep
+ the connection alive. Keep-Alive improves performance for the client
+ requesting such behavior, but can limit overall scalability of the server
+ for handling many clients.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="RedirectURL" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation>
+ to redirect the client to another url (if the ReplyCode and ReplyDescription
+ are not set, ReplyCode will be set to 302, and ReplyDescription will be set
+ to 'Object Moved').
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="CacheControl" type="http-conf:serverCacheControlType" use="optional">
+ <xs:annotation>
+ <xs:documentation>
+ Most commonly used to specify no-cache, however the standard supports a
+ dozen or so caching related directives for responses
+ </xs:documentation>
+ </xs:annotation>
+
+ </xs:attribute>
+
+ <xs:attribute name="ContentLocation" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation>
+ to let the client know what the final url was for handling the
+ request (e.g., to inform that default.htm document was used.)
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="ContentType" type="xs:string" use="optional" default="text/xml">
+ <xs:annotation>
+ <xs:documentation>
+ what MIME type this reply is
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="ContentEncoding" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation>
+ how this is encoded, if applicable
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="ServerType" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation>
+ used to send a ServerType header to the client, if desired
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:element name="server" type="http-conf:HTTPServerPolicy"/>
+
+
+ <xs:complexType name="HTTPClientPolicy">
+ <xs:annotation>
+ <xs:documentation>HTTP client configuration properties.
+ Used for configuring a HTTP client port.
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:complexContent>
+ <xs:extension base="wsdl:tExtensibilityElement">
+
+ <xs:attribute name="ConnectionTimeout" type="xs:unsignedInt" use="optional" default="30000">
+ <xs:annotation>
+ <xs:documentation>
+ Send timeout in milliseconds, 0 is infinite
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="ReceiveTimeout" type="xs:unsignedInt" use="optional" default="30000">
+ <xs:annotation>
+ <xs:documentation>
+ Receive timeout in milliseconds, 0 is infinite
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="AutoRedirect" type="xs:boolean" use="optional" default="false">
+ <xs:annotation>
+ <xs:documentation>
+ Whether to automatically follow up when the server issues a redirection reply.
+ Default is No, so calling flow would handle this condition.
+ (name is not part of standard)
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="AllowChunking" type="xs:boolean" use="optional" default="true">
+ <xs:annotation>
+ <xs:documentation>
+ If true, the client is free to use chunking streams if it wants to, but not
+ required. Regular non-chunked requests are OK too. If false, the client
+ must use regular, non-chunked requests in all cases.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="Accept" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation>
+ What MIME types the client is prepared to handle (e.g., HTML, JPEG, GIF, etc.)
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="AcceptLanguage" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation>
+ What language the client desires (e.g., English, French, etc.)
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="AcceptEncoding" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation>
+ What encoding the client is prepared to handle (e.g., gzip)
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="ContentType" type="xs:string" use="optional" default="text/xml">
+ <xs:annotation>
+ <xs:documentation>
+ The content type of the stream being sent in a post request
+ (this should be text/xml for web services, or can be set to
+ application/x-www-form-urlencoded if the client is sending form data).
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="Host" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation>
+ what host the client intends (for virtual servers mapping to same IP)
+ This is sent by default based upon the URL. Certain DNS scenarios or
+ application designs may request you to set this, but typically it is
+ not required).
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="Connection" type="http-conf:connectionType" use="optional" default="close">
+ <xs:annotation>
+ <xs:documentation>
+ The connection disposition. If close the connection to the server is closed
+ after each request/response dialog; if Keep-Alive, the client requests the server
+ to keep the connection open, and if the server honors the keep alive request,
+ the connection is reused. Many servers and proxies do not honor these requests.
+ Default is close.
+
+ The server may choose not honor the keep alive request.
+ </xs:documentation>
+ </xs:annotation>
+
+ </xs:attribute>
+
+ <xs:attribute name="CacheControl" type="http-conf:clientCacheControlType" use="optional">
+ <xs:annotation>
+ <xs:documentation>
+ Most commonly used to specify no-cache, however the standard supports a
+ dozen or so caching related directives for requests
+ </xs:documentation>
+ </xs:annotation>
+
+ </xs:attribute>
+
+ <xs:attribute name="Cookie" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation>
+ The cookie to send to the server
+
+ some stateful session designs will use cookies to identify a session.
+ If the cookie is static, you can supply it here. If it is dynamic,
+ it will need to be set by the server on first access, and can be handled
+ automatically by the runtime
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="BrowserType" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation>
+ aka User-Agent
+
+ some servers will optimize based upon the client sending the request.
+
+ What to tell the server about what kind of browser we are (usually only
+ needed when sites have HTML customized to Netscape vs IE, etc, but can
+ also be used to optimize for different SOAP stacks.)
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="Referer" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation>
+ What URL referred us to this URL
+
+ sent automatically with auto redirect.
+
+ May allow the server to optimize processing based upon
+ previous task flow. However, typically not used in
+ web services applications.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="DecoupledEndpoint" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation>
+ Decoupled endpoint to accept incoming
+ asynchronous responses.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <!--Proxy server attributes-->
+ <xs:attribute name="ProxyServer" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation>
+ Address of proxy server, if used
+ (proxy servers are a special kind of firewall)
+ proxy.mycompany.com
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="ProxyServerPort" type="xs:int" use="optional">
+ <xs:annotation>
+ <xs:documentation>
+ Port number of proxy server.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="ProxyServerType" type="http-conf:proxyServerType" use="optional" default="HTTP">
+ <xs:annotation>
+ <xs:documentation>
+ Type of number of proxy server.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:element name="client" type="http-conf:HTTPClientPolicy"/>
+
+ <xs:complexType name="HTTPListenerPolicy">
+ <xs:sequence>
+ <xs:element name="MinThreads" type="xs:unsignedShort" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ Minumum threads waiting to service requests.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="MaxThreads" type="xs:unsignedShort" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ Maximum thread that will service requests.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="MaxIdleTimeMs" type="xs:unsignedInt" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ Time for an idle thread to wait for a request or read.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="LowResourcePersistTimeMs" type="xs:unsignedInt" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ Time in ms that connections will persist if listener is low on resources.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:element name="listener" type="http-conf:HTTPListenerPolicy"/>
+
+
+ <xs:simpleType name="serverCacheControlType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="no-cache"/>
+ <xs:enumeration value="public"/>
+ <xs:enumeration value="private"/>
+ <xs:enumeration value="no-store"/>
+ <xs:enumeration value="no-transform"/>
+ <xs:enumeration value="must-revalidate"/>
+ <xs:enumeration value="proxy-revalidate"/>
+ <xs:enumeration value="max-age"/>
+ <xs:enumeration value="s-max-age"/>
+ <xs:enumeration value="cache-extension"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="clientCacheControlType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="no-cache"/>
+ <xs:enumeration value="no-store"/>
+ <xs:enumeration value="max-age"/>
+ <xs:enumeration value="max-stale"/>
+ <xs:enumeration value="min-fresh"/>
+ <xs:enumeration value="no-transform"/>
+ <xs:enumeration value="only-if-cached"/>
+ <xs:enumeration value="cache-extension"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="connectionType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="close"/>
+ <xs:enumeration value="Keep-Alive"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:simpleType name="proxyServerType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="HTTP"/>
+ <xs:enumeration value="SOCKS"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:schema>
Propchange: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/http-conf.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/http-conf.xsd
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/http-conf.xsd
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/jms-context.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/jms-context.xsd?view=auto&rev=470210
==============================================================================
--- incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/jms-context.xsd (added)
+++ incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/jms-context.xsd Wed Nov 1 19:00:15 2006
@@ -0,0 +1,93 @@
+<?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://cxf.apache.org/transports/jms/context"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns:jms-context="http://cxf.apache.org/transports/jms/context"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified">
+
+ <xs:complexType name="JMSHeadersType">
+ <xs:annotation>
+ <xs:documentation>JMS header properties.</xs:documentation>
+ </xs:annotation>
+
+ <xs:sequence>
+ <xs:element name="property" type="jms-context: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:complexType name="JMSServerHeadersType">
+ <xs:annotation>
+ <xs:documentation>JMS header properties.</xs:documentation>
+ </xs:annotation>
+
+ <xs:complexContent>
+ <xs:extension base="jms-context:JMSHeadersType">
+ <xs:attribute name="commitMessage" type="xs:boolean" default="false" />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="JMSClientHeadersType">
+ <xs:annotation>
+ <xs:documentation>JMS header properties.</xs:documentation>
+ </xs:annotation>
+
+ <xs:complexContent>
+ <xs:extension base="jms-context:JMSHeadersType">
+ <xs:attribute name="TimeOut" type="xs:long"/>
+ </xs:extension>
+ </xs:complexContent>
+ </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="JMSConnectionSecurityInfoType">
+ <xs:annotation>
+ <xs:documentation>Contains username/password sometimes required when establishing a connection.</xs:documentation>
+ </xs:annotation>
+
+ <xs:sequence>
+ <xs:element name="username" type="xs:string" />
+ <xs:element name="password" type="xs:string" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:element name="JMSHeaders" type="jms-context:JMSHeadersType"/>
+ <xs:element name="JMSClientHeaders" type="jms-context:JMSClientHeadersType"/>
+ <xs:element name="JMSServerHeaders" type="jms-context:JMSServerHeadersType"/>
+ <xs:element name="JMSConnectionSecurityInfo" type="jms-context:JMSConnectionSecurityInfoType"/>
+
+</xs:schema>
Propchange: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/jms-context.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/jms-context.xsd
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/jms-context.xsd
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/jms.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/jms.xsd?view=auto&rev=470210
==============================================================================
--- incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/jms.xsd (added)
+++ incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/jms.xsd Wed Nov 1 19:00:15 2006
@@ -0,0 +1,169 @@
+<?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="wsdl.xsd"/>
+ <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="JMSAddressPolicyType">
+ <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="JMSClientBehaviorPolicyType">
+ <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="JMSServerBehaviorPolicyType">
+ <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:element name="address" type="jms:JMSAddressPolicyType"/>
+ <xs:element name="client" type="jms:JMSClientBehaviorPolicyType"/>
+ <xs:element name="server" type="jms:JMSServerBehaviorPolicyType"/>
+</xs:schema>
Propchange: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/jms.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/jms.xsd
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/jms.xsd
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/mime-binding.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/mime-binding.xsd?view=auto&rev=470210
==============================================================================
--- incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/mime-binding.xsd (added)
+++ incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/mime-binding.xsd Wed Nov 1 19:00:15 2006
@@ -0,0 +1,62 @@
+<?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.
+-->
+ <schema targetNamespace="http://schemas.xmlsoap.org/wsdl/mime/"
+ xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified" >
+
+ <import namespace = "http://schemas.xmlsoap.org/wsdl/"/>
+ <element name="content" type="mime:contentType"/>
+ <complexType name="contentType">
+ <complexContent>
+ <extension base="wsdl:tExtensibilityElement">
+ <sequence/>
+ <attribute name="type" type="string" use="optional"/>
+ <attribute name="part" type="NMTOKEN" use="optional"/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <element name="multipartRelated" type="mime:multipartRelatedType"/>
+ <complexType name="multipartRelatedType">
+ <complexContent>
+ <extension base="wsdl:tExtensibilityElement">
+ <sequence>
+ <element name = "part" type = "mime:tPart" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <complexType name="tPart">
+ <sequence>
+ <any namespace="http://schemas.xmlsoap.org/wsdl/mime/ http://schemas.xmlsoap.org/wsdl/soap/" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="name" type="NMTOKEN" use="required"/>
+ </complexType>
+ <element name="mimeXml" type = "mime:tMimeXml"/>
+ <complexType name="tMimeXml">
+ <complexContent>
+ <extension base="wsdl:tExtensibilityElement">
+ <sequence/>
+ <attribute name="part" type="NMTOKEN" use="optional"/>
+ </extension>
+ </complexContent>
+ </complexType>
+</schema>
Propchange: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/mime-binding.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/mime-binding.xsd
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/mime-binding.xsd
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/soap-binding.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/soap-binding.xsd?view=auto&rev=470210
==============================================================================
--- incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/soap-binding.xsd (added)
+++ incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/soap-binding.xsd Wed Nov 1 19:00:15 2006
@@ -0,0 +1,139 @@
+<?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:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ targetNamespace="http://schemas.xmlsoap.org/wsdl/soap/"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified">
+
+ <xs:import namespace = "http://schemas.xmlsoap.org/wsdl/"/>
+
+ <xs:simpleType name="encodingStyle" >
+ <xs:annotation>
+ <xs:documentation>
+ "encodingStyle" indicates any canonicalization conventions followed in the contents of the containing element. For example, the value "http://schemas.xmlsoap.org/soap/encoding/" indicates the pattern described in SOAP specification
+ </xs:documentation>
+ </xs:annotation>
+ <xs:list itemType="xs:anyURI" />
+ </xs:simpleType>
+
+ <xs:element name="binding" type="soap:tBinding" />
+ <xs:complexType name="tBinding" >
+ <xs:complexContent>
+ <xs:extension base="wsdl:tExtensibilityElement" >
+ <xs:attribute name="transport" type="xs:anyURI" use="required" />
+ <xs:attribute name="style" type="soap:tStyleChoice" use="optional" />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:simpleType name="tStyleChoice" >
+ <xs:restriction base="xs:string" >
+ <xs:enumeration value="rpc" />
+ <xs:enumeration value="document" />
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:element name="operation" type="soap:tOperation" />
+ <xs:complexType name="tOperation" >
+ <xs:complexContent>
+ <xs:extension base="wsdl:tExtensibilityElement" >
+ <xs:attribute name="soapAction" type="xs:anyURI" use="optional" />
+ <xs:attribute name="style" type="soap:tStyleChoice" use="optional" />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:element name="body" type="soap:tBody" />
+ <xs:attributeGroup name="tBodyAttributes" >
+ <xs:attribute name="encodingStyle" type="soap:encodingStyle" use="optional" />
+ <xs:attribute name="use" type="soap:useChoice" use="optional" />
+ <xs:attribute name="namespace" type="xs:anyURI" use="optional" />
+ </xs:attributeGroup>
+ <xs:complexType name="tBody" >
+ <xs:complexContent>
+ <xs:extension base="wsdl:tExtensibilityElement" >
+ <xs:attribute name="parts" type="xs:NMTOKENS" use="optional" />
+ <xs:attributeGroup ref = "soap:tBodyAttributes" />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:simpleType name="useChoice" >
+ <xs:restriction base="xs:string" >
+ <xs:enumeration value="literal" />
+ <xs:enumeration value="encoded" />
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:element name="fault" type="soap:tFault" />
+ <xs:complexType name="tFaultRes" abstract="true" >
+ <xs:complexContent>
+ <xs:restriction base="soap:tBody" >
+ <xs:attribute ref="wsdl:required" use="optional" />
+ <xs:attribute name="parts" type="xs:NMTOKENS" use="prohibited" />
+ <xs:attributeGroup ref="soap:tBodyAttributes" />
+ </xs:restriction>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="tFault" >
+ <xs:complexContent>
+ <xs:extension base="soap:tFaultRes">
+ <xs:attribute name="name" type="xs:NCName" use="required" />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+ <xs:element name="header" type="soap:tHeader" />
+ <xs:attributeGroup name="tHeaderAttributes" >
+ <xs:attribute name="message" type="xs:QName" use="required" />
+ <xs:attribute name="part" type="xs:NMTOKEN" use="required" />
+ <xs:attribute name="use" type="soap:useChoice" use="required" />
+ <xs:attribute name="encodingStyle" type="soap:encodingStyle" use="optional" />
+ <xs:attribute name="namespace" type="xs:anyURI" use="optional" />
+ </xs:attributeGroup>
+ <xs:complexType name="tHeader" >
+ <xs:complexContent>
+ <xs:extension base="wsdl:tExtensibilityElement" >
+ <xs:sequence>
+ <xs:element ref="soap:headerfault" minOccurs="0" maxOccurs="unbounded" />
+ </xs:sequence>
+ <xs:attributeGroup ref="soap:tHeaderAttributes" />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:element name="headerfault" type="soap:tHeaderFault" />
+ <xs:complexType name="tHeaderFault" >
+ <xs:attributeGroup ref="soap:tHeaderAttributes" />
+ </xs:complexType>
+
+ <xs:element name="address" type="soap:tAddress" />
+ <xs:complexType name="tAddress" >
+ <xs:complexContent>
+ <xs:extension base="wsdl:tExtensibilityElement" >
+ <xs:attribute name="location" type="xs:anyURI" use="required" />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+</xs:schema>
Propchange: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/soap-binding.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/soap-binding.xsd
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/soap-binding.xsd
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/soap-encoding.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/soap-encoding.xsd?view=auto&rev=470210
==============================================================================
--- incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/soap-encoding.xsd (added)
+++ incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/soap-encoding.xsd Wed Nov 1 19:00:15 2006
@@ -0,0 +1,554 @@
+<?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.
+-->
+
+<!-- Schema for the SOAP/1.1 encoding
+
+ This schema has been produced using W3C's SOAP Version 1.2 schema
+ found at:
+
+ http://www.w3.org/2001/06/soap-encoding
+
+ Copyright 2001 Martin Gudgin, Developmentor.
+ http://www.develop.co.uk
+
+ Changes made are the following:
+ - reverted namespace to http://schemas.xmlsoap.org/soap/encoding/
+ - reverted root to only allow 0 and 1 as lexical values
+
+ Further changes:
+
+ - removed default value from root attribute declaration - 20030314
+
+ Original copyright:
+
+ Copyright 2001 W3C (Massachusetts Institute of Technology,
+ Institut National de Recherche en Informatique et en Automatique,
+ Keio University). All Rights Reserved.
+ 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://schemas.xmlsoap.org/soap/encoding/"
+ targetNamespace="http://schemas.xmlsoap.org/soap/encoding/" >
+
+ <xs:attribute name="root" >
+ <xs:annotation>
+ <xs:documentation>
+ 'root' can be used to distinguish serialization roots from other
+ elements that are present in a serialization but are not roots of
+ a serialized value graph
+ </xs:documentation>
+ </xs:annotation>
+ <xs:simpleType>
+ <xs:restriction base='xs:boolean'>
+ <xs:pattern value='0|1' />
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+
+ <xs:attributeGroup name="commonAttributes" >
+ <xs:annotation>
+ <xs:documentation>
+ Attributes common to all elements that function as accessors or
+ represent independent (multi-ref) values. The href attribute is
+ intended to be used in a manner like CONREF. That is, the element
+ content should be empty iff the href attribute appears
+ </xs:documentation>
+ </xs:annotation>
+ <xs:attribute name="id" type="xs:ID" />
+ <xs:attribute name="href" type="xs:anyURI" />
+ <xs:anyAttribute namespace="##other" processContents="lax" />
+ </xs:attributeGroup>
+
+ <!-- Global Attributes. The following attributes are intended to be usable via qualified attribute names on any complex type referencing them. -->
+
+ <!-- Array attributes. Needed to give the type and dimensions of an array's contents, and the offset for partially-transmitted arrays. -->
+
+ <xs:simpleType name="arrayCoordinate" >
+ <xs:restriction base="xs:string" />
+ </xs:simpleType>
+
+ <xs:attribute name="arrayType" type="xs:string" />
+ <xs:attribute name="offset" type="tns:arrayCoordinate" />
+
+ <xs:attributeGroup name="arrayAttributes" >
+ <xs:attribute ref="tns:arrayType" />
+ <xs:attribute ref="tns:offset" />
+ </xs:attributeGroup>
+
+ <xs:attribute name="position" type="tns:arrayCoordinate" />
+
+ <xs:attributeGroup name="arrayMemberAttributes" >
+ <xs:attribute ref="tns:position" />
+ </xs:attributeGroup>
+
+ <xs:group name="Array" >
+ <xs:sequence>
+ <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax" />
+ </xs:sequence>
+ </xs:group>
+
+ <xs:element name="Array" type="tns:Array" />
+ <xs:complexType name="Array" >
+ <xs:annotation>
+ <xs:documentation>
+ 'Array' is a complex type for accessors identified by position
+ </xs:documentation>
+ </xs:annotation>
+ <xs:group ref="tns:Array" minOccurs="0" />
+ <xs:attributeGroup ref="tns:arrayAttributes" />
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:complexType>
+
+ <!-- 'Struct' is a complex type for accessors identified by name.
+ Constraint: No element may be have the same name as any other,
+ nor may any element have a maxOccurs > 1. -->
+
+ <xs:element name="Struct" type="tns:Struct" />
+
+ <xs:group name="Struct" >
+ <xs:sequence>
+ <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax" />
+ </xs:sequence>
+ </xs:group>
+
+ <xs:complexType name="Struct" >
+ <xs:group ref="tns:Struct" minOccurs="0" />
+ <xs:attributeGroup ref="tns:commonAttributes"/>
+ </xs:complexType>
+
+ <!-- 'Base64' can be used to serialize binary data using base64 encoding
+ as defined in RFC2045 but without the MIME line length limitation. -->
+
+ <xs:simpleType name="base64" >
+ <xs:restriction base="xs:base64Binary" />
+ </xs:simpleType>
+
+ <!-- Element declarations corresponding to each of the simple types in the
+ XML Schemas Specification. -->
+
+ <xs:element name="duration" type="tns:duration" />
+ <xs:complexType name="duration" >
+ <xs:simpleContent>
+ <xs:extension base="xs:duration" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="dateTime" type="tns:dateTime" />
+ <xs:complexType name="dateTime" >
+ <xs:simpleContent>
+ <xs:extension base="xs:dateTime" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+
+
+ <xs:element name="NOTATION" type="tns:NOTATION" />
+ <xs:complexType name="NOTATION" >
+ <xs:simpleContent>
+ <xs:extension base="xs:QName" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+
+ <xs:element name="time" type="tns:time" />
+ <xs:complexType name="time" >
+ <xs:simpleContent>
+ <xs:extension base="xs:time" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="date" type="tns:date" />
+ <xs:complexType name="date" >
+ <xs:simpleContent>
+ <xs:extension base="xs:date" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="gYearMonth" type="tns:gYearMonth" />
+ <xs:complexType name="gYearMonth" >
+ <xs:simpleContent>
+ <xs:extension base="xs:gYearMonth" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="gYear" type="tns:gYear" />
+ <xs:complexType name="gYear" >
+ <xs:simpleContent>
+ <xs:extension base="xs:gYear" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="gMonthDay" type="tns:gMonthDay" />
+ <xs:complexType name="gMonthDay" >
+ <xs:simpleContent>
+ <xs:extension base="xs:gMonthDay" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="gDay" type="tns:gDay" />
+ <xs:complexType name="gDay" >
+ <xs:simpleContent>
+ <xs:extension base="xs:gDay" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="gMonth" type="tns:gMonth" />
+ <xs:complexType name="gMonth" >
+ <xs:simpleContent>
+ <xs:extension base="xs:gMonth" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="boolean" type="tns:boolean" />
+ <xs:complexType name="boolean" >
+ <xs:simpleContent>
+ <xs:extension base="xs:boolean" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="base64Binary" type="tns:base64Binary" />
+ <xs:complexType name="base64Binary" >
+ <xs:simpleContent>
+ <xs:extension base="xs:base64Binary" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="hexBinary" type="tns:hexBinary" />
+ <xs:complexType name="hexBinary" >
+ <xs:simpleContent>
+ <xs:extension base="xs:hexBinary" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="float" type="tns:float" />
+ <xs:complexType name="float" >
+ <xs:simpleContent>
+ <xs:extension base="xs:float" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="double" type="tns:double" />
+ <xs:complexType name="double" >
+ <xs:simpleContent>
+ <xs:extension base="xs:double" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="anyURI" type="tns:anyURI" />
+ <xs:complexType name="anyURI" >
+ <xs:simpleContent>
+ <xs:extension base="xs:anyURI" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="QName" type="tns:QName" />
+ <xs:complexType name="QName" >
+ <xs:simpleContent>
+ <xs:extension base="xs:QName" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+
+ <xs:element name="string" type="tns:string" />
+ <xs:complexType name="string" >
+ <xs:simpleContent>
+ <xs:extension base="xs:string" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="normalizedString" type="tns:normalizedString" />
+ <xs:complexType name="normalizedString" >
+ <xs:simpleContent>
+ <xs:extension base="xs:normalizedString" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="token" type="tns:token" />
+ <xs:complexType name="token" >
+ <xs:simpleContent>
+ <xs:extension base="xs:token" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="language" type="tns:language" />
+ <xs:complexType name="language" >
+ <xs:simpleContent>
+ <xs:extension base="xs:language" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="Name" type="tns:Name" />
+ <xs:complexType name="Name" >
+ <xs:simpleContent>
+ <xs:extension base="xs:Name" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="NMTOKEN" type="tns:NMTOKEN" />
+ <xs:complexType name="NMTOKEN" >
+ <xs:simpleContent>
+ <xs:extension base="xs:NMTOKEN" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="NCName" type="tns:NCName" />
+ <xs:complexType name="NCName" >
+ <xs:simpleContent>
+ <xs:extension base="xs:NCName" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="NMTOKENS" type="tns:NMTOKENS" />
+ <xs:complexType name="NMTOKENS" >
+ <xs:simpleContent>
+ <xs:extension base="xs:NMTOKENS" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="ID" type="tns:ID" />
+ <xs:complexType name="ID" >
+ <xs:simpleContent>
+ <xs:extension base="xs:ID" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="IDREF" type="tns:IDREF" />
+ <xs:complexType name="IDREF" >
+ <xs:simpleContent>
+ <xs:extension base="xs:IDREF" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="ENTITY" type="tns:ENTITY" />
+ <xs:complexType name="ENTITY" >
+ <xs:simpleContent>
+ <xs:extension base="xs:ENTITY" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="IDREFS" type="tns:IDREFS" />
+ <xs:complexType name="IDREFS" >
+ <xs:simpleContent>
+ <xs:extension base="xs:IDREFS" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="ENTITIES" type="tns:ENTITIES" />
+ <xs:complexType name="ENTITIES" >
+ <xs:simpleContent>
+ <xs:extension base="xs:ENTITIES" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="decimal" type="tns:decimal" />
+ <xs:complexType name="decimal" >
+ <xs:simpleContent>
+ <xs:extension base="xs:decimal" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="integer" type="tns:integer" />
+ <xs:complexType name="integer" >
+ <xs:simpleContent>
+ <xs:extension base="xs:integer" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="nonPositiveInteger" type="tns:nonPositiveInteger" />
+ <xs:complexType name="nonPositiveInteger" >
+ <xs:simpleContent>
+ <xs:extension base="xs:nonPositiveInteger" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="negativeInteger" type="tns:negativeInteger" />
+ <xs:complexType name="negativeInteger" >
+ <xs:simpleContent>
+ <xs:extension base="xs:negativeInteger" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="long" type="tns:long" />
+ <xs:complexType name="long" >
+ <xs:simpleContent>
+ <xs:extension base="xs:long" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="int" type="tns:int" />
+ <xs:complexType name="int" >
+ <xs:simpleContent>
+ <xs:extension base="xs:int" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="short" type="tns:short" />
+ <xs:complexType name="short" >
+ <xs:simpleContent>
+ <xs:extension base="xs:short" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="byte" type="tns:byte" />
+ <xs:complexType name="byte" >
+ <xs:simpleContent>
+ <xs:extension base="xs:byte" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="nonNegativeInteger" type="tns:nonNegativeInteger" />
+ <xs:complexType name="nonNegativeInteger" >
+ <xs:simpleContent>
+ <xs:extension base="xs:nonNegativeInteger" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="unsignedLong" type="tns:unsignedLong" />
+ <xs:complexType name="unsignedLong" >
+ <xs:simpleContent>
+ <xs:extension base="xs:unsignedLong" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="unsignedInt" type="tns:unsignedInt" />
+ <xs:complexType name="unsignedInt" >
+ <xs:simpleContent>
+ <xs:extension base="xs:unsignedInt" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="unsignedShort" type="tns:unsignedShort" />
+ <xs:complexType name="unsignedShort" >
+ <xs:simpleContent>
+ <xs:extension base="xs:unsignedShort" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="unsignedByte" type="tns:unsignedByte" />
+ <xs:complexType name="unsignedByte" >
+ <xs:simpleContent>
+ <xs:extension base="xs:unsignedByte" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="positiveInteger" type="tns:positiveInteger" />
+ <xs:complexType name="positiveInteger" >
+ <xs:simpleContent>
+ <xs:extension base="xs:positiveInteger" >
+ <xs:attributeGroup ref="tns:commonAttributes" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="anyType" />
+</xs:schema>
+
Propchange: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/soap-encoding.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/soap-encoding.xsd
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/soap-encoding.xsd
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/wsrm.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/wsrm.xsd?view=auto&rev=470210
==============================================================================
--- incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/wsrm.xsd (added)
+++ incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/wsrm.xsd Wed Nov 1 19:00:15 2006
@@ -0,0 +1,196 @@
+<?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.
+-->
+<!--
+
+Copyright Notice
+(c) 2002-2005 BEA Systems, IBM, Microsoft Corporation, Inc, and
+TIBCO Software Inc.. All rights reserved.
+
+Permission to copy and display the Web Services Reliable Messaging Protocol
+Specification (the 'Specification', which includes WSDL and schema documents),
+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 one of the Authors' websites
+2. The copyright notice as shown in the Specification.
+
+BEA Systems, IBM, Microsoft and TIBCO Software (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 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 SPECIFICATION.
+
+The name and trademarks of the Authors may NOT be used in any manner, including
+advertising or publicity pertaining to the Specification or its contents
+without specific, written prior permission. Title to copyright in the
+Specification 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/2005/02/rm" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm" elementFormDefault="qualified" attributeFormDefault="unqualified">
+ <xs:import namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing" schemaLocation="addressing.xsd"/>
+ <!-- Protocol Elements -->
+ <xs:complexType name="SequenceType">
+ <xs:sequence>
+ <xs:element ref="wsrm:Identifier"/>
+ <xs:element name="MessageNumber" type="xs:unsignedLong"/>
+ <xs:element name="LastMessage" minOccurs="0">
+ <xs:complexType>
+ <xs:sequence/>
+ </xs:complexType>
+ </xs:element>
+ <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:complexType>
+ <xs:element name="Sequence" type="wsrm:SequenceType"/>
+ <xs:element name="SequenceAcknowledgement">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="wsrm:Identifier"/>
+ <xs:choice>
+ <xs:element name="AcknowledgementRange" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence/>
+ <xs:attribute name="Upper" type="xs:unsignedLong" use="required"/>
+ <xs:attribute name="Lower" type="xs:unsignedLong" use="required"/>
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="Nack" type="xs:unsignedLong" maxOccurs="unbounded"/>
+ </xs:choice>
+ <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:complexType name="AckRequestedType">
+ <xs:sequence>
+ <xs:element ref="wsrm:Identifier"/>
+ <xs:element name="MaxMessageNumberUsed" type="xs:unsignedLong" minOccurs="0"/>
+ <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:complexType>
+ <xs:element name="AckRequested" type="wsrm:AckRequestedType"/>
+ <xs:element name="Identifier">
+ <xs:complexType>
+ <xs:annotation>
+ <xs:documentation>
+This type is for elements whose [children] is an anyURI and can have arbitrary attributes.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:simpleContent>
+ <xs:extension base="xs:anyURI">
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
+ <!-- Fault Container and Codes -->
+ <xs:simpleType name="FaultCodes">
+ <xs:restriction base="xs:QName">
+ <xs:enumeration value="wsrm:UnknownSequence"/>
+ <xs:enumeration value="wsrm:SequenceTerminated"/>
+ <xs:enumeration value="wsrm:InvalidAcknowledgement"/>
+ <xs:enumeration value="wsrm:MessageNumberRollover"/>
+ <xs:enumeration value="wsrm:CreateSequenceRefused"/>
+ <xs:enumeration value="wsrm:LastMessageNumberExceeded"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:complexType name="SequenceFaultType">
+ <xs:sequence>
+ <xs:element name="FaultCode" type="xs:QName"/>
+ <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:anyAttribute namespace="##any" processContents="lax"/>
+ </xs:complexType>
+ <xs:element name="SequenceFault" type="wsrm:SequenceFaultType"/>
+ <xs:element name="CreateSequence" type="wsrm:CreateSequenceType"/>
+ <xs:element name="CreateSequenceResponse" type="wsrm:CreateSequenceResponseType"/>
+ <xs:element name="TerminateSequence" type="wsrm:TerminateSequenceType"/>
+ <xs:complexType name="CreateSequenceType">
+ <xs:sequence>
+ <xs:element ref="wsrm:AcksTo"/>
+ <xs:element ref="wsrm:Expires" minOccurs="0"/>
+ <xs:element name="Offer" type="wsrm:OfferType" minOccurs="0"/>
+ <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+It is the authors intent that this extensibility be used to transfer a Security Token Reference as defined in WS-Security.
+</xs:documentation>
+ </xs:annotation>
+ </xs:any>
+ </xs:sequence>
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:complexType>
+ <xs:complexType name="CreateSequenceResponseType">
+ <xs:sequence>
+ <xs:element ref="wsrm:Identifier"/>
+ <xs:element ref="wsrm:Expires" minOccurs="0"/>
+ <xs:element name="Accept" type="wsrm:AcceptType" minOccurs="0"/>
+ <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:complexType>
+ <xs:complexType name="TerminateSequenceType">
+ <xs:sequence>
+ <xs:element ref="wsrm:Identifier"/>
+ <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:complexType>
+ <xs:element name="AcksTo" type="wsa:EndpointReferenceType"/>
+ <xs:complexType name="OfferType">
+ <xs:sequence>
+ <xs:element ref="wsrm:Identifier"/>
+ <xs:element ref="wsrm:Expires" minOccurs="0"/>
+ <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:complexType>
+ <xs:complexType name="AcceptType">
+ <xs:sequence>
+ <xs:element ref="wsrm:AcksTo"/>
+ <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:complexType>
+ <xs:element name="Expires">
+ <xs:complexType>
+ <xs:simpleContent>
+ <xs:extension base="xs:duration">
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
\ No newline at end of file
Propchange: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/wsrm.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/wsrm.xsd
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/wsrm.xsd
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/xml-binding.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/xml-binding.xsd?view=auto&rev=470210
==============================================================================
--- incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/xml-binding.xsd (added)
+++ incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/xml-binding.xsd Wed Nov 1 19:00:15 2006
@@ -0,0 +1,47 @@
+<?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:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ targetNamespace="http://cxf.apache.org/bindings/xmlformat"
+ xmlns:xformat="http://cxf.apache.org/bindings/xmlformat"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified">
+
+ <xs:import namespace = "http://schemas.xmlsoap.org/wsdl/"/>
+
+ <xs:element name="binding" type="xformat:tBinding" />
+ <xs:complexType name="tBinding" >
+ <xs:complexContent>
+ <xs:extension base="wsdl:tExtensibilityElement" >
+ <xs:attribute name="rootNode" type="xs:QName" use="optional" />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:element name="body" type="xformat:tBody" />
+ <xs:complexType name="tBody" >
+ <xs:complexContent>
+ <xs:extension base="wsdl:tExtensibilityElement" >
+ <xs:attribute name="rootNode" type="xs:QName" use="optional" />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+</xs:schema>
Propchange: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/xml-binding.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/xml-binding.xsd
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/xml-binding.xsd
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/xml.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/xml.xsd?view=auto&rev=470210
==============================================================================
--- incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/xml.xsd (added)
+++ incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/xml.xsd Wed Nov 1 19:00:15 2006
@@ -0,0 +1,62 @@
+<?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:annotation>
+ <xs:documentation>This schema defines attributes and an attribute group
+ suitable for use by
+ schemas wishing to allow xml:lang or xml:space attributes
+ on elements they define.
+
+ To enable this, such a schema must import this schema
+ for the XML namespace, e.g. as follows:
+ <schema . . .>
+ . . .
+ <import namespace="http://www.w3.org/XML/1998/namespace"
+ schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>
+
+ Subsequently, qualified reference to either of the attributes
+ or the group defined below will have the desired effect, e.g.
+
+ <type . . .>
+ . . .
+ <attributeGroup ref="xml:specialAttrs"/>
+
+ will define a type which will schema-validate a instance
+ element with both xml:space and xml:lang attribute</xs:documentation>
+ </xs:annotation>
+ <xs:attribute name="lang" type="xs:language">
+ <xs:annotation>
+ <xs:documentation>In due course, we should install the relevant ISO 2- and 3-letter
+ codes as the enumerated possible values . . .</xs:documentation>
+ </xs:annotation>
+ </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:attributeGroup name="specialAttrs">
+ <xs:attribute ref="xml:lang"/>
+ <xs:attribute ref="xml:space"/>
+ </xs:attributeGroup>
+</xs:schema>
Propchange: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/xml.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/xml.xsd
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/common/metacode/src/main/resources/schemas/wsdl/xml.xsd
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: incubator/cxf/trunk/tools/validator/pom.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/validator/pom.xml?view=diff&rev=470210&r1=470209&r2=470210
==============================================================================
--- incubator/cxf/trunk/tools/validator/pom.xml (original)
+++ incubator/cxf/trunk/tools/validator/pom.xml Wed Nov 1 19:00:15 2006
@@ -35,6 +35,22 @@
<properties>
<topDirectoryLocation>../../</topDirectoryLocation>
</properties>
+
+ <build>
+ <testResources>
+ <testResource>
+ <directory>src/test/resources</directory>
+ <includes>
+ <include>**</include>
+ </includes>
+ </testResource>
+
+ <testResource>
+ <directory>./${topDirectoryLocation}common/metacode/src/main/resources/</directory>
+ </testResource>
+
+ </testResources>
+ </build>
<dependencies>
@@ -93,6 +109,11 @@
<groupId>woodstox</groupId>
<artifactId>wstx-asl</artifactId>
<scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-common-utilities</artifactId>
+ <version>${project.version}</version>
</dependency>
</dependencies>
</project>
Modified: incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/WSDLValidationTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/WSDLValidationTest.java?view=diff&rev=470210&r1=470209&r2=470210
==============================================================================
--- incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/WSDLValidationTest.java (original)
+++ incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/WSDLValidationTest.java Wed Nov 1 19:00:15 2006
@@ -31,7 +31,7 @@
public void setUp() {
super.setUp();
try {
- schemaDir = getLocation("/validator_schemas");
+ schemaDir = getLocation("/schemas/wsdl");
} catch (IOException ex) {
ex.printStackTrace();
}
Modified: incubator/cxf/trunk/tools/wsdl2java/pom.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdl2java/pom.xml?view=diff&rev=470210&r1=470209&r2=470210
==============================================================================
--- incubator/cxf/trunk/tools/wsdl2java/pom.xml (original)
+++ incubator/cxf/trunk/tools/wsdl2java/pom.xml Wed Nov 1 19:00:15 2006
@@ -98,5 +98,12 @@
<artifactId>wstx-asl</artifactId>
<scope>runtime</scope>
</dependency>
+
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-common-utilities</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
</dependencies>
</project>
Modified: incubator/cxf/trunk/tools/wsdl2java/src/test/java/org/apache/cxf/tools/wsdl2java/processor/WSDLToJavaXMLFormatTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdl2java/src/test/java/org/apache/cxf/tools/wsdl2java/processor/WSDLToJavaXMLFormatTest.java?view=diff&rev=470210&r1=470209&r2=470210
==============================================================================
--- incubator/cxf/trunk/tools/wsdl2java/src/test/java/org/apache/cxf/tools/wsdl2java/processor/WSDLToJavaXMLFormatTest.java (original)
+++ incubator/cxf/trunk/tools/wsdl2java/src/test/java/org/apache/cxf/tools/wsdl2java/processor/WSDLToJavaXMLFormatTest.java Wed Nov 1 19:00:15 2006
@@ -19,6 +19,12 @@
package org.apache.cxf.tools.wsdl2java.processor;
+import java.io.File;
+import java.io.IOException;
+import java.net.URL;
+import java.util.Enumeration;
+
+import org.apache.cxf.common.logging.LogUtils;
import org.apache.cxf.tools.common.ProcessorTestBase;
import org.apache.cxf.tools.common.ToolConstants;
import org.apache.cxf.tools.common.ToolException;
@@ -36,7 +42,7 @@
env.put(ToolConstants.CFG_OUTPUTDIR, output.getCanonicalPath());
env.put(ToolConstants.CFG_WSDLURL, getLocation("/wsdl2java_wsdl/xml_format_fail.wsdl"));
env.put(ToolConstants.CFG_VALIDATE_WSDL, ToolConstants.CFG_VALIDATE_WSDL);
- System.setProperty(ToolConstants.CXF_SCHEMA_DIR, getLocation("/wsdl2java_schemas"));
+ System.setProperty(ToolConstants.CXF_SCHEMA_DIR, getSchemaLocation("/schemas/wsdl"));
processor.setEnvironment(env);
try {
processor.process();
@@ -59,4 +65,19 @@
private String getLocation(String wsdlFile) {
return WSDLToJavaXMLFormatTest.class.getResource(wsdlFile).getFile();
}
+
+ private String getSchemaLocation(String schemaDir) throws IOException {
+ Enumeration<URL> e = LogUtils.class.getClassLoader().getResources(schemaDir);
+
+ while (e.hasMoreElements()) {
+ URL u = e.nextElement();
+ File f = new File(u.getFile());
+ if (f.exists() && f.isDirectory()) {
+ return f.toString();
+ }
+ }
+
+ return LogUtils.class.getResource(schemaDir).getFile();
+ }
+
}