Skip to content

Instantly share code, notes, and snippets.

const string token = "SEU_TOKEN";
var address = new Address
{
street = "Avenida Paulista",
houseNumber = "1000",
city = new City { name = "São Paulo", state = "SP" }
};
var addressOptions = new AddressOptions
const string token = "SEU_TOKEN";
var address = new Address
{
street = "Avenida Paulista",
houseNumber = "1000",
city = new City { name = "São Paulo", state = "SP" }
};
var addressOptions = new AddressOptions
final String TOKEN = "SEU_TOKEN";
City city = new City();
city.setName("São Paulo");
city.setState("SP");
Address address = new Address();
address.setStreet("Avenida Paulista");
address.setHouseNumber("1000");
address.setCity(city);
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:web="http://webservices.maplink2.com.br">
<soap:Header/>
<soap:Body>
<web:findAddress>
<web:address>
<web:street>Avenida Paulista</web:street>
<web:houseNumber>1000</web:houseNumber>
<web:city>
<web:name>São Paulo</web:name>
<web:state>SP</web:state>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<findAddressResponse xmlns="http://webservices.maplink2.com.br">
<findAddressResult>
<recordCount>1</recordCount>
<pageCount>1</pageCount>
<addressLocation>
<AddressLocation>
<key>C51476</key>
<address>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:web="http://webservices.maplink2.com.br">
<soap:Header/>
<soap:Body>
<web:findAddress>
<web:address>
<web:street>Avenida Paulista</web:street>
<web:houseNumber>1000</web:houseNumber>
<web:city>
<web:name>São Paulo</web:name>
<web:state>SP</web:state>
const string token = "SEU_TOKEN";
var address = new Address
{
street = "Avenida Paulista",
houseNumber = "1000",
city = new City { name = "São Paulo", state = "SP" }
};
var addressOptions = new AddressOptions
final String TOKEN = "SEU_TOKEN";
City city = new City();
city.setName("São Paulo");
city.setState("SP");
Address address = new Address();
address.setStreet("Avenida Paulista");
address.setHouseNumber("1000");
address.setCity(city);
final String TOKEN = "SEU_TOKEN";
City city = new City();
city.setName("São Paulo");
city.setState("SP");
Address address = new Address();
address.setStreet("Avenida Paulista");
address.setHouseNumber("1000");
address.setCity(city);
final String TOKEN = "SEU_TOKEN";
City city = new City();
city.setName("São Paulo");
city.setState("SP");
ResultRange resultRange = new ResultRange();
resultRange.setPageIndex(1);
resultRange.setRecordsPerPage(10);