Buffer is not created if there are too many vertices in a polyline

Discussion created by miribsystematics-co-il-esridist Employee on May 17, 2013
Latest reply on Mar 21, 2014 by jeff.pace

Enclosed with an HTML file that is based on Esri sample : http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jssamples_start.htm#jssamples/util_buffergraphic.html
In my HTML (attached), using ArcGIS JavaScript API 3.4, when you create a polyline with around 40 vertices and try to create a buffer, it does not create it. In less than 40, it works fine. I guess the URL is too long but that's why there is a proxy, isn't it? Why does it work in the sample (with JavaScript API 1.6) and does not work in my code?

Thanks a lot,