Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nohe427 committed Jan 27, 2016
1 parent 8a1140c commit 1d9ba86
Showing 1 changed file with 59 additions and 1 deletion.
60 changes: 59 additions & 1 deletion soap-api/geocode-service-geocode-address/README.md
Expand Up @@ -11,4 +11,62 @@ You may import this xml and execute it in SoapUI (view free download here http:/
* Shows the structure of GeocodeAddress response
* Constructs PropertySetProperty as address to geocode
* This sample shows two method (method1 and method2) to geocode an address based on the way address PropertySetProperty is constructed
* This sample shows an alternative way to send soap request instead of using C#.Net or Java (C# code sample: view the Documentation link above)
* This sample shows an alternative way to send soap request instead of using C#.Net or Java (C# code sample: view the Documentation link above)

Service tested with:

[World Geocoding Service](http://geocode.arcgis.com/arcgis/services/World/GeocodeServer?wsdl)

### Method 1:

```xml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.esri.com/schemas/ArcGIS/10.1">
<soapenv:Header/>
<soapenv:Body>
<ns:GeocodeAddress>
<Address>
<PropertyArray>
<!--Zero or more repetitions:-->
<PropertySetProperty>
<Key>Address</Key>
<!--Optional:-->
<Value>3225 Springbank Ln, Charlotte, NC, 28226</Value>
</PropertySetProperty>
</PropertyArray>
</Address>
</ns:GeocodeAddress>
</soapenv:Body>
</soapenv:Envelope>
```

### Method 2:

```xml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.esri.com/schemas/ArcGIS/10.1">
<soapenv:Header/>
<soapenv:Body>
<ns:GeocodeAddress>
<Address>
<PropertyArray>
<PropertySetProperty>
<Key>Address</Key>
<Value>380 New York Street</Value>
</PropertySetProperty>
<PropertySetProperty>
<Key>City</Key>
<Value>Redlands</Value>
</PropertySetProperty>
<PropertySetProperty>
<Key>Region</Key>
<Value>CA</Value>
</PropertySetProperty>
<PropertySetProperty>
<Key>Postal</Key>
<Value>92373</Value>
</PropertySetProperty>
</PropertyArray>
</Address>
</ns:GeocodeAddress>
</soapenv:Body>
</soapenv:Envelope>
```

0 comments on commit 1d9ba86

Please sign in to comment.