How to access map service from GeoServer and can we use that service in ArcGIS API ?

Discussion created by mustafa646 on Feb 11, 2011
I have installed GeoServer and publish one shapefile on it. Now my question is, How can i access that shapefile from GeoServer? and can i work with that resource (shapefile) with ArcGIS API. As we can access any resource from ArcGIS sample server like the code below:

queryTask = new esri.arcgis.gmaps.QueryTask("sampleserver1.arcgiso;

Similarly, which piece of code i need to access my published file from GeoSAerver ?