Skip to content

Instantly share code, notes, and snippets.

@eed3si9n
Created May 27, 2011 02:40
Show Gist options
  • Save eed3si9n/994541 to your computer and use it in GitHub Desktop.
Save eed3si9n/994541 to your computer and use it in GitHub Desktop.
wsdl 2.0
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:ysearchtypes="http://www.pacificspirit.com/ns/2005/yahoo/srch/types/" xmlns:yahoowns="http://www.pacificspirit.com/ns/2005/yahoo/srch/" targetNamespace="http://www.pacificspirit.com/ns/2005/yahoo/srch/"
xmlns:wsdl="http://www.w3.org/ns/wsdl" xmlns:whttp="http://www.w3.org/ns/wsdl/http"
xmlns:yahoosrch="urn:yahoo:srch" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<wsdl:types>
<xs:import schemaLocation="./Authoring/wsdl/YahooV1Search.xsd"/>
<xs:import schemaLocation="http://api.search.yahoo.com/WebSearchService/V1/WebSearchResponse.xsd"/>
</wsdl:types>
<wsdl:interface name="Search">
<wsdl:operation name="YahooSearch" method="GET" location="{searchString}">
<wsdl:input ref="ysearchtypes:YahooQuery"/>
<wsdl:output ref="yahoosrch:Result:"/>
</wsdl:operation>
</wsdl:interface>
<wsdl:binding name="SearchHTTP" interface="Search">
<wsdl:operation ref="yahoowns:Search" whttp:inputSerialization='application/x-www-form-urlencoded'/>
</wsdl:binding>
<!-- http://api.search.yahoo.com/WebSearchService/V1/webSearch?appid=YahooDemo&query=madonna&results=2 -->
<wsdl:service name="Search" binding="yahoowns:SearchHTTP" location="http://api.search.yahoo.com/WebSearchService/V1/"/>
</wsdl:definitions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment