Community
All Communities
Products
ArcGIS Pro
ArcGIS Survey123
ArcGIS Online
ArcGIS Enterprise
Data Management
ArcGIS Experience Builder
Geoprocessing
ArcGIS Web AppBuilder
ArcGIS Field Maps
ArcGIS Dashboards
ArcGIS StoryMaps
All Products Communities
Industries
Water Resources
Education
State & Local Government
Transportation
Gas and Pipeline
Water Utilities
Imagery and Remote Sensing (I&RS)
Roads and Highways
Natural Resources
Electric
Telecommunications
All Industries Communities
Developers
Python
JavaScript Maps SDK
Native Maps SDKs
ArcGIS API for Python
ArcObjects SDK (Retired)
ArcGIS Pro SDK
Developers - General
ArcGIS REST APIs and Services
ArcGIS Online Developers
Game Engine Maps SDKs
File Geodatabase API
All Developers Communities
Global
Comunidad Esri Colombia - Ecuador - Panamá
Czech GIS
ArcGIS 開発者コミュニティ
Europe
Asia Pacific
Americas
ArcNesia
Esri India
Comunidad GEOTEC
GeoDev Germany
ArcGIS Content - Esri Nederland
All Global Communities
All Communities
Products
Developers
User Groups
Industries
Services
Community Resources
Global
Events
Networks
Learning
ArcGIS Topics
View All Communities
ArcGIS Ideas
GIS Life
Community Resources
Community Help Documents
Community Blog
Community Feedback
Member Introductions
All Community Resources
Sign In
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show
only
|
Search instead for
Did you mean:
Cancel
Home
:
All Communities
:
Developers
:
ArcGIS API for Flex (Retired)
:
ArcGIS API for Flex Questions
:
Proxy in v2.1
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
Select to view content in your preferred language
Translate Now
Proxy in v2.1
Subscribe
4800
5
11-01-2010 11:52 AM
by
MattShetzer
Deactivated User
11-01-2010
11:52 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
I'm really struggling with the Proxy using SFV 2.1 and Windows Server 2008. I've followed the instructions at:
http://help.arcgis.com/en/webapi/flex/help/index.html#proxy.htm
with no luck.
When I ping my site:
http://server.petro-fs.com:8887/Proxy/proxy.ashx?ping
I receive a 403 - Forbidden: Access is denied.
I'm calling the Proxy from my config.xml with this:
<httpproxy>
http://server.petro-fs.com:8887/Proxy/proxy.ashx
<httpproxy>
What am I missing?
Thanks !
Matt Shetzer
Tags
(2)
Tags:
flex
web_developers
Reply
0
Kudos
All Posts
Previous Topic
Next Topic
5 Replies
by
DasaPaddock
Esri Regular Contributor
11-01-2010
01:28 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Have you also added useproxy="true" on the layer(s) that you want to use the proxy?
I'd try using a tool like HttpFox to see what the requests and responses are when you run the Viewer.
Reply
0
Kudos
by
MattShetzer
Deactivated User
11-01-2010
01:45 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
I am using the UseProxy command next to the layer I want to proxy.
When I run SFV I receive:
http response status: 200
Fault Code: Client.CouldNotDecode
Fault Info: Error #1085
Fault Details: null
When I remark out:
<httpproxy>
http://server.petro-fs.com:8887/Proxy/proxy.ashx
<httpproxy>
The error goes away. I'm really stuck and don't know where to look to from here.
The site is at:
http://server.petro-fs.com:8887/dev/
Matt
Reply
0
Kudos
by
DasaPaddock
Esri Regular Contributor
11-01-2010
01:48 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
That error means the xml is not well formed.
Try:
<httpproxy>
http://server.petro-fs.com:8887/Proxy/proxy.ashx
</httpproxy>
Reply
0
Kudos
by
MattShetzer
Deactivated User
11-01-2010
02:38 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Dasa,
Thank you so much. I've been looking at this until I'm blurry eyed, and missed that /.
Thanks for all your help !!
Matt
Reply
0
Kudos
by
DasaPaddock
Esri Regular Contributor
11-01-2010
03:07 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
One tip is to try and load
http://server.petro-fs.com:8887/dev/config.xml
directly in Firefox or IE. They are pretty good at showing where errors are in xml.
Reply
0
Kudos
Post Reply