[savara-commits] savara SVN: r102 - runtime/trunk/samples/jbossesb/purchasing/models.

do-not-reply at jboss.org do-not-reply at jboss.org
Sat Dec 5 06:44:39 EST 2009


Author: objectiser
Date: 2009-12-05 06:44:39 -0500 (Sat, 05 Dec 2009)
New Revision: 102

Added:
   runtime/trunk/samples/jbossesb/purchasing/models/creditAgency.xsd
   runtime/trunk/samples/jbossesb/purchasing/models/store.xsd
Modified:
   runtime/trunk/samples/jbossesb/purchasing/models/BuyConfirmed.xml
   runtime/trunk/samples/jbossesb/purchasing/models/BuyRequest.xml
   runtime/trunk/samples/jbossesb/purchasing/models/CreditCheckInvalid.xml
   runtime/trunk/samples/jbossesb/purchasing/models/CreditCheckOk.xml
   runtime/trunk/samples/jbossesb/purchasing/models/CreditCheckRequest.xml
Log:
Added xsd to example messages (SAVARA-7).

Modified: runtime/trunk/samples/jbossesb/purchasing/models/BuyConfirmed.xml
===================================================================
--- runtime/trunk/samples/jbossesb/purchasing/models/BuyConfirmed.xml	2009-12-05 11:01:50 UTC (rev 101)
+++ runtime/trunk/samples/jbossesb/purchasing/models/BuyConfirmed.xml	2009-12-05 11:44:39 UTC (rev 102)
@@ -1 +1,4 @@
-<BuyConfirmed xmlns="http://www.jboss.org/examples/store" id="1" />
\ No newline at end of file
+<tns:BuyConfirmed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+			xmlns:tns="http://www.jboss.org/examples/store" 
+			xsi:schemaLocation="http://www.jboss.org/examples/store store.xsd " 
+			id="1" />
\ No newline at end of file

Modified: runtime/trunk/samples/jbossesb/purchasing/models/BuyRequest.xml
===================================================================
--- runtime/trunk/samples/jbossesb/purchasing/models/BuyRequest.xml	2009-12-05 11:01:50 UTC (rev 101)
+++ runtime/trunk/samples/jbossesb/purchasing/models/BuyRequest.xml	2009-12-05 11:44:39 UTC (rev 102)
@@ -1 +1,4 @@
-<BuyRequest xmlns="http://www.jboss.org/examples/store" id="1" />
\ No newline at end of file
+<tns:BuyRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+			xmlns:tns="http://www.jboss.org/examples/store" 
+			xsi:schemaLocation="http://www.jboss.org/examples/store store.xsd " 
+			id="1" />
\ No newline at end of file

Modified: runtime/trunk/samples/jbossesb/purchasing/models/CreditCheckInvalid.xml
===================================================================
--- runtime/trunk/samples/jbossesb/purchasing/models/CreditCheckInvalid.xml	2009-12-05 11:01:50 UTC (rev 101)
+++ runtime/trunk/samples/jbossesb/purchasing/models/CreditCheckInvalid.xml	2009-12-05 11:44:39 UTC (rev 102)
@@ -1 +1,4 @@
-<CreditCheckInvalid xmlns="http://www.jboss.org/examples/creditAgency" id="1" />
\ No newline at end of file
+<tns:CreditCheckInvalid xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+			xmlns:tns="http://www.jboss.org/examples/creditAgency" 
+			xsi:schemaLocation="http://www.jboss.org/examples/creditAgency creditAgency.xsd " 
+			id="1" />
\ No newline at end of file

Modified: runtime/trunk/samples/jbossesb/purchasing/models/CreditCheckOk.xml
===================================================================
--- runtime/trunk/samples/jbossesb/purchasing/models/CreditCheckOk.xml	2009-12-05 11:01:50 UTC (rev 101)
+++ runtime/trunk/samples/jbossesb/purchasing/models/CreditCheckOk.xml	2009-12-05 11:44:39 UTC (rev 102)
@@ -1 +1,4 @@
-<CreditCheckOk xmlns="http://www.jboss.org/examples/creditAgency" id="1" />
\ No newline at end of file
+<tns:CreditCheckOk xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+			xmlns:tns="http://www.jboss.org/examples/creditAgency" 
+			xsi:schemaLocation="http://www.jboss.org/examples/creditAgency creditAgency.xsd " 
+			id="1" />
\ No newline at end of file

Modified: runtime/trunk/samples/jbossesb/purchasing/models/CreditCheckRequest.xml
===================================================================
--- runtime/trunk/samples/jbossesb/purchasing/models/CreditCheckRequest.xml	2009-12-05 11:01:50 UTC (rev 101)
+++ runtime/trunk/samples/jbossesb/purchasing/models/CreditCheckRequest.xml	2009-12-05 11:44:39 UTC (rev 102)
@@ -1 +1,4 @@
-<CreditCheckRequest xmlns="http://www.jboss.org/examples/creditAgency" id="1" />
\ No newline at end of file
+<tns:CreditCheckRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+			xmlns:tns="http://www.jboss.org/examples/creditAgency" 
+			xsi:schemaLocation="http://www.jboss.org/examples/creditAgency creditAgency.xsd " 
+			id="1" />
\ No newline at end of file

Added: runtime/trunk/samples/jbossesb/purchasing/models/creditAgency.xsd
===================================================================
--- runtime/trunk/samples/jbossesb/purchasing/models/creditAgency.xsd	                        (rev 0)
+++ runtime/trunk/samples/jbossesb/purchasing/models/creditAgency.xsd	2009-12-05 11:44:39 UTC (rev 102)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.jboss.org/examples/creditAgency" xmlns:tns="http://www.jboss.org/examples/creditAgency" elementFormDefault="qualified">
+
+    <element name="CreditCheckRequest" type="tns:CreditCheckType"></element>
+    <element name="CreditCheckOk" type="tns:CreditCheckType"></element>
+    <element name="CreditCheckInvalid" type="tns:CreditCheckType"></element>
+
+    <complexType name="CreditCheckType">
+    	<attribute name="id" type="string"></attribute>
+    </complexType>
+</schema>
\ No newline at end of file

Added: runtime/trunk/samples/jbossesb/purchasing/models/store.xsd
===================================================================
--- runtime/trunk/samples/jbossesb/purchasing/models/store.xsd	                        (rev 0)
+++ runtime/trunk/samples/jbossesb/purchasing/models/store.xsd	2009-12-05 11:44:39 UTC (rev 102)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.jboss.org/examples/store" xmlns:tns="http://www.jboss.org/examples/store" elementFormDefault="qualified">
+
+    <element name="BuyRequest" type="tns:StoreType"></element>
+    <element name="BuyConfirmed" type="tns:StoreType"></element>
+    <element name="BuyFailed" type="tns:StoreType"></element>
+
+    <complexType name="StoreType">
+    	<attribute name="id" type="string"></attribute>
+    </complexType>
+</schema>
\ No newline at end of file



More information about the savara-commits mailing list