Package com.lbslocal.api.objects.external

Examples of com.lbslocal.api.objects.external.GetAddress


  @Test
  public void shouldGetAnAddress() throws IOException, Exception {
    com.lbslocal.api.objects.external.Point point =
      new com.lbslocal.api.objects.external.Point(-46.6449081, -23.5708346);
   
    GetAddress address = new GetAddress();
    address.setPoint(point);
    address.setToken(TestConstants.getToken());
    address.setOptions(this.options);
    address.setTolerance(5);
   
    String xmlToBeSent = TestConstants.XML_HEADER + xstream.toXML(address);
   
    Response response =
      HttpClient.doPost(
View Full Code Here

TOP

Related Classes of com.lbslocal.api.objects.external.GetAddress

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.