diff WebServiceToolWorkflow/lib/SAWADLParser/Files/sample.wadl @ 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/sample.wadl	Tue Jun 07 18:00:50 2011 -0400
@@ -0,0 +1,49 @@
+<?xml version="1.0"?> 
+<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+ xsi:schemaLocation="http://wadl.dev.java.net/2009/02 wadl.xsd" 
+   xmlns:tns="urn:yahoo:yn" 
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+   xmlns:yn="urn:yahoo:yn" 
+   xmlns:ya="urn:yahoo:api" 
+   xmlns="http://wadl.dev.java.net/2009/02"> 
+    <grammars> 
+     <include 
+       href="NewsSearchResponse.xsd"/> 
+     <include 
+       href="3A4_Simplified_PurchaseOrderRequest.xsd"/> 
+   </grammars> 
+ 
+   <resources base="http://api.search.yahoo.com/NewsSearchService/V1/"> 
+     <resource path="newsSearch"> 
+       <method name="GET" id="search"> 
+         <request> 
+           <param name="appid" type="xsd:string" 
+             style="query" required="true"/> 
+           <param name="query" type="xsd:string" 
+             style="query" required="true"/> 
+           <param name="type" style="query" default="all"> 
+             <option value="all"/> 
+             <option value="any"/> 
+             <option value="phrase"/> 
+           </param> 
+           <param name="results" style="query" type="xsd:int" default="10"/> 
+           <param name="start" style="query" type="xsd:int" default="1"/> 
+           <param name="sort" style="query" default="rank"> 
+             <option value="rank"/> 
+             <option value="date"/> 
+           </param> 
+           <param name="language" style="query" type="xsd:string"/> 
+         </request> 
+         <response status="200"> 
+           <representation mediaType="application/xml" 
+             element="yn:ResultSet"/> 
+         </response> 
+         <response status="400"> 
+           <representation mediaType="application/xml" 
+             element="3A4_Simplified_PurchaseOrderRequest.xsd"/> 
+         </response> 
+       </method> 
+     </resource> 
+   </resources> 
+ 
+</application>
\ No newline at end of file