Common CAF Services?

Hi as of CAF's nature, reusability must be an essential characteristic of CAF Service. Just imagine a business expert wants to find an action in GP to validate a product catalog sent in the format of an european standard, say BME, such task just involves a callable object which wraps a CAF service. For us developers, it will be cheerful to find out such service already exists, what we have to do is just wrapping it in a callable object and release an action which calls this callable object. The business expert from our customer will get the action delivered from SAP.
So the question is: Is there such central place I can look for common CAF services? Like UDDI for WebServices?
Thanks,
Ge

cheerful? well you're probably right. But i think at this point it's more like wishful thinking.
The good part of the story is that the need for developer to write services (whether they're enterprise class services or utility or core or coumpound or wrapper) is more true than ever until SAP and any other business aplication vendors will provide their respective Service Repository fully garnished with substantial and comprenhensive list of services. In SAP case, it should come with the next version of Netweaver, the Business Process Platform with the Enterprise Service Repository

Similar Messages

  • Common database service - CAF

    Hi all,
    with CAF i have the possibility to access different databases (local, remote) -> CRUD-methods.
    Is it possible to have one CAF service which provides access to differenct/all databases?
    If yes -> How to do this?
    regards

    Hi,
    1) You can create a Business Object(Entity Service) with only one persistency(Local or Remote).
    2) If you want to access data from multiple data bases say MySql etc, You create a seperate Web Service for each of the databases. Suppose, If you want to get list Employees from MySql DB then write a WebService for doing that.Similarly write a Web Service for each DB. Then Map all these Web Servcies to a single application service.It wiil create opertions corrsponding to those Web service operations in the Application service. Then write a seperate application service operation and in that operation call the Web service operations according to your requirement.

  • CAF service Core migration

    Hallo Experts:
    I want to migrate my application Service, entity service (CAF service core) from 7.1 SP10 to 7.1 Enhancement.
    I copy the following folders
    myproj/dictionary
    myproj/ear
    myproj/ejbmodel
    myproj/metadata
    myproj/permissions
    into the new workspace and synchron the dc every project used.
    Afterwards I try to compile all the projects but I got the error as following:
    Problems with dependent DCs of myproj/meta[used component sap.com/tc/bi/bp/mmrbuild in compartment 'SAP_Build' is not synced used]
    Problems with dependent DCs of myprojmetadata [used component sap.com/tc/bi/bp/mmrbuild in compartment 'SAP_BUILDT' is not synced used.  (used by : ../myproj/metadata (MyComponents))]
    Cannot create local DCProxy for DC that is neither synched nor local-only :SAP_BUILDT:sap.com/tc/bi/bp/mmrbuild
    Any ideas to fix this problem?
    Are there any documents about migration CAF services (application Service, entity Service, bzw. external Services)?
    I do the migration because I have the problem with Web service call to external.  com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. Empty node passed to deserializer [com.sap.engine.services.webservices.jaxrpc.encoding.primitive.DateTimeSD] which is not acceptable.
    This error occurs after our server is from 7.1 into 7.1 Enhancement upgraded. Thus I think I do the migration of CAF service up to the 7.1 Enhancement to resolve this problem.
    Thanks for any hints!
    Nice Regards!
    Ping

    mapping CAF entity attributes to External service attributes is limited. You cannot defiend nested structures on the CAF entity side. You cannot map collection structures between CAF entity and external service.
    The solution at least in nw04s is to create an application service on top of the entity and do the mapping via java coding.
    CAF is useful if you need local data persistency. If you just need a service layer abstraction (wrapper layer) to sub-systems, without additional data or logic, it can be a little cumbersome to add CAF between the UI or Process Layers and the Service Layer. But at the end it depends on your solution architecture. It'll make sense if your UI or Process Layer is very different (technologywise) from your Service Layer.

  • Update CAF Services

    Hi everybody,
    I have a question about updating CAF services (both external and application services)
    A java WebDynpro UI that connects through CAF to a CRM backend.
    There are 4 application services which use the external services. These external services connect to the backend and are based on RFC's from the backend.
    Now I need to add some import parameters to an RFC. This will resolve in the fact that the external service, application service, webservice, java WD model... will need to be modified.
    How do I start with this?
    I can't seem to find functionality to just "regenerate" all of these things.
    In my eyes the only option I have is to
    1: delete the external service
    2: re-import the deleted external service
    3: make modifications to the implementation of the application service
    I've already tried these steps. And when I do these steps, a lot of errors are generated in the ejb module of the caf project. (The virtual interfaces of the webservices all give errors)
    What am I doing wrong? And is there any way to regenerate the webservices without having to delete them and regenerate them?
    Thank you
    Kind regards

    No, In case u r making changes in the imported RFC's then that must be reimported into the Composite Application. Which needs to be redeployed with the exposed Application services. And then  u need to reimport these in the WebDynPro and deploy it again.
               These is no functionality to regenerate all these things at one go.
    Hope this makes the things clear.
                But most importantly dont forget to take the backup of the code before making any changes.

  • Calling CAF services in JSP

    Hi,
    We need to use CAF service as the business object in JSP application.
    Please let us know weather it is possible or not?. If it is possible could you please provide some information(Sample example) to achieve this?
    Thanks,

    Created a CAF service with name caf_sep and Separation is the entity service name.
    Deployed the CAF service.
    Add the resource reference of the above CAF service in web-j2ee-engine.xml for JNDI as follows
    <server-component-ref>
              <description>
              </description>
              <name>Separation</name>
              <type>interface</type>
              <jndi-name>sap.com/caf_sep/Separation</jndi-name>
         </server-component-ref>
    I tried to invoke a CAF Service(EJB bean) in JSP by looking in JNDI tree for the service. 
    The JNDI name that I used to access the service is java:comp/sap.com/caf_sep/Separation.
    The lookup is throwing "Object Not bound" error, with the above JNDI name.
    Can you please let me know how should I proceed further in accessing the CAF service in JSP.

  • Writing a common business services Interface - J2EE?

    Hi Guys,
    Tanks for the previous help. The problem here is, if possible I would
    like to know some architectural approaches for following design
    question:
    We are basically building an enterprise application on J2EE Platform.
    The database tier underlying the application is accessed by more than
    one portal. Some of the portals are external to organization, but share
    the data stored in the database.
    What would be the best approach to address this problem? The basic idea
    is to write a re-usable common business service component in J2EE
    application and provide access to database at Application Server level?
    How can I make use of J2EE services/components such as JMS, EJB's to
    effectively allow other systems/portals to access database via J2EE
    container? Is XML a viable solution?
    thanks
    Ramesh

    Hi Ramesh,
    "Ramesh Ankam" <[email protected]> wrote in message
    news:[email protected]..
    Thanks for the reply! So this means that application or external portalhas
    to make remote rmi:// call to access the session bean and invoke businessYes, if you want secure communications. You may also consider
    making your application WebServices enabled. Anyway, you need
    a clearly defined business layer. Otherwise your data won't be treated
    in a uniform way and you will end up with maintanance burden.
    methods? Is JMS is a overkill for this requirement?It really depends on what you should get as a result.
    If you need messaging, JMS is a good thing.
    Regards,
    Slava Imeshev
    >
    RA
    Slava Imeshev wrote:
    Hi Ramesh,
    You need to write a set of Staletess Session Beans representing you
    business logic, and to define security properly. You should never
    expose database (entity EJBs) to layers other then your business
    layer.
    Regards,
    Slava Imeshev
    "Ramesh Ankam" <[email protected]> wrote in message
    news:[email protected]..
    Hi Guys,
    Tanks for the previous help. The problem here is, if possible I would
    like to know some architectural approaches for following design
    question:
    We are basically building an enterprise application on J2EE Platform.
    The database tier underlying the application is accessed by more than
    one portal. Some of the portals are external to organization, but
    share
    the data stored in the database.
    What would be the best approach to address this problem? The basicidea
    is to write a re-usable common business service component in J2EE
    application and provide access to database at Application Serverlevel?
    >>>
    How can I make use of J2EE services/components such as JMS, EJB's to
    effectively allow other systems/portals to access database via J2EE
    container? Is XML a viable solution?
    thanks
    Ramesh

  • CE 7.1 - How to call CAF services from Web Dynpro

    Hi,
    whats the suggested way to call caf services from web dynpro?
    Of course I can use the Web Service model. But can I call caf directly?
    I read something about caf web dynpro model, but I cannot find it in nwds 7.1. On some older tutorial it was in context menu of caf project, but it seems to be removed.
    best regards
    tom

    Hi ,
    The standard way is to use the web service model.
    You have to expose the the services as web service and then you can use the wsdl url in the Adaptive web service model option.
    The above option will be available when you click the Model in the webdynpro application and the click create new model.
    Hope it helps you.
    Regards,
    Srinivasan Subbiah

  • CAF service...

    Hi All,
    How can I find the ABAP code (RFC)for the below scenerio ?
    First, when I submit some details from NWDS view.....
    It will store in a CAF service.....
    When I want to view, all the data will be retireved from the CAF service.
    Above is the basic data flow happening...
    My question is how & where the data is stored in R/3 side (RFC), how can I trace that RFC, can I trace through the "service browser"  ???
    Is that a CAF service itself acting as an RFC ???
    Regards,
    Suri

    See here there two persistencies.Remote and local.In your case you are using RFC import so remote persistency.The data will store in back end.This can be check directly loging into abap rfc transaction.And also from service browser perspective we can view data/records stored, by using the operations under the service in CAF service browser.This will depends on using key or finder operations created at the time service mapping.
    Thanks,
    Murthy.

  • CAF Service modeling power limited?

    Hi, I tried to wrap a web service with a CAF service. All works fine except for the mapping between the model in CAF and the model from the web service: in web service you can have arbitrarily deep structure in your model, but it seems CAF modeling allows at most a depth of three: the root, under the root complex attributes are allowed, which can only contain simple attributes or reference to existing custom simple data types. so it looks like (at least to me) it's not possible to wrap a complex web service to a CAF service. Am I wrong? Is there any workaround for this?
    Best regards,
    Ge

    mapping CAF entity attributes to External service attributes is limited. You cannot defiend nested structures on the CAF entity side. You cannot map collection structures between CAF entity and external service.
    The solution at least in nw04s is to create an application service on top of the entity and do the mapping via java coding.
    CAF is useful if you need local data persistency. If you just need a service layer abstraction (wrapper layer) to sub-systems, without additional data or logic, it can be a little cumbersome to add CAF between the UI or Process Layers and the Service Layer. But at the end it depends on your solution architecture. It'll make sense if your UI or Process Layer is very different (technologywise) from your Service Layer.

  • How to reimport/refresh external CAF services?

    Hi Guys,
    I have imported a CAF service into my CAF via webservice. However, there is an issue here.
    Whenever there is an update of the external webservice, there isnt any refresh or reimport function that I can perform.
    Instead I have to remove all mappings, delete the external service and then import them again.
    This method is very tedious as I have to redo the mappings again.
    Is there is more elegant of doing external service refresh ?
    Thanks.

    After you delete the songs on the memory stick, you need to *empty the trash* to recover that space for reuse.

  • CAF Services Browser Access

    Hi Everyone,
    I am getting " Access Denied. Please login again " when accessing the Service Browser window of Testing Tool of CAF . I have given CAF Developer role to the user also and still getting the error. Kindly guide me to resolve the issue.
    Regards
    Diwakar Mahanthi

    Hi Diwakar
    I am also facing similar problem and not able to open CAF Service browser, but in my case I am not able to see CAF Developer role itself..
    did u manage to solve you problem, if yes then please let me know..?
    Thanks
    Asif

  • Hyperion CSS (Common Security Services) - Anyone?

    Is anyone using Common Security Services as an External Authentication module with Essbase? I am looking for some information on how the XML page is setup and details on the other side of the authentication (not just the Essbase side). I would also like to know if anyone has used Siteminder as an external authenticator.

    Yes I have used the CSS auth on Essbase. Please contact me on this. Also I would like to have details on what version of Essbase you are using etc. ThanksAnde

  • Consume a CAF Service from the Service Regestry

    Hello everybody,
    i'm quite new to the SAP World and need some help considering the following:
    Szenario: I want to build a simple caf Service deploy it in the Service Repository and consume it with a Web Dynpro Component. (CE 7.1)
    My Caf Service is already deployed and available in the Service Reg. I can also test it with the "Web Services Navigator" - it is working fine.
    Problem: I can not consume the service in my Web Dynpro nor with any other Web Service Client.
    I can remeber something that i have to define "Destinations". But i have no glue how to. Can anybody help me? Please with a detailed description for CE 7.1.
    Thx Tobias

    Hi Tobias,
    Refer to the below articles, it will help you for sure.
    1.     Exposing Business Objects as Web Service and Developing Web Dynpro Application 
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0f5c9b6-881b-2c10-caab-ca4767e80bd3
    2.     Implementing Business Objects in CAF and developing Web Dynpro Application
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/401f65c2-8b1b-2c10-2ba8-ae55cc0ea99c
    3.     Exposing Remote Function Call (RFCs) as Web Service in CAF and Developing Web Dynpro Application
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/505f40c5-761b-2c10-d58c-a837fe7f8f49
    4.     Exposing Web Service in CAF and Developing Web Dynpro Application
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0e439ad-8d1b-2c10-d493-e32fe98e93bc
    5.     Importing Web Service in CAF and Developing Web Dynpro Application
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90ce70bd-711b-2c10-af83-d6e84d10eb1b
    6.     Importing RFCs in CAF and developing Web Dynpro Application
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/508c7f89-5e1c-2c10-e4a3-e6ea9df58ccb
    Regards
    Sunil
    Edited by: Sunil Kumar SS on Jul 22, 2009 2:12 PM

  • Session overlapping in caf services

    Hi,
    I am using stateful session bean in caf application services to store user related data.
    And i am using this caf application service in web dynpro.
    But when i have tested from two different machines, data is overlapping.
    can any one tell me how to solve this problem and how stateful session bean works in this situation ?
    Thanks in advance.

    To my understanding the j2ee engine configured to ur NWDS should be the same as from where u r trying to run the "test service". So please do check that.
    As far as what error tells is that such a service is not deployed, it means that u should have deployed in a different server. Its just a check that i wnat u to make.
    Regards
    Ashok

  • How to Expose CAF services as web services?

    Hi friends,
    I want to expose my CAF entity services and application services as web services.
    Can I do that, if yes How?
    In NWDS While designing the application service I have found two options in the <b>General</b> tab:
    1) Remote Enabled Service    [I am able to select it]
    2) Web Service Enabled        [I am not able to select it]
    What is the significance of each
    Also I am able to check first option but second option is disabled in my NWDS,
    Can you guide me how can do that?
    Thanks in advance for your time,
    Deepak

    Hi Deepak,
    Please have a look at this tutorial written by Austin:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5e9ca25b-0e01-0010-bbaa-f3b963e89edd
    in there is a kind of step by step solution how to enable your application service as web service.
    I am not sure if you can expose a entity service as a ws. The only way i know is mapping to an application service.
    I hope this helps..
    best regards,
    rene

Maybe you are looking for