geolocation - Melissa Data XML Request not giving latitude and longitude in response -


i have application uses webobjects send xml request melissa in order location data given address. response accurately provides things delivery point code , delivery point check digit. request sent so, using request xml value of s:

nsdata requestcontent = new nsdata(s.tostring().getbytes());   worequest request = new worequest("get", "/xml.asp", "http/1.1", null, requestcontent, null);   wohttpconnection httpconnection = new wohttpconnection("xml.melissadata.com", 80);   httpconnection.setreceivetimeout(1000 * 10); // wait 10 seconds   // response   if (httpconnection.sendrequest(request)) { 

as example, can send following xml request address 3510 marvin rd ne, olympia, wa:

<?xml version="1.0" ?> <recordset> <customerid>[some id]</customerid> <record><company/> <address>3510 marvin rd ne</address> <address2/> <city>lacey</city> <state>wa</state> <zip/> <plus4/> <latitude/> <longitude/> <carrierroute/> <deliverypointcode/> <deliverypointcheckdigit/> <addresstypecode/> </record> <errorstring/> </recordset> 

...and following xml response melissa:

<company></company> <address>3510 marvin rd ne</address> <address2></address2> <city>lacey</city> <state>wa</state> <zip>98516</zip> <plus4>1423</plus4> <latitude/> <longitude/> <carrierroute>c082</carrierroute> <deliverypointcode>10</deliverypointcode> <deliverypointcheckdigit>0</deliverypointcheckdigit> <addresstypecode>s</addresstypecode> 

it seems of correct location information i'm interested in except latitude , longitude. in tutorials i've looked @ melissa xml requests, seems formatted same way have it, , in this melissa example app, i'm able correct latitude , longitude data using same test address. i've tried putting in dummy values latitude , longitude request, these end being unchanged. how can format request response give me latitude , longitude?

as turned out, problem had subscription melissa. solved upgrading subscription possible latitude , longitude xml queries.


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - VueJS2 and the Window Object - how to use? -