Skip to Content
0
Former Member
Sep 30, 2009 at 11:49 PM

Using standard "findAll" operation of CAF Business Object in VC

17 Views

Hi,

I would like to ask if it is possible to make use of the standard "findAll" operation of a local Business Object modeled in CAF Core by exposing it as a Web service. Then I could use that Web service in Visual Composer to return a list of all the BO instances.

I have tried to choose the "Expose service as Web service" option of the BO but I did not know why I could not select "findAll", "findByMultipleParameters". It returned the error message "Improper operation message cardinality". The custom find operation I have added was not in the list too. So I guess only CRUD operation can be exposed. Am I right?

Apart from this, I have such a problem that I cannot expose additional CRUD operations after I have done that once. At the first time, I have exposed the operations "create" and "update" as Web service. After that, I realized I need to use "delete" too. But unfortunately the option "Expose service as Web service" is by now deactivated (grey). Why is this happening?

Regards,

Joon Meng