Do any of these samples provide the functionality you're looking for? If so, you might want to look into purchasing the Roads and Highways extension for ArcGIS Server
http://roadsandhighwayssample.esri.com/roads/samples/
Here you can tried this soe :http://www.arcgis.com/home/item.html?id=e3bfa7c991e34aa8872c937ca9169507