I´m using the sample for default editor widget with the help of ArcGIS API for JavaScript. I replaced featurelayers with my own layer. It´s possible to update and delete features, but I can´t create/add new feature (console: Error: Unable to complete operation.). Can someone identify my problem ? Can it be problem with creating of OBJECTID for new feature (I hoped that it could be created automatically) or somewhere in capabilities of service ?
Try to setup a proxy page on your application.