Hi Ganesh,
Thanks for the reply. I tried the solution you have suggested but could not have the layers added to the map.
My requirement is to add WCS and WFS layer using the respective URL just like WMS services are added using javascript API.
The problem i am facing is that the URL returns the service capabilities when we check the result in firebug. The expected response is an image in case of WCS service and feature set in case of WFS service.
I realised that same can be achieved using open layers but not using ESRI java script API. If you can provide some code snippet in
java script, it would be a great help.
Rgds,
Pankaj Roy