Skip to Content

Problem with creating callable object for CAF core application

I have created a simple CAF core application and deployed into my J2EE sever. while try to create a callable object for the CAF application in Guided procedure, I am able to see only the CAF application and the service & Method names are not showing up. I have configured the EJB endpoint alias of my J2EE server correctly. Can some one help me to understand, why the CAF service & method name are not showing up in the Callable object wizard ?

Add a comment
10|10000 characters needed characters exceeded

Related questions

9 Answers

  • Best Answer
    Posted on Oct 03, 2006 at 02:29 PM

    Hi Austin,

    again a very interesting information. Is this realy the only way to use entity services in gp? Or is there another way?

    As you know I've engaged a lot of time in the Service- and UI-Layer. Now I try to connect these layers with gp. Currently I know only two possiblities. The first one is to use ui patterns. But who has disposal for an output parameter "key"? Unfortunately this is the only output parameter which is supported. And now you tell us, that the second possibility can't use entity services in gp either. I'm a little bit frustrated about this all. But maybe I have missunderstood something. Can you explain me the SAP idea of connecting the three layer of caf? Who can I build realy usefull and complex applications with CAF?

    Hope you can help out again.

    Kind regards

    Martin

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Martin,

      There is also another way to expose your Entity Service to GP. You can "Remote Enable" it and expose it as a Web Service. Once this is done, then you can create a Web Service Callable object to access your Entity Service. If you need instructions how to do this, please create another message (since it is a different topic).

      Regards,

      Austin.

  • Posted on Oct 02, 2006 at 02:04 PM

    Unfortunately I've no solution. But I've the same problem and hope for an solution by this thread. Are you using "22" target="_blank">www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f62b42da-0c01-0010-d6b8-ab0999eabdc2">22 Creating a Callable Object - Composite Application Service (GP), too?

    Kind regards

    Martin

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 02, 2006 at 03:59 PM

    Hi Velu,

    Is your J2EE Engine on a remote machine? If it is local, you do not need to create the EJB endpoint alias. Instead, see the "Browse Locally" table at the bottom of the screen.

    Regards,

    Austin

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 02, 2006 at 04:00 PM

    Martin,

    Yes. I am using a different CAF Core application and I already looked at the tutorial ( https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f62b42da-0c01-0010-d6b8-ab0999eabdc2 ). It works only for the SAP delivered CAF core objects. I am also looking for some one can share their inputs on the same ?

    Regards,

    Velu

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 02, 2006 at 04:05 PM

    Austin,

    I am trying with J2EE server installed on a remote system. The EJB endpoint alias is working fine. The only problem is, able to see only the SAP core application and its services & methods. It is also showing the custom application in the wizard, but the problem is, not showing the services & methods for the same ?

    Regards,

    Velu

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 02, 2006 at 04:25 PM

    Austin,

    Yes. I am able see my CAF core application in the service browser and I did the testing also thru the same. I also tried remote login to the J2EE sever and lunch the portal page from the local host and tried the same scenario. In that case also I am only able to navigate to the application->Service->Method for the SAP delivered CAF applications. During the CAF core, is it some where do we need to mention that this CAF core is going to be used in Guided procedure ?

    Regards,

    Velu

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 02, 2006 at 04:46 PM

    Austin,

    Yes. My guided procedures running on the same machine as my CAF core . I developed & deployed CAF Core thru NWDS(IDE) which is running on a remote system. Thanks.

    Regards,

    Velu

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 02, 2006 at 05:28 PM

    Hi Austin,

    I try to explain it by a step by step guide.

    1.) Configuration of the Endpoint

    2.) Create an Callable Object, Type Service -> Composite Application Service

    3.) Choose one Endpoint

    4.) Choose the composite application

    5.) Here you can choose an application, an application service and the method/operation.

    And here is our problem. If you select an application without any application services the second and third columns are empty. What is the reason, that the second column isn't showing the entity services of the selected composite application, too?

    Kind regards

    Martin

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 03, 2006 at 02:10 AM

    Austin,

    I am using the Entity & External services(RFC) as part of my CAF core and trying to build a GP callable object for the same. As per your input, if it only works for "Application Services", the SAP how-to guide shows a step by step configuration with entity & external service and creating GP callable object using the same. Can you please look into this tutorial link (https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f62b42da-0c01-0010-d6b8-ab0999eabdc2 )? Thanks.

    Regards,

    Velu

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Velu,

      This tutorial shows how to configure the "CourseAppService" which is an Application Service, not an Entity Service. You need to wrap your Entity Service in an Application Service in order to call it from a Callable Object.

      Regards,

      Austin.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.