SOAP example

Do you have an example of how to use your SOAP component?

Date Entered: 09/27/2007    Last Updated: 09/27/2007

There should be an example of using the SOAP component included in your installation. If not, here is some code that shows how to consume a free service offered by You input a "location" and get back latitude/longitude coordinates:
soap.MethodURI = "";
soap.Method = "geocode";
soap.URL = "";
soap.AddParam("location", "1600 Pennsylvania Ave, Washington DC");
soap.XPath = "/Envelope/Body/geocodeResponse/[1]/item/lat";
string lati = soap.XText;
soap.XPath = "/Envelope/Body/geocodeResponse/[1]/item/long";
string longi = soap.XText;

We appreciate your feedback.  If you have any questions, comments, or suggestions about this entry please contact our support team at