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 he...@apache.org on 2005/02/15 11:09:24 UTC
svn commit: r153925 - in
webservices/axis/trunk/java/dev/scratch/prototype2/src/schema: common.xsd
module.xsd server.xsd service.xsd
Author: hemapani
Date: Tue Feb 15 02:09:22 2005
New Revision: 153925
URL: http://svn.apache.org/viewcvs?view=rev&rev=153925
Log:
Add a xsd for the deployment discripters
Added:
webservices/axis/trunk/java/dev/scratch/prototype2/src/schema/common.xsd
webservices/axis/trunk/java/dev/scratch/prototype2/src/schema/module.xsd
webservices/axis/trunk/java/dev/scratch/prototype2/src/schema/server.xsd
webservices/axis/trunk/java/dev/scratch/prototype2/src/schema/service.xsd
Added: webservices/axis/trunk/java/dev/scratch/prototype2/src/schema/common.xsd
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/schema/common.xsd?view=auto&rev=153925
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/schema/common.xsd (added)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/schema/common.xsd Tue Feb 15 02:09:22 2005
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://xml.apache.org/axis/wsdd/" xmlns:wsdd="http://xml.apache.org/axis/wsdd/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.1">
+ <complexType name="parameter">
+ <attribute name="name" type="xsd:NCName" use="required"/>
+ <attribute name="locked" type="xsd:boolean" use="optional" default="false"/>
+ <attribute name="value" type="xsd:string" use="optional"/>
+ </complexType>
+
+ <complexType name="handler">
+ <choice>
+ <attribute name="ref" type="xsd:NCName" use="required"/>
+ <all>
+ <attribute name="name" type="xsd:NCName" use="required"/>
+ <attribute name="class" type="xsd:string" use="required"/>
+ <element ref="wsdd:parameter" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="wsdd:order" minOccurs="0" maxOccurs="unbounded"/>
+ </all>
+ </choice>
+ </complexType>
+
+ <complexType name="order">
+ <choice>
+ <all>
+ <attribute name="before" type="xsd:anyURI" use="optional"/>
+ <attribute name="after" type="xsd:anyURI" use="optional"/>
+ </all>
+ <all>
+ <attribute name="phase" type="xsd:anyURI" use="required"/>
+ <attribute name="phaseFirst" type="xsd:anyURI" use="optional"/>
+ <attribute name="phaseLast" type="xsd:anyURI" use="optional"/>
+ </all
+ </choice>
+ </complexType>
+
+ <complexType name="inflow">
+ <element ref="wsdd:handler" minOccurs="0" maxOccurs="unbounded"/>
+ </complexType>
+ <complexType name="outflow">
+ <element ref="wsdd:handler" minOccurs="0" maxOccurs="unbounded"/>
+ </complexType>
+ <complexType name="faultflow">
+ <element ref="wsdd:handler" minOccurs="0" maxOccurs="unbounded"/>
+ </complexType>
+ <complexType name="typemapping">
+ <!-- todo specify this -->
+ </complexType>
+
+
+</schema>
Added: webservices/axis/trunk/java/dev/scratch/prototype2/src/schema/module.xsd
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/schema/module.xsd?view=auto&rev=153925
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/schema/module.xsd (added)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/schema/module.xsd Tue Feb 15 02:09:22 2005
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://xml.apache.org/axis/wsdd/"
+ xmlns:wsdd="http://xml.apache.org/axis/wsdd/"
+ xmlns="http://www.w3.org/2001/XMLSchema"
+ xmlns:java="http://ws.apache.org/axis2/deployment/java"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.1">
+ <include schemaLocation = "common.xsd" />
+ <complexType name="module">
+ <choice>
+ <attribute name="ref" type="xsd:NCName" use="required"/>
+ <all>
+ <element ref="wsdd:operation" minOccurs="1" maxOccurs="unbounded"/>
+ <element ref="wsdd:inflow" minOccurs="0" maxOccurs="1"/>
+ <element ref="wsdd:outflow" minOccurs="0" maxOccurs="1"/>
+ <element ref="wsdd:faultflow" minOccurs="0" maxOccurs="1"/>
+ <element ref="wsdd:typemapping" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="wsdd:parameter" minOccurs="0" maxOccurs="unbounded"/>
+ </all>
+ </complexType>
+ </schema>
+
+
Added: webservices/axis/trunk/java/dev/scratch/prototype2/src/schema/server.xsd
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/schema/server.xsd?view=auto&rev=153925
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/schema/server.xsd (added)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/schema/server.xsd Tue Feb 15 02:09:22 2005
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://xml.apache.org/axis/wsdd/"
+ xmlns:wsdd="http://xml.apache.org/axis/wsdd/"
+ xmlns="http://www.w3.org/2001/XMLSchema"
+ xmlns:java="http://ws.apache.org/axis2/deployment/java"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.1">
+ <include schemaLocation = "common.xsd" />
+ <include schemaLocation = "module.xsd" />
+ <complexType name="service">
+ <element ref="wsdd:inflow" minOccurs="0" maxOccurs="1"/>
+ <element ref="wsdd:outflow" minOccurs="0" maxOccurs="1"/>
+ <element ref="wsdd:faultflow" minOccurs="0" maxOccurs="1"/>
+ <element ref="wsdd:typemapping" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="wsdd:parameter" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="wsdd:phaseOrder" minOccurs="0" maxOccurs="1"/>
+ <element ref="wsdd:module" minOccurs="0" maxOccurs="unbounded"/>
+ </complexType>
+
+ <complexType name="phaseOrder">
+ <element name="phase" ref="phase" minOccurs="0" maxOccurs="unbounded"/>
+ </complexType>
+ <complexType name="phase">
+ <attribute name="name" type="xsd:anyURI" use="required"/>
+ </complexType>
+
+ </schema>
+
+
Added: webservices/axis/trunk/java/dev/scratch/prototype2/src/schema/service.xsd
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/schema/service.xsd?view=auto&rev=153925
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/schema/service.xsd (added)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/schema/service.xsd Tue Feb 15 02:09:22 2005
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://xml.apache.org/axis/wsdd/"
+ xmlns:wsdd="http://xml.apache.org/axis/wsdd/"
+ xmlns="http://www.w3.org/2001/XMLSchema"
+ xmlns:java="http://ws.apache.org/axis2/deployment/java"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.1">
+ <include schemaLocation = "common.xsd" />
+ <include schemaLocation = "module.xsd" />
+ <complexType name="service">
+ <attribute name="provider" type="xsd:string" use="required"/>
+ <attribute name="style" type="xsd:string" use="optional" default="false"/>
+ <element ref="java:implementation" minOccurs="1" maxOccurs="1"/>
+ <element ref="wsdd:operation" minOccurs="1" maxOccurs="unbounded"/>
+ <element ref="wsdd:inflow" minOccurs="0" maxOccurs="1"/>
+ <element ref="wsdd:outflow" minOccurs="0" maxOccurs="1"/>
+ <element ref="wsdd:faultflow" minOccurs="0" maxOccurs="1"/>
+ <element ref="wsdd:typemapping" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="wsdd:parameter" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="wsdd:module" minOccurs="0" maxOccurs="unbounded"/>
+ <!-- <attribute name="contextPath" type="xsd:string" use="optional"/> -->
+ </complexType>
+
+ <complexType name="java:implementation">
+ <choice>
+ <attribute name="class" type="xsd:string" use="required"/>
+ </choice>
+ </complexType>
+
+ <complexType name="operation">
+ <choice>
+ <attribute name="name" type="xsd:NCName" use="required"/>
+ <attribute name="qname" type="xsd:qname" use="optional"/>
+ <attribute name="style" type="xsd:anyURI" use="optional"/>
+ <attribute name="use" type="xsd:anyURI" use="optional"/>
+ </all
+ </choice>
+ </complexType>
+ </schema>
+
+