ApplyEdits failing for updates

588
3
07-22-2010 10:07 AM
RaviKonaparthi
New Contributor II
Hi All,

I am facing a strange problem while working with feature layers. I am able to POST request for feature layer for adds but when i use applyedits for updates using POST the proxy  file throws an exception.
This feature is working for me till couple of days ago and all of sudden updates using POST is failing and i am using proxy.ashx for posting data.

Can any one help me on this? i am attaching the screen shots of the request from firebug.

Regards,
Ravi.
0 Kudos
3 Replies
by Anonymous User
Not applicable
Original User: geodan7

I'm also having a problem applying edits for updates. Were you able to resolve your issue? I'm able to add and delete features, but updates are failing. I tried looking at the FeatureEditResult object...but for updates...it's just 'null'... any ideas?
0 Kudos
RaviKonaparthi
New Contributor II
Hi,

This is because of the organizational proxy settings (firewall). We need to bypass the ip from the firewall. Then POST operations will work.

Regards,
Ravi.
0 Kudos
by Anonymous User
Not applicable
Original User: geodan7

My issue was much simpler...the setAttributes method was removing my objectID from the feature...just had to make sure I include it.
0 Kudos