How to consume Rest services in ATG? - atg

I have gone through the ATG oracle guide for rest web service Architecture. Kindly provide a basic example/ steps to consume a rest service in oracle ATG.

If you are looking to consume an external REST API from within your ATG application, then ATG does not provide you any specific way to do so, but ATG is Java, and there are many ways to call REST services in Java.
If you are looking to expose REST APIs from your ATG application, then ATG 9 onwards has a REST Services framework, and ATG 11 onwards has a REST MVC framework that you can use. If these are not suitable for you, then there are other, third-party, ways of doing it too.

Related

How to implement RESTful API for Siebel IP16

We have recently upgraded our Siebel CRM application from version 8.1.1.11 PS16 ( IP13) to latest Siebel CRM version Innovation Pack 16 and are planning to implement "RESTful API for Siebel IP16"
Please help me to understand how to start building RESTful API for Siebel CRM along with some examples if possible.
Regards,
Sombir Sheoran
You will find the best articles on SiebelHub, those guys have totally dissected the REST api and have posted working code. Siebel IP16 achieves REST via an additional TomCat server, which converts the REST to SOAP passing it to Siebel. So you need to look at its installation as well.

Using REST api to build a web app

What happens when we do not use REST api to build a web application? And also please tell how to build a web service using REST api in PHP.
What happens when we do not use REST api to build a web application?
Nothing, you can do your project with or without REST API. Assume you are running a restaurant and you want to attach with online food service like Foodpanda,zomato you need to provide an API to interact your data without any user interface which can be done easily using REST.
Why do we need RESTful web services?
REST should be used if it is very important for you to minimize the coupling between client and server components in a distributed application. [read more]
How to build a web service using REST api in PHP?
There are many resources available in internet. Here I found something related to PHP
PHP RESTful Web Service

Some questions regarding UDDI

Currently, I am learning SOA and come across UDDI. I have several questions around this and hope someone can help:
By searching in the Internet I come across some interesting products e.g. WSO2 Governance Registry. Is it an UDDI if I only deploy SOAP services to it? How do people find the services then?
I have also come across a product called WSO2 API Manager. It looks like a tool for publishing API/web services. If someone can already find the web services using Governance Registry, what is the use of API Manager?
WSO2 Governance Registry is more about service metadata management. It is much about design time governance and not much about runtime governance. It is a SOA tool. It supports UDDI through JUDDI but that is not a first class support. WSO2 Governance Registry defines its own database based meta model.
WSO2 API Management is about runtime management of APIs. It comes with design time tools, to help wrap services as APIs to be exposed to the outside world. However, the key functionality is about the runtime monitoring, management, and security of the API calls via the API Gateway.

Is it possible to create a SOAP web service in C/C++ over HTTP?

Is it possible to create SOAP web services (not client) over HTTP in C or C++, that respects the WSDL contract, using these Frameworks/libraries :
Apache CXF
Axis2/c
gSOAP
??
Thanks in advance :)
Apache CXF - No. It's written on Java and you can't write Web Services on C using CXF (JNI is not a good idea in this case).
Axis2/C - Yes! It's a Web service framework written on C. It's one of most powerful Web services frameworks for C. You can write Web services from scratch or generate it from WSDL. But it will be plain C and you may need to write extra code to start it working. To provide more convenient interface to Web services engine you may want to use some wrapper like WSO2 or Staff. For details please see my answer here.
gSoap - yes. It's not trivial but possible.

How to create Rest Web service client and server

Hi I need to use REST web service but not getting how to start. Although I have checked different articles but there is no proper example which tells flow of REST SERVER and REST CLIENT. Is there any good example link which tells how a REST server will be created with php and how this web service will be called with which technique. I need web service to show customers and then update customers using web service as well. I need to create my own web service for my application so I need to create both Rest server and Rest client.
Thanks
Crinch
REST isn't a technology, it's a style of software architecture
If you want some concrete examples and a simple framework to get started, try cherrypy, which is a minimal web framework written in python.
This should get you started with a web server that can help you adhere to REST design principles.
You Can Try PHP REST Data services https://github.com/chaturadilan/PHP-Data-Services