I have feature classes and tables having relationship shored in them.(Feature classes has id as which is primary key in other table ). I want to publish the Feature class as a service on arcgis server 10.1. I want to show the value in place of the id's.what is the best way to do it.
I'm not 100% clear on your intentions, but
I want to show the value in place of the id's.
makes it sound like you should create a join between the featureclass and table. This will add the table's VALUE field to the featureclass's attribute table, allowing you to access the VALUE via ArcGIS Server.