Mercurial > repos > ganjoo > webservice_toolsuite
diff WebServiceToolWorkflow/lib/SAWADLParser/Files/NewTemplate.sawadl~ @ 0:e7482c82796e 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 17:34:26 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WebServiceToolWorkflow/lib/SAWADLParser/Files/NewTemplate.sawadl~ Tue Jun 07 17:34:26 2011 -0400 @@ -0,0 +1,36 @@ +<?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"> + <param name="user" style="query" type="xsd:string" required="true"> + <doc title="prompt">Min Molecular Weight (Daltons)</doc> + </param> + <param name="cost" style="query" type="xsd:string"> + </request> + <sawadl:effect expression="confirmedOrder"/> + <response status="200" sawadl:modelReference="Ontology1#PurchaseOrderAck"> + <representation mediaType="application/xml" + element="AcknowledgementofReceipt.xsd"/> + </response> + </method> + </resource> + </resources> + +</application>