S A M P L E S
SOAP example requests and responses
This page contains SOAP example requests and responses for each ArcWeb
service method. See ArcWeb
services overview for quick links to overviews, method descriptions, and
notes for each service. See Object
descriptions for detailed descriptions of objects. Code examples are also
available in C#.NET , ColdFusion ,
Java ,
and VB.NET .
To see a SOAP example request and response, click an ArcWeb service name from
the top drop-down menu, then click a method name from the bottom drop-down menu.
Code examples appear in the Request and Response frames. To see a different
sample, click Clear to clear the code from the frames, then click an ArcWeb
service and method from the drop-down menus.
NOTE: These functional SOAP requests illustrate the basic capabilities of each method. Some optional parameters are not included.
Request
Response
Place Finder Web Service offers "find a place" functionality for your Internet applications. Use this Web service to input a place name and receive a ranked candidate list of place names and associated coordinates. Place Finder Web Service recognizes more than three million place names including geographic regions (such as continents, states, cities), natural features, and major landmarks and points of interest.
PlaceFinder
http://www.arcwebservices.com/services/v2006/PlaceFinder.wsdl
user@esri.com
Test
true
true
User
testuser
Request
true
testuser
ArcWeb:TA.Streets.NA
true
MapImage
1
1
MyToken
Response
0.0
-1.0
0.0
0.2
52428800
53548103
1164096000
1164096000
0.0
0.0
-1.0
0.0
0.2
0
53548103
1164096000
1164096000
0.0
user@esri.com
Test
true
true
User
testuser
Request
Response
3.0 Build 1
Request
dx
4326
-117.19
34.05
ArcWeb:TA.Streets.US
true
true
1
0
house
MyToken
Response
Redlands
US
114
92373
CA
Norwood St
Request
Redlands
US
380
Pine Ave
92373
CA
New York St
ArcWeb:TA.Streets.US
true
true
1
0
MyToken
Response
Redlands
US
Pine Ave
92373
CA
New York St
New York St AT Pine Ave, Redlands, CA 92373
X000
4326
-117.1956
34.052
0.0
false
EXACT
1
Request
198.102.62.22
ArcWeb:DE.IP.World
false
false
1
0
MyToken
Response
Redlands
US
CA
Redlands, CA, US
4326
-117.151
34.006
0.0
false
EXACT
1
Request
909-793-2853
ArcWeb:TI.PhoneNumber.US
false
false
1
0
MyToken
Response
Redlands
US
380
92373
CA
New York St
Business: ENVIRONMENTAL S
Pacific Time Zone
CAP-POTS
4326
-117.195651
34.05652
0.0
false
EXACT
1
Request
ArcWeb:TA.Streets.US
MyToken
Response
US
United States
ArcWeb:TA.Streets.US
true
true
true
house
intersection
range
Request
Response
3.0 Build 1
Request
dx
4326
-117.19
34.05
dx
4326
-117.18
34.05
ArcWeb:TA.Streets.US
true
true
2
0
house
MyToken
Response
Redlands
US
114
92373
CA
Norwood St
Redlands
US
389
92373
CA
S 4th St
Request
Redlands
US
380
Pine Ave
92373
CA
New York St
Redlands
US
340
92374
CA
N Eureka St
ArcWeb:TA.Streets.US
true
false
3
0
MyToken
Response
Redlands
US
Pine Ave
92373
CA
New York St
New York St AT Pine Ave, Redlands, CA 92373
X000
4326
-117.1958
34.0519
0.0
false
EXACT
1
Redlands
US
340
92374-3170
CA
N Eureka St
340 N Eureka St, Redlands, CA 92374-3170
S80
4326
-117.186495
34.058344
0.0
false
EXACT
1
Request
198.102.62.22
63.241.153.170
ArcWeb:DE.IP.World
false
false
2
0
MyToken
Response
Redlands
US
CA
Redlands, CA, US
4326
-117.151
34.006
0.0
false
EXACT
1
Phoenix
US
AZ
Phoenix, AZ, US
4326
-112.073
33.449
0.0
false
EXACT
1
Request
909-793-2853
775-337-1195
ArcWeb:TI.PhoneNumber.US
false
false
2
0
MyToken
Response
Redlands
US
380
92373
CA
New York St
Business: ENVIRONMENTAL S
Pacific Time Zone
CAP-POTS
4326
-117.195651
34.05652
0.0
false
EXACT
1
Reno
US
89501
NV
Business: ENVIRONMENTAL SYS RESEARCH
Pacific Time Zone
VUP-POTS
4326
-119.811179
39.526261
0.0
false
EXACT
1
Request
ArcWeb:NT.Streets.US
MyToken
Response
US
United States
ArcWeb:NT.Streets.US
true
true
true
house
intersection
range
Request
Response
3.0 Build 1
Request
username
password
1440
Response
MyToken
Request
username
password
Response
MyToken
Request
Response
3.0 Build 1
Request
MyToken
Response
1440
Request
DataSource
MyToken
Response
255
title
0
yes
Name of the content.
string
...
Request
MyToken
Response
AddressFinder
AddressManager
MapImage
PlaceFinder
PlaceFinderSample
Report
RouteFinder
SpatialQuery
Utility
WirelessLocation
Request
Layer
testuser:MySalesDataFileName09222005122207
MapImage
MyToken
Response
title
Temp New Map Data Source as of 2005-09-21
publication_date
2005
summary
[null, 2005]
1127372410
canCopy
true
maxCost
2.0
permission
notShared
browseGraphic
http://redlandsarcweb.esri.com/out/bgraphics/testuser_MapImage_10F89CD7_E8E1_CE4A_A692_3A4B5E3B8CCE_tmp1127372414931.gif
remote
false
4326
-66.0
72.0
-170.0
16.0
DataSource
testuser:MapImage_10F89CD7-E8E1-CE4A-A692-3A4B5E3B8CCE.tmp
MapImage
Request
Layer
ArcWeb:1-Day_Forecast_MX
MyToken
Response
title
North American 1-Day Forecast Meteorlogix
publisher
Meteorlogix
publication_date
2005
summary
This is the 1-day forecast point
layer from Meteorlogix data. The data includes forecast labels for fair, foggy, freezing rain, rain,
rain showers, rain-snow mix, snow, snow showers, thunderstorms, very cold, very hot, and windy cond
itions.
progress
Completed
update_frequency
Continual
extent_description
North America
usage_constraints
License
theme_keywords
weather, forecast, prediction
place_keywords
North America, Canada, United States, USA, U.S., US
industries
[Banking / Insurance][Federal Government][Homeland Security][Location-Based Services][Media][Real Estate][State & Local Government][Transportation / Logistics][Utilities]
category
Weather
1114395345
dataType
1
permission
public
dataProductName
Meteorlogix data
4326
-66.0
72.0
-170.0
16.0
Layer
ArcWeb:1-Day_Forecast_MX
Request
DataFile
cross
PlaceFinder
MyToken
Response
Request
DataFile
title
MyToken
Response
10032005
ArcWeb_SalesBoundaries.zip
...
wssecurity
Request
Response
3.0 Build 1
Request
DataSource
0
0
service
false
public
3
0
publisher
false
PlaceFinder
overlaps
MyToken
Response
publisher
ESRI
1111996800
4326
180.0
90.0
-180.0
-90.0
DataSource
ArcWeb:ESRI.Gazetteer.World
PlaceFinder
...
4
Request
DataFileDefault
myStreet
New York Street
-117.2053
34.0653
1
true
MyToken
Response
100475483
Request
title
test title
publisher
test publisher
publication_date
test publication date 03/19/2005
summary
test summary
false
Street label
myStreet
1
1
DataFileDefault
MyToken
Response
Request
GeocodeFeatures
MyToken
Response
Request
DataFileAll
100475484
MyToken
Response
Request
GeocodeFeatures
false
CITY = 'Albany'
MyToken
Response
1133569153
CITY
Albany
PHONE
(518) 465-7551
STATE
New York
STREET
200 McCarty Avenue
URL
http://albany.fbi.gov/
ZIP
12209
100475466
1133569153
1
Request
GeocodeFeatures
100475466
ArcWeb:TA.Streets.US
false
false
false
MyToken
Response
Albany
US
200
12209
NY
McCarty Ave
200 McCarty Ave, Albany, NY 12209
S80
4326
-73.774025
42.635158
0.0
false
EXACT
1
Request
MyToken
Response
255
title
0
yes
Name of the content.
string
...
Request
DataFileDefault
MyToken
Response
title
test title
publisher
test publisher
publication_date
test publication date 03/19/2005
summary
test summary
4326
false
Street label
myStreet
1
1
DataFileDefault
1133569203
4326
-117.205298
34.065298
-117.205298
34.065298
1
4326
-117.205298
34.065298
-117.205298
34.065298
1133569273
-1
-1
31
Request
FindFeatures
STATE
0
0
MyToken
Response
Alabama
Alaska
Arizona
Arkansas
CA
California
Colorado
Connecticut
D.C.
Florida
Georgia
Hawaii
Illinois
Indiana
Kentucky
Louisiana
Maryland
Massachusetts
Michigan
Minnesota
40
Request
Response
3.0 Build 1
Request
DataFileDefault
myStreet
myStreet Renamed
MyToken
Response
Request
DataFileDefault
title
Title Updated
publisher
Publisher Updated
publication_date
Publication Date Updated
summary
Summary Updated
false
Street Updated
updatedStreet
2
1
DataFileDefault
MyToken
Response
Request
GeocodeFeatures
100475466
MyToken
Response
Request
dx
4326
-116
36
-118
-20
0
500
500
dx
4326
-117.19
34.05
MyToken
Response
202
17
Request
dx
4326
-116
36
-118
-20
0
500
500
28
80
MyToken
Response
4326
-117.888
27.04
Request
255,0,0
true
0,100,100
0
dx
4326
-117.19
34.05
0.4
km
true
125,0,0
0
1
ArcWeb:TA.Streets.US
500
500
false
tangerine
1
MyToken
Response
4326
-117.19
34.05
4326
-117.18566
34.05434
-117.19434
34.04566
7296
http://www2.arcwebservices.com/out/maps/TA_Streets_US_tg_numap17598428126.gif
4326
Request
255,0,0
true
0,100,100
0
dot
dx
4326
-117.19
34.05
0.4
km
true
125,0,0
0
true
1
jpg
500
500
0,255,0
ArcWeb:ESRI.Simple.Icons
MyStore
0
true
Arial
0,0,0
10
underline
true
right
0
0,100,100
true
0.4
top
dx
4326
-117.19
34.05
cross
0
false
tangerine
1
MyToken
Response
4326
-117.19
34.05
4326
-117.18566
34.05434
-117.19434
34.04566
7296
Request
-117.195533
34.057058
500000
ArcWeb:ESRI.DemographicsByZipCode.US
false
0
0
0
0
0
0
0
0
false
92373
1000
0
0
false
MyToken
Response
xsi:type='xsd:string'>http://www1.arcwebservices.com/out/maps/ESRI_Thematic2005_US_blackmap2977636187.gif
4326
-117.19553
34.05706
4326
-116.95759
34.295
-117.43348
33.81911
499998
http://www1.arcwebservices.com/out/maps/ESRI_Thematic2005_US_blackmap2977636186.gif
4326
Request
-117.195533
34.057058
1000000
ArcWeb:ESRI.DemographicsByZipCode.US
false
0
0
0
0
0
0
0
0
false
AVGHHINC
0
false
MyToken
Response
http://www2.arcwebservices.com/out/maps/ESRI_Thematic2005_US_pimap10888428128.gif
4326
-117.19553
34.05707
4326
-116.71964
34.53296
-117.67143
33.58117
1000006
http://www2.arcwebservices.com/out/maps/ESRI_Thematic2005_US_pimap10888428127.gif
4326
Request
http://www1.arcwebservices.com/out/maps/FEMA_Flood_wheatmap168938822.gif
0.5
http://www1.arcwebservices.com/out/maps/TA_Streets_US_nt_blackmap2976136362.jpg
0.5
png
MyToken
Response
http://www1.arcwebservices.com/out/maps//MergedImage1133562458882.png
Request
-117.106667
34.130556
-117.256667
33.980556
0
ArcWeb:TA.Streets.US
false
MyToken
Response
4326
-117.18167
34.05556
4326
-117.10667
34.13056
-117.25667
33.98056
157599
http://www1.arcwebservices.com/out/maps/TA_Streets_US_nt_mangomap2596736398.gif
4326
Request
ArcWeb:ESRI.Simple.Icons
MyToken
Response
circle
cross
square
star
triangle
Request
-117.106667
34.130556
-117.256667
33.980556
0
ArcWeb:TA.Streets.US
false
MyToken
Response
11335652356721341621031
Request
ArcWeb:ESRI.DemographicsByCounty.US
MyToken
Response
AVGHHINC
AVGHHINC90
....
Request
-117.195533
34.057058
500000
ArcWeb:ESRI.DemographicsByZipCode.US
false
0
0
0
0
0
0
0
0
false
92373
1000
92354
2000
92408
3000
92404
4000
92324
5000
0
0
false
MyToken
Response
http://www1.arcwebservices.com/out/maps/ESRI_Thematic2005_US_mangomap2594536523.gif
4326
-117.19553
34.05706
4326
-116.95759
34.295
-117.43348
33.81911
499998
http://www1.arcwebservices.com/out/maps/ESRI_Thematic2005_US_mangomap2594536522.gif
4326
Request
Response
3.0 Build 1
Request
-117.106667
34.130556
-117.256667
33.980556
0
ArcWeb:TA.Streets.US
false
MyToken
Response
11335652356721341621031
Request
Redlands
ArcWeb:ESRI.Gazetteer.World
US
dx
4326
-116
36
-118
-20
G,J
1
0
exactMatch
MyToken
Response
Redlands, California, United States
Redlands
4326
-117.0517
34.1016
-117.2499
34.0038
4326
-117.186
34.0563
7.0
G
false
EXACT
1
Request
ArcWeb:TA.Landmarks.US
MyToken
Response
US
United States
ArcWeb:TA.Landmarks.US
D10
Military Installations
D31
Hospitals
D37
Prisons
D43
Colleges
D61
Major Retail Centers
D64
Amusement Parks
D65
State Capitols
D67
Stadiums and Performance Areas
D81
Golf Courses (PGA/LPGA)
D82
Veteran Cemeteries
Request
Response
3.0 Build 1
Request
Redlands
ArcWeb:ESRI.Gazetteer.World
US
dx
4326
-116
36
-118
-20
G,J
1
0
exactMatch
Response
Redlands, California, United States
Redlands
4326
-117.0517
34.1016
-117.2499
34.0038
4326
-117.186
34.0563
7.0
G
false
EXACT
1
Request
Response
AA
Aruba
AC
Antigua and Barbuda
.. .
Request
Response
3.0 Build 1
Request
PublishData
92373
100
MyToken
Response
http://www2.arcwebservices.com/out/report/pdf//pdfdoc__1132693094373F3C57B6B-98F5-D2EC-FD7C-463490861BA0.pdf
Request
MyToken
Response
PublishData
Request
0
-117.19
34.05
-117.33
34.15
-117.54
34.25
3
-117.19
34.05
PDF
ArcWeb:ESRI.DemographicAndIncome.US
HHI2534_FY
MyToken
Response
PDF
http://www2.arcwebservices.com/out/report/pdf//pdfdoc__1133224878163D1794732-D07D-D5C8-3BD6-ACF9B4227523.pdf
Request
89509
zip
ArcWeb:ESRI.19902000Comparison.US
PDF
LocationName
100
ArcWeb:ESRI.CEX_Medical.US
X8023_I
MyToken
Response
PDF
http://www1.arcwebservices.com/out/report/pdf//pdfdoc__1132694670325FAE023D2-5F68-A9B5-1B5F-49DC0D676991.pdf
Request
ArcWeb:ESRI.CEX_Medical.US
MyToken
Response
Consumer Expenditure
0
X8023_I
0
Medical Services - Lab Tests/X-rays: Index
RATIO
...
Request
MyToken
Response
1990 Data in 2000 Geography
2005/2010 Demographics
Business
Census 2000
Consumer Expenditure
Market Potential
Retail MarketPlace
Tapestry
Request
06
null
Redlands
zip
2
0
MyToken
Response
0
ID
0
-
0
NAME
0
92373
Redlands
92374
Redlands
2
Request
getCustomSiteReport
MyToken
Response
Address1
Specify the value of your site address line 1 (ex: 123 New York Street)
...
Request
0
-117.19
34.05
-117.33
34.15
-117.54
34.25
3
-117.19
34.05
ArcWeb:ESRI.DemographicAndIncome.US
PDF
false
MyToken
Response
ArcWeb:ESRI.DemographicAndIncome.US
PDF
http://www1.arcwebservices.com/out/report/pdf//pdfdoc__1133225374970351A2DAD-A204-1870-D0CC-3255DC4A4F0F.pdf
Request
92373
zip
ArcWeb:ESRI.19902000Comparison.US
PDF
Address1
100
MyToken
Response
ArcWeb:ESRI.19902000Comparison.US
PDF
http://www2.arcwebservices.com/out/report/pdf//pdfdoc__113269432150647024B41-D0C0-42A0-A72F-6827992C91B2.pdf
Request
Tapestry
MyToken
Response
2005 Tapestry Households
2005 Tapestry Population
Request
0
-117.19
34.05
-117.33
34.15
-117.54
34.25
3
-117.19
34.05
ArcWeb:ESRI.ThematicMap.US
PDF
Zip
0
POP28
MyToken
Response
ArcWeb:ESRI.ThematicMap.US
PDF
http://www1.arcwebservices.com/out/report/pdf//pdfdoc__113322520446055400206-F58F-824E-501A-4281F00F3E44.pdf
Request
Tapestry
MyToken
Response
Tapestry
Pop:Top Rung
POP01
...
Request
Response
3.0 Build 1
Request
Business
MyToken
Response
Business
Total Businesses
G01_Bus
...
Request
start
dx
4326
-117.195533
34.057055
end
dx
4326
-117.185912
34.058282
true
ArcWeb:NT.Streets.NA
english
true
false
false
false
dx
4326
-116
36
-118
-20
50
true
10.9
true
dx
4326
-117.19
34.05
shortest
ArcWeb:TC.Traffic.US
3
km
MyToken
Response
0
1
Depart start
4326
-117.195618
34.057053
-117.195618
34.057053
0.0
0.0
Go North on New York St
Drive 0.3 kilometer(s) ~ < 1 minute
4326
-117.195618
34.05954
-117.19566
34.057053
0.28
1.0
Turn right on W Redlands Blvd
Drive < 0.1 kilometer(s) ~ < 1 minute
4326
-117.19504
34.05954
-117.19565
34.05939
0.06
1.0
Bear left on W Stuart Ave
Drive 0.8 kilometer(s) ~ 1 minute(s)
4326
-117.1864
34.05968
-117.19504
34.05939
0.8
1.0
Turn right on N Eureka St
Drive 0.2 kilometer(s) ~ < 1 minute
4326
-117.185963
34.05968
-117.1864
34.058251
0.17
1.0
Arrive at end
4326
-117.185963
34.058251
-117.185963
34.058251
0.0
0.0
km
1.31
2.0
4326
-117.185963
34.05968
-117.19566
34.057053
Driving distance: 1.3 kilometer(s)
Driving time: 2 minute(s)
Request
MyToken
Response
Danish
Dutch
English
French
German
Italian
Norwegian
Portuguese
Spanish
Swedish
Request
Response
3.0 Build 1
Request
dx
4326
-116
36
-118
-20
ArcWeb:ESRI.Airports.World
km
false
false
true
TYPE
10
0
TYPE
TYPE='B'
10
km
MyToken
Response
1
TYPE
0
Airport Type*
String
B
B
2
Request
dx
4326
2
-117.19
34.05
1
ArcWeb:ESRI.Cities.US
km
false
true
true
RANK
5
0
RANK
RANK>5
10
km
MyToken
Response
22
RANK
3
City Rank
Float
12
LONGITUDE
6
Longitude
Float
12
LATITUDE
6
Latitude
Float
8
-117.2315
34.0482
7
-117.136
34.0699
8
-117.172
34.1097
8
-117.1229
34.0633
6
-117.262
34.0483
7
Request
dx
4326
-117.19
34.05
ArcWeb:Census.States.US
miles
true
false
true
STATENAME
10
0
STATENAME
STATENAME='Pennsylvania'
MyToken
Response
32
STATENAME
0
State name
String
12
DISTANCE
2
Distance in given units from a given point
Float
Pennsylvania
2563.97
1
Request
ArcWeb:USGS.Earthquakes.World
MyToken
Response
7
TIMESTAMP
0
Time of earthquake
DATE
...
ArcWeb:USGS.Earthquakes.World
Request
Response
3.0 Build 1
Request
dx
4326
-117.19
34.05
0.4
km
true
0
MyToken
Response
dx
4326
0
-117.19
34.0536060957262
-117.189924391687
34.0536055465004
...
3
Request
dx
4326
-117.19
34.05
0
1
1
km
0
true
0
MyToken
Response
dx
4326
0
-117.19
34.0590152393156
-117.19
34.0590152393156
...
3
Request
miles
dx
4326
-117.19
34.05
2
1
45
false
3
MyToken
Response
dx
4326
0
-117.169531784377
34.0704682156227
-117.191371110461
34.0309028948388
-117.209097105161
34.0486288895383
3
Request
dx
4326
-116
36
-118
-20
MyToken
Response
PROJCS["Transverse Mercator",GEOGCS["WGS84",DATUM["WGS84",SPHEROID["WGS84",6378137.0,298.257223563]],PRIMEM["GREENWICH",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["Central_Meridian",-117.0],PARAMETER["Latitude_Of_Origin",8.0],PARAMETER["Scale_Factor",1.0],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],UNIT["METERS",1.0]]
111325.181314171
3101353.47827118
-111325.180963784
-3097330.33949704
Request
ArcWeb:GlobeXplorer.Premium.World
dx
4326
-116
36
-118
-20
500
500
MyToken
Response
2001-06-01
Request
dx
4326
-117.19
34.05
dx
4326
-117.19
34.05
km
0
true
MyToken
Response
0.0
dx
4326
0
-117.19
34.05
-117.19
34.05
2
Request
ArcWeb:TA.Streets.NA
dx
4326
-117.19
34.05
1
km
MyToken
Response
dx
4326
0
-117.197392
34.044555
...
3
Request
geogcs
MyToken
Response
37203
GEOGCS["GCS_Everest_India_Nepal",DATUM["D_Everest_India_Nepal",SPHEROID["Everest_Definition_1962",6377301.243,300.8017255]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]
37212
GEOGCS["GCS_Beacon_E_1945",DATUM["D_Beacon_E_1945",SPHEROID["International_1924",6378388.0,297.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]
...
Request
Response
3.0 Build 1
Request
dx
4326
-116
36
-118
-20
dx
4326
MyToken
Response
dx
4326
-116.0
36.0
-118.0
-20.0
Request
dx
4326
0
-117.19
34.05
1
dx
4326
MyToken
Response
dx
4326
0
-117.19
34.05
1
Request
dx
4326
-117.19
34.05
dx
4326
MyToken
Response
dx
4326
-117.19
34.05
Request
ArcWeb:ESRI.LocationTest.NA
909-555-1000
low
meters
MyToken
Response
high
4326
-117.195533
34.057055
1.0E-4
1133208960
Request
ArcWeb:ESRI.LocationTest.NA
9095551000
MyToken
Response
Online
Request
LocationDataFile
1136188800
1136102400
100
300
km
MyToken
Response
1136152800
1136124000
4326
-117.195535063744
34.0570614337921
Request
LocationDataFile
1262304000
1104537600
true
true
true
true
km
MyToken
Response
268.7
104.570706
4326
0
-117.195535063744
34.0570614337921
-117.199579000473
34.0483684539795
-117.442491173744
33.922412276268
-118.265438556671
34.036877155304
-118.265438556671
34.036877155304
2
2
Request
Response
3.0 Build 1
Request
ArcWeb:ESRI.LocationTest.NA
9095551000
Sample SOAP message
MyToken
Response