Skip to Content
0
Sep 17, 2007 at 11:52 AM

Entity Services test in service browser

21 Views

Hello,

The problem that I'm encountering is a quite strange one (as all problems, before being solved:)). I have a rather complex structure of Entity Services that relate between each other. All built and deployed on the J2EE Server. No errors, no warnings. Then I wanted to insert some new entries in the tables, so I navigated to the service in the service browser and in the newly opened WebDynpro interface clicked on New. All fine so far, but the table, in which i want to insert, has a relation to another table, which already have some values inserted. The related table has also a number of custom defined operations like FindById. For unknown reason however, I can see only the action readByCustomKeys in the related table and thus I can't select the key to which my new entry has to be related. The workaround is of course to go to the other table and copy the key of the field to which I want to relate. So to sum up, can someone tell me first why I see only the readByCustomKeys action in the related Actions dropdown and second why even after using this action and typing an existing CustomKey I don't get any results back. What I noticed is that if I type a wrong CustomKey (non existing) I get an error that looks like this:

ERROR. Incorrect query result size for ObjectClass class <classname>

A quick tip is highly appreciated and of course with points rewarded:)

Greetings,

Todor