Once you are sure that the service is working as expected, copy the appid value from Constant to API Key field. A good way to ensure that the external service works fine, is by executing the service URL through a web browser and service results in XML reply.Ĭlick on the Simulate button to ensure that C4C is able to reach the service and response is received by C4C. In case, you need to create/edit some data by consuming the external service, you need to use the Post HTTP method.Ĭopy and Paste the service URL from the browser along with the required parameters. HTTP method in this case is Get, since we are going to fetch data from the external service. In our case we don’t need any authentication. Give details like Service Name, Description, Authentication Method, Service Protocol, HTTP Method and URL.Īuthentication method can be None, Basic (User and Password based) or OAuth based. Web service can be created under Administrator –> Mashup Web Services RSS/ATOM, REST, and SOAP Web services are supported. Key users can create Web services which can then be integrated into a data mashup. #DATA MASHUP HOW TO#The API id is used by the service provider to monitor the requests coming from different application and in case of paid services, the service provider charge based on the usage.I registered on to be able to consumer their weather service.įollowing steps will explain how to consume this external Web Service API in C4C through Data Mashup. However, before we can consume the service, we need to create a API id by registering with the service provider. I found an open API which can be called from C4C to fetch the weather temperature. In the following example, we’ll display the weather temperature of Account’s city using a data mashup. Data mashup is used to integrate data provided from external application with SAP Hybris Cloud for Customer by consuming a web service.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |