You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ch...@apache.org on 2006/02/21 13:42:30 UTC
svn commit: r379438 - in
/webservices/axis2/trunk/java/xdocs/latest/resources: ./ schemas/
schemas/module.xsd schemas/services.xsd
Author: chinthaka
Date: Tue Feb 21 04:42:24 2006
New Revision: 379438
URL: http://svn.apache.org/viewcvs?rev=379438&view=rev
Log:
Adding schemas for module.xml and services.xml
Added:
webservices/axis2/trunk/java/xdocs/latest/resources/
webservices/axis2/trunk/java/xdocs/latest/resources/schemas/
webservices/axis2/trunk/java/xdocs/latest/resources/schemas/module.xsd
webservices/axis2/trunk/java/xdocs/latest/resources/schemas/services.xsd
Added: webservices/axis2/trunk/java/xdocs/latest/resources/schemas/module.xsd
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/resources/schemas/module.xsd?rev=379438&view=auto
==============================================================================
--- webservices/axis2/trunk/java/xdocs/latest/resources/schemas/module.xsd (added)
+++ webservices/axis2/trunk/java/xdocs/latest/resources/schemas/module.xsd Tue Feb 21 04:42:24 2006
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Created by Eran Chinthaka -->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
+ <xs:element name="module">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Description" minOccurs="0"/>
+ <xs:element name="inflow" minOccurs="0">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="handler" type="handlerType" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="outflow" minOccurs="0">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="handler" type="handlerType" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element ref="parameter" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="operation" minOccurs="0"/>
+ <xs:element name="Outfaultflow" minOccurs="0">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="handler" type="handlerType" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="INfaultflow" minOccurs="0">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="handler" type="handlerType" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="optional"/>
+ <xs:attribute name="class" type="xs:string" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="order">
+ <xs:complexType>
+ <xs:attribute name="phase" type="xs:string" use="optional"/>
+ <xs:attribute name="after" type="xs:string" use="optional"/>
+ <xs:attribute name="before" type="xs:string" use="optional"/>
+ <xs:attribute name="phaseFirst" type="xs:string" use="optional"/>
+ <xs:attribute name="phaseLast" type="xs:string" use="optional"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:complexType name="handlerType">
+ <xs:sequence>
+ <xs:element ref="order" minOccurs="0"/>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="class" type="xs:string" use="required"/>
+ </xs:complexType>
+
+ <xs:element name="parameter">
+ <xs:complexType>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="locked" type="xs:boolean" use="optional" default="false"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="operation">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="messageReceiver" minOccurs="0">
+ <xs:complexType>
+ <xs:attribute name="class"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element ref="parameter"/>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="mep" type="xs:anyURI" use="required"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
Added: webservices/axis2/trunk/java/xdocs/latest/resources/schemas/services.xsd
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/resources/schemas/services.xsd?rev=379438&view=auto
==============================================================================
--- webservices/axis2/trunk/java/xdocs/latest/resources/schemas/services.xsd (added)
+++ webservices/axis2/trunk/java/xdocs/latest/resources/schemas/services.xsd Tue Feb 21 04:42:24 2006
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Created by Eran Chinthaka -->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
+ <xs:element name="operation">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="messageReceiver" minOccurs="0">
+ <xs:complexType>
+ <xs:attribute name="class"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element ref="parameter" minOccurs="0"/>
+ <xs:element name="module" minOccurs="0">
+ <xs:complexType>
+ <xs:attribute name="ref"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="mep" type="xs:anyURI" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="parameter">
+ <xs:complexType>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="locked" type="xs:boolean" use="optional"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="service">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Description" minOccurs="0"/>
+ <xs:element ref="parameter" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="operation" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>