Thanks for the help.
I try on the page you refer to test REST from the Service Directory?
Because if I tested the query works from the Service Directory.
I mention that my service uses a feature of land (polygons) located in a geodatabase sde, on the other hand uses a table in an IBM AS400 server that connects via OLEDB, then I made a Relate ArcMap between the feature of land and detail table. I work to check the site and navigate to the detail table using RelationshipQuery, but now I want that starting from a value stored in the table OLEDB can meet that property (polygon) is finally zooming it. In short the user places the name of the owner and should zoom the property.
I'm trying first doing a query to the table oledb and I imagine with the result I can somehow use the Id and meet Relashioship ObjectId belongs to the findings, that would be my concern as I use.
regards
IVAN