Mercurial > repos > uga-galaxy-group > webservice_toolsuite_v1_1
diff WebServiceExtensionsV1.1/WebServiceToolWorkflow_REST_SOAP/lib/SAWADLParser/Files/Template.sawadl @ 0:049760c677de default tip
Galaxy WSExtensions added successfully
author | uga-galaxy-group |
---|---|
date | Tue, 05 Jul 2011 19:34:18 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WebServiceExtensionsV1.1/WebServiceToolWorkflow_REST_SOAP/lib/SAWADLParser/Files/Template.sawadl Tue Jul 05 19:34:18 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