Discussion:
Search result of stores in PR is not working through webservice
(too old to reply)
Masarrat
2010-05-27 21:34:28 UTC
Permalink
We are trying to extend the existing store search for the new stores in
Puerto Rico. We have three test stores uploaded as part of data source
CVS126903.126903.CVSTest417.
They are in cities: ARECIBO, BAYAMON, & SAN JUAN. Searching on Bing sites
gives us proper results but through the webservice it's not.

ARECIBO - SOAP REQUEST

<?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"><soapenv:Body><FindAddress
xmlns="http://s.mappoint.net/mappoint-30/"><specification><DataSourceName>Mappoint.NA</DataSourceName><InputAddress><PrimaryCity>arecibo</PrimaryCity><Subdivision>PR</Subdivision><PostalCode></PostalCode><CountryRegion>PR</CountryRegion></InputAddress><Options><Range><Count>25</Count></Range><SearchContext>244</SearchContext><ResultMask>AddressFlag
LatLongFlag MatchDetailsFlag BestMapViewFlag
EntityFlag</ResultMask><ThresholdScore>0.5</ThresholdScore></Options></specification></FindAddress></soapenv:Body></soapenv:Envelope>

ARECIBO - SOAP RESPONSE

<?xml version="1.0" encoding="utf-8"?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><FindAddressResponse
xmlns="http://s.mappoint.net/mappoint-30/"><FindAddressResult><NumberFound>0</NumberFound><StartIndex>0</StartIndex><Results/><TopScore>0</TopScore></FindAddressResult></FindAddressResponse></soap:Body></soap:Envelope>
Derek Chan
2010-06-01 19:43:01 UTC
Permalink
Hi,

I was able to geocode Arecibo by specifying in MWS FindAddress:

Primary City: Arecibo
Country: Puerto Rico
Datasource: Mappoint.NA

I would leave out Puerto Rico from the state/subdivision field, remove
SearchContext 244 (Puerto Rico is it's own country in MWS)
, and give it another try.

Regards,
--
Windows Live Platform MVP
Post by Masarrat
We are trying to extend the existing store search for the new stores in
Puerto Rico. We have three test stores uploaded as part of data source
CVS126903.126903.CVSTest417.
They are in cities: ARECIBO, BAYAMON, & SAN JUAN. Searching on Bing sites
gives us proper results but through the webservice it's not.
ARECIBO - SOAP REQUEST
<?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"><soapenv:Body><FindAddress
xmlns="http://s.mappoint.net/mappoint-30/"><specification><DataSourceName>Mappoint.NA</DataSourceName><InputAddress><PrimaryCity>arecibo</PrimaryCity><Subdivision>PR</Subdivision><PostalCode></PostalCode><CountryRegion>PR</CountryRegion></InputAddress><Options><Range><Count>25</Count></Range><SearchContext>244</SearchContext><ResultMask>AddressFlag
LatLongFlag MatchDetailsFlag BestMapViewFlag
EntityFlag</ResultMask><ThresholdScore>0.5</ThresholdScore></Options></specification></FindAddress></soapenv:Body></soapenv:Envelope>
ARECIBO - SOAP RESPONSE
<?xml version="1.0" encoding="utf-8"?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><FindAddressResponse
xmlns="http://s.mappoint.net/mappoint-30/"><FindAddressResult><NumberFound>0</NumberFound><StartIndex>0</StartIndex><Results/><TopScore>0</TopScore></FindAddressResult></FindAddressResponse></soap:Body></soap:Envelope>
Loading...