comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:d5cd409b8a18
1 <?xml version="1.0"?>
2 <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://wadl.dev.java.net/2009/02 wadl.xsd"
4 xmlns:tns="urn:yahoo:yn"
5 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6 xmlns:yn="urn:yahoo:yn"
7 xmlns:ya="urn:yahoo:api"
8 xmlns="http://wadl.dev.java.net/2009/02">
9 <grammars>
10 <include
11 href="NewsSearchResponse.xsd"/>
12 <include
13 href="3A4_Simplified_PurchaseOrderRequest.xsd"/>
14 </grammars>
15
16 <resources base="http://api.search.yahoo.com/NewsSearchService/V1/">
17 <resource path="newsSearch">
18 <method name="GET" id="search">
19 <request>
20 <param name="appid" type="xsd:string"
21 style="query" required="true"/>
22 <param name="query" type="xsd:string"
23 style="query" required="true"/>
24 <param name="type" style="query" default="all">
25 <option value="all"/>
26 <option value="any"/>
27 <option value="phrase"/>
28 </param>
29 <param name="results" style="query" type="xsd:int" default="10"/>
30 <param name="start" style="query" type="xsd:int" default="1"/>
31 <param name="sort" style="query" default="rank">
32 <option value="rank"/>
33 <option value="date"/>
34 </param>
35 <param name="language" style="query" type="xsd:string"/>
36 </request>
37 <response status="200">
38 <representation mediaType="application/xml"
39 element="yn:ResultSet"/>
40 </response>
41 <response status="400">
42 <representation mediaType="application/xml"
43 element="3A4_Simplified_PurchaseOrderRequest.xsd"/>
44 </response>
45 </method>
46 </resource>
47 </resources>
48
49 </application>