diff WebServiceToolWorkflow/lib/SAWADLParser/Files/Template.sawadl @ 0:d5cd409b8a18 default tip

Migrated tool version 1.0.0 from old tool shed archive to new tool shed repository
author ganjoo
date Tue, 07 Jun 2011 18:00:50 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/WebServiceToolWorkflow/lib/SAWADLParser/Files/Template.sawadl	Tue Jun 07 18:00:50 2011 -0400
@@ -0,0 +1,34 @@
+<?xml version="1.0"?> 
+<application targetNamespace="http://wadl.dev.java.net/2009/02" 
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+   xsi:schemaLocation="http://wadl.dev.java.net/2009/02 wadl.xsd" 
+   xmlns:tns="TempforXSD"
+   xmlns:sawadl="http://www.w3.org/2002/ws/sawadl/spec/sawadl#"
+   xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+   xmlns:Ontology1="http://www.owl-ontologies.com/sws_challenge.owl" 
+   xmlns="http://wadl.dev.java.net/2009/02"> 
+<grammars> 
+     <include 
+       href="3A4_Simplified_PurchaseOrderRequest.xsd" sawadl:modelReference="Ontology1#PurchaseOrderRequest"/> 
+     <include 
+       href="AcknowledgementOfReceipt.xsd" sawadl:modelReference="Ontology1#PurchaseOrderAck"/> 
+</grammars> 
+ 
+<resources base="http://MoonSemanticTemplate.com/"> 
+  <resource path="placeorder" sawadl:modelReference="Ontology1#ResourceCategory"> 
+       <method name="POST" id="order" sawadl:modelReference="Ontology1#PurchaseRequest"> 
+        <sawadl:precondition expression="placeOrder"/>
+         <request sawadl:modelReference="Ontology1#PurchaseOrder"> 
+         <representation mediaType="application/xml" 
+             element="3A4_Simplified_PurchaseOrderRequest.xsd"/> 
+         </request> 
+         <sawadl:effect expression="confirmedOrder"/>
+         <response status="200" sawadl:modelReference="Ontology1#PurchaseOrderAck"> 
+           <representation mediaType="application/xml" 
+             element="AcknowledgementofReceipt.xsd"/> 
+ </response> 
+ </method> 
+ </resource> 
+ </resources> 
+ 
+</application>
\ No newline at end of file