Your post is lacking a lot of details.
thanks for the reply
1. layer is of point geometry
2. I am using 3.27 jasvascript api
i am using ArcGISDynamicMapServiceLayer and creating
var textSymbol = new TextSymbol('d', new Font("20pt", Font.STYLE_NORMAL, Font.VARIANT_NORMAL, Font.WEIGHT_BOLD, "gecefont")); textSymbol.setColor(new Color([255,255,0,0.5]));
renderr and attaching to drawingoption of layer
I am able add textsymbol as graphic to map
but when i attaching same symbol to renderr and use it in drawing options of layer
at server i am getting error
'Unable to instantiate class for xml schema type: esriTS'
OK, I don't see the same error as you do but I definitely can verify that setting the layers renderer to a TextSymbol does not work for a ArcGISDynamicMapServiceLayer.
Unable to instantiate class for xml schema type: esriTS
what does that mean any idea
Normally I would see something like that if you are trying to convert JSON to a symbol and something was wrong in the JSON.
Retrieving data ...