annotate vendor/phpunit/phpunit-mock-objects/tests/_fixture/GoogleSearch.wsdl @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents 4c8ae668cc8c
children
rev   line source
Chris@0 1 <?xml version="1.0"?>
Chris@0 2
Chris@0 3 <!-- WSDL description of the Google Web APIs.
Chris@0 4 The Google Web APIs are in beta release. All interfaces are subject to
Chris@0 5 change as we refine and extend our APIs. Please see the terms of use
Chris@0 6 for more information. -->
Chris@0 7
Chris@0 8 <!-- Revision 2002-08-16 -->
Chris@0 9
Chris@0 10 <definitions name="GoogleSearch"
Chris@0 11 targetNamespace="urn:GoogleSearch"
Chris@0 12 xmlns:typens="urn:GoogleSearch"
Chris@0 13 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
Chris@0 14 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
Chris@0 15 xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
Chris@0 16 xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
Chris@0 17 xmlns="http://schemas.xmlsoap.org/wsdl/">
Chris@0 18
Chris@0 19 <!-- Types for search - result elements, directory categories -->
Chris@0 20
Chris@0 21 <types>
Chris@0 22 <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
Chris@0 23 targetNamespace="urn:GoogleSearch">
Chris@0 24
Chris@0 25 <xsd:complexType name="GoogleSearchResult">
Chris@0 26 <xsd:all>
Chris@0 27 <xsd:element name="documentFiltering" type="xsd:boolean"/>
Chris@0 28 <xsd:element name="searchComments" type="xsd:string"/>
Chris@0 29 <xsd:element name="estimatedTotalResultsCount" type="xsd:int"/>
Chris@0 30 <xsd:element name="estimateIsExact" type="xsd:boolean"/>
Chris@0 31 <xsd:element name="resultElements" type="typens:ResultElementArray"/>
Chris@0 32 <xsd:element name="searchQuery" type="xsd:string"/>
Chris@0 33 <xsd:element name="startIndex" type="xsd:int"/>
Chris@0 34 <xsd:element name="endIndex" type="xsd:int"/>
Chris@0 35 <xsd:element name="searchTips" type="xsd:string"/>
Chris@0 36 <xsd:element name="directoryCategories" type="typens:DirectoryCategoryArray"/>
Chris@0 37 <xsd:element name="searchTime" type="xsd:double"/>
Chris@0 38 </xsd:all>
Chris@0 39 </xsd:complexType>
Chris@0 40
Chris@0 41 <xsd:complexType name="ResultElement">
Chris@0 42 <xsd:all>
Chris@0 43 <xsd:element name="summary" type="xsd:string"/>
Chris@0 44 <xsd:element name="URL" type="xsd:string"/>
Chris@0 45 <xsd:element name="snippet" type="xsd:string"/>
Chris@0 46 <xsd:element name="title" type="xsd:string"/>
Chris@0 47 <xsd:element name="cachedSize" type="xsd:string"/>
Chris@0 48 <xsd:element name="relatedInformationPresent" type="xsd:boolean"/>
Chris@0 49 <xsd:element name="hostName" type="xsd:string"/>
Chris@0 50 <xsd:element name="directoryCategory" type="typens:DirectoryCategory"/>
Chris@0 51 <xsd:element name="directoryTitle" type="xsd:string"/>
Chris@0 52 </xsd:all>
Chris@0 53 </xsd:complexType>
Chris@0 54
Chris@0 55 <xsd:complexType name="ResultElementArray">
Chris@0 56 <xsd:complexContent>
Chris@0 57 <xsd:restriction base="soapenc:Array">
Chris@0 58 <xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="typens:ResultElement[]"/>
Chris@0 59 </xsd:restriction>
Chris@0 60 </xsd:complexContent>
Chris@0 61 </xsd:complexType>
Chris@0 62
Chris@0 63 <xsd:complexType name="DirectoryCategoryArray">
Chris@0 64 <xsd:complexContent>
Chris@0 65 <xsd:restriction base="soapenc:Array">
Chris@0 66 <xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="typens:DirectoryCategory[]"/>
Chris@0 67 </xsd:restriction>
Chris@0 68 </xsd:complexContent>
Chris@0 69 </xsd:complexType>
Chris@0 70
Chris@0 71 <xsd:complexType name="DirectoryCategory">
Chris@0 72 <xsd:all>
Chris@0 73 <xsd:element name="fullViewableName" type="xsd:string"/>
Chris@0 74 <xsd:element name="specialEncoding" type="xsd:string"/>
Chris@0 75 </xsd:all>
Chris@0 76 </xsd:complexType>
Chris@0 77
Chris@0 78 </xsd:schema>
Chris@0 79 </types>
Chris@0 80
Chris@0 81 <!-- Messages for Google Web APIs - cached page, search, spelling. -->
Chris@0 82
Chris@0 83 <message name="doGetCachedPage">
Chris@0 84 <part name="key" type="xsd:string"/>
Chris@0 85 <part name="url" type="xsd:string"/>
Chris@0 86 </message>
Chris@0 87
Chris@0 88 <message name="doGetCachedPageResponse">
Chris@0 89 <part name="return" type="xsd:base64Binary"/>
Chris@0 90 </message>
Chris@0 91
Chris@0 92 <message name="doSpellingSuggestion">
Chris@0 93 <part name="key" type="xsd:string"/>
Chris@0 94 <part name="phrase" type="xsd:string"/>
Chris@0 95 </message>
Chris@0 96
Chris@0 97 <message name="doSpellingSuggestionResponse">
Chris@0 98 <part name="return" type="xsd:string"/>
Chris@0 99 </message>
Chris@0 100
Chris@0 101 <!-- note, ie and oe are ignored by server; all traffic is UTF-8. -->
Chris@0 102
Chris@0 103 <message name="doGoogleSearch">
Chris@0 104 <part name="key" type="xsd:string"/>
Chris@0 105 <part name="q" type="xsd:string"/>
Chris@0 106 <part name="start" type="xsd:int"/>
Chris@0 107 <part name="maxResults" type="xsd:int"/>
Chris@0 108 <part name="filter" type="xsd:boolean"/>
Chris@0 109 <part name="restrict" type="xsd:string"/>
Chris@0 110 <part name="safeSearch" type="xsd:boolean"/>
Chris@0 111 <part name="lr" type="xsd:string"/>
Chris@0 112 <part name="ie" type="xsd:string"/>
Chris@0 113 <part name="oe" type="xsd:string"/>
Chris@0 114 </message>
Chris@0 115
Chris@0 116 <message name="doGoogleSearchResponse">
Chris@0 117 <part name="return" type="typens:GoogleSearchResult"/>
Chris@0 118 </message>
Chris@0 119
Chris@0 120 <!-- Port for Google Web APIs, "GoogleSearch" -->
Chris@0 121
Chris@0 122 <portType name="GoogleSearchPort">
Chris@0 123
Chris@0 124 <operation name="doGetCachedPage">
Chris@0 125 <input message="typens:doGetCachedPage"/>
Chris@0 126 <output message="typens:doGetCachedPageResponse"/>
Chris@0 127 </operation>
Chris@0 128
Chris@0 129 <operation name="doSpellingSuggestion">
Chris@0 130 <input message="typens:doSpellingSuggestion"/>
Chris@0 131 <output message="typens:doSpellingSuggestionResponse"/>
Chris@0 132 </operation>
Chris@0 133
Chris@0 134 <operation name="doGoogleSearch">
Chris@0 135 <input message="typens:doGoogleSearch"/>
Chris@0 136 <output message="typens:doGoogleSearchResponse"/>
Chris@0 137 </operation>
Chris@0 138
Chris@0 139 </portType>
Chris@0 140
Chris@0 141
Chris@0 142 <!-- Binding for Google Web APIs - RPC, SOAP over HTTP -->
Chris@0 143
Chris@0 144 <binding name="GoogleSearchBinding" type="typens:GoogleSearchPort">
Chris@0 145 <soap:binding style="rpc"
Chris@0 146 transport="http://schemas.xmlsoap.org/soap/http"/>
Chris@0 147
Chris@0 148 <operation name="doGetCachedPage">
Chris@0 149 <soap:operation soapAction="urn:GoogleSearchAction"/>
Chris@0 150 <input>
Chris@0 151 <soap:body use="encoded"
Chris@0 152 namespace="urn:GoogleSearch"
Chris@0 153 encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
Chris@0 154 </input>
Chris@0 155 <output>
Chris@0 156 <soap:body use="encoded"
Chris@0 157 namespace="urn:GoogleSearch"
Chris@0 158 encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
Chris@0 159 </output>
Chris@0 160 </operation>
Chris@0 161
Chris@0 162 <operation name="doSpellingSuggestion">
Chris@0 163 <soap:operation soapAction="urn:GoogleSearchAction"/>
Chris@0 164 <input>
Chris@0 165 <soap:body use="encoded"
Chris@0 166 namespace="urn:GoogleSearch"
Chris@0 167 encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
Chris@0 168 </input>
Chris@0 169 <output>
Chris@0 170 <soap:body use="encoded"
Chris@0 171 namespace="urn:GoogleSearch"
Chris@0 172 encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
Chris@0 173 </output>
Chris@0 174 </operation>
Chris@0 175
Chris@0 176 <operation name="doGoogleSearch">
Chris@0 177 <soap:operation soapAction="urn:GoogleSearchAction"/>
Chris@0 178 <input>
Chris@0 179 <soap:body use="encoded"
Chris@0 180 namespace="urn:GoogleSearch"
Chris@0 181 encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
Chris@0 182 </input>
Chris@0 183 <output>
Chris@0 184 <soap:body use="encoded"
Chris@0 185 namespace="urn:GoogleSearch"
Chris@0 186 encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
Chris@0 187 </output>
Chris@0 188 </operation>
Chris@0 189 </binding>
Chris@0 190
Chris@0 191 <!-- Endpoint for Google Web APIs -->
Chris@0 192 <service name="GoogleSearchService">
Chris@0 193 <port name="GoogleSearchPort" binding="typens:GoogleSearchBinding">
Chris@0 194 <soap:address location="http://api.google.com/search/beta2"/>
Chris@0 195 </port>
Chris@0 196 </service>
Chris@0 197
Chris@0 198 </definitions>