| 1 |
POST /yellowpages/services/IntegrationAPI2 HTTP/1.1 |
|---|
| 2 |
SOAPAction: "" |
|---|
| 3 |
Content-Type: text/xml; charset=utf-8 |
|---|
| 4 |
User-Agent: SOAP4R/1.5.8 (/187, ruby 1.8.6 (2007-03-13) [i686-darwin8.9.1]) |
|---|
| 5 |
Date: Thu, 25 Oct 2007 20:49:36 GMT |
|---|
| 6 |
Content-Length: 526 |
|---|
| 7 |
Host: sandbox.yellowpages.com:8080 |
|---|
| 8 |
|
|---|
| 9 |
<?xml version="1.0" encoding="utf-8" ?> |
|---|
| 10 |
<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
|---|
| 11 |
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" |
|---|
| 12 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|---|
| 13 |
<env:Body> |
|---|
| 14 |
<n1:getListing xmlns:n1="http://integration.yellowpages.com"> |
|---|
| 15 |
<listingId>1008034792</listingId> |
|---|
| 16 |
<profileId>moreInfo</profileId> |
|---|
| 17 |
<partnerId>YPC</partnerId> |
|---|
| 18 |
<userId>test</userId> |
|---|
| 19 |
<transactionId>test</transactionId> |
|---|
| 20 |
</n1:getListing> |
|---|
| 21 |
</env:Body> |
|---|
| 22 |
</env:Envelope> |
|---|
| 23 |
|
|---|
| 24 |
HTTP/1.1 200 OK |
|---|
| 25 |
Server: Apache-Coyote/1.1 |
|---|
| 26 |
Content-Type: text/xml;charset=utf-8 |
|---|
| 27 |
Transfer-Encoding: chunked |
|---|
| 28 |
Date: Thu, 25 Oct 2007 20:47:47 GMT |
|---|
| 29 |
|
|---|
| 30 |
f3f |
|---|
| 31 |
<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|---|
| 32 |
<soapenv:Body> |
|---|
| 33 |
<ns1:getListingResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://integration.yellowpages.com"> |
|---|
| 34 |
<getListingReturn xsi:type="ns2:SearchResult" xmlns:ns2="http://data2.integration.yellowpages.com"> |
|---|
| 35 |
<Properties soapenc:arrayType="ns2:Property[4]" xsi:type="soapenc:Array" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"> |
|---|
| 36 |
<Property Name="pageNumber" xsi:type="ns2:Property"> |
|---|
| 37 |
<Value xsi:type="xsd:string">1</Value> |
|---|
| 38 |
</Property> |
|---|
| 39 |
<Property Name="totalReturned" xsi:type="ns2:Property"> |
|---|
| 40 |
<Value xsi:type="xsd:string">1</Value> |
|---|
| 41 |
</Property> |
|---|
| 42 |
<Property Name="totalAvailable" xsi:type="ns2:Property"> |
|---|
| 43 |
<Value xsi:type="xsd:string">1</Value> |
|---|
| 44 |
</Property> |
|---|
| 45 |
<Property Name="transactionId" xsi:type="ns2:Property"> |
|---|
| 46 |
<Value xsi:type="xsd:string">test</Value> |
|---|
| 47 |
</Property> |
|---|
| 48 |
</Properties> |
|---|
| 49 |
<Categories soapenc:arrayType="ns2:Category[0]" xsi:type="soapenc:Array" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"/> |
|---|
| 50 |
<Listings soapenc:arrayType="ns2:Listing[1]" xsi:type="soapenc:Array" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"> |
|---|
| 51 |
<Listing xsi:type="ns2:Listing"> |
|---|
| 52 |
<Properties soapenc:arrayType="ns2:Property[15]" xsi:type="soapenc:Array"> |
|---|
| 53 |
<Property Name="name" xsi:type="ns2:Property"> |
|---|
| 54 |
<Value xsi:type="xsd:string">Boba House</Value> |
|---|
| 55 |
</Property> |
|---|
| 56 |
<Property Name="id" xsi:type="ns2:Property"> |
|---|
| 57 |
<Value xsi:type="xsd:string">1008034792</Value> |
|---|
| 58 |
</Property> |
|---|
| 59 |
<Property Name="category" xsi:type="ns2:Property"> |
|---|
| 60 |
<Value xsi:type="xsd:string">Coffee & Tea</Value> |
|---|
| 61 |
</Property> |
|---|
| 62 |
<Property Name="listingType" xsi:type="ns2:Property"> |
|---|
| 63 |
<Value xsi:type="xsd:string">free</Value> |
|---|
| 64 |
</Property> |
|---|
| 65 |
<Property Name="address" xsi:type="ns2:Property"> |
|---|
| 66 |
<Value xsi:type="xsd:string">818 N Pacific Ave Ste H</Value> |
|---|
| 67 |
</Property> |
|---|
| 68 |
<Property Name="city" xsi:type="ns2:Property"> |
|---|
| 69 |
<Value xsi:type="xsd:string">Glendale</Value> |
|---|
| 70 |
</Property> |
|---|
| 71 |
<Property Name="state" xsi:type="ns2:Property"> |
|---|
| 72 |
<Value xsi:type="xsd:string">CA</Value> |
|---|
| 73 |
</Property> |
|---|
| 74 |
<Property Name="zip" xsi:type="ns2:Property"> |
|---|
| 75 |
<Value xsi:type="xsd:string">91203</Value> |
|---|
| 76 |
</Property> |
|---|
| 77 |
<Property Name="phone" xsi:type="ns2:Property"> |
|---|
| 78 |
<Value xsi:type="xsd:string">8182462717</Value> |
|---|
| 79 |
</Property> |
|---|
| 80 |
<Property Name="isMappable" xsi:type="ns2:Property"> |
|---|
| 81 |
<Value xsi:type="xsd:string">true</Value> |
|---|
| 82 |
</Property> |
|---|
| 83 |
<Property Name="latitude" xsi:type="ns2:Property"> |
|---|
| 84 |
<Value xsi:type="xsd:string">34.1575599</Value> |
|---|
| 85 |
</Property> |
|---|
| 86 |
<Property Name="longitude" xsi:type="ns2:Property"> |
|---|
| 87 |
<Value xsi:type="xsd:string">-118.2640460</Value> |
|---|
| 88 |
</Property> |
|---|
| 89 |
<Property Name="mileage" xsi:type="ns2:Property"> |
|---|
| 90 |
<Value xsi:type="xsd:string">0.00</Value> |
|---|
| 91 |
</Property> |
|---|
| 92 |
<Property Name="hasMoreInfo" xsi:type="ns2:Property"> |
|---|
| 93 |
<Value xsi:type="xsd:string">false</Value> |
|---|
| 94 |
</Property> |
|---|
| 95 |
<Property Name="allCategories" xsi:type="ns2:Property"> |
|---|
| 96 |
<Values soapenc:arrayType="xsd:string[4]" xsi:type="soapenc:Array"> |
|---|
| 97 |
<Value xsi:type="xsd:string">Tea Rooms</Value> |
|---|
| 98 |
<Value xsi:type="xsd:string">Coffee & Tea</Value> |
|---|
| 99 |
<Value xsi:type="xsd:string">Coffee & Espresso Restaurants</Value> |
|---|
| 100 |
<Value xsi:type="xsd:string">Juices</Value> |
|---|
| 101 |
</Values> |
|---|
| 102 |
</Property> |
|---|
| 103 |
</Properties> |
|---|
| 104 |
</Listing> |
|---|
| 105 |
</Listings> |
|---|
| 106 |
</getListingReturn> |
|---|
| 107 |
</ns1:getListingResponse> |
|---|
| 108 |
</soapenv:Body> |
|---|
| 109 |
</soapenv:Envelope> |
|---|
| 110 |
0 |
|---|
| 111 |
|
|---|