In WSO2 ESB when to use REST API and proxy service - rest

In WSO2 ESB what is the difference between REST API and proxy services and when do use each of these.

Related

how to update service provider in wso2 using soap request with inbound saml web sso configuration details: need soap request

currently working on wso2 identity servicer v5.7 . need a help to update service provider using soap request. i read the wso2 docs and saw the services provided by wso2 but did not find the right soap request. I want to update service provider all the details in one request: saml sso configuration as well.
You can use the updateApplication method of IdentityApplicationManagementService to update a Service Provider. To obtain the WSDL, use the following URL.
https://{IShost}:{port}/services/IdentityApplicationManagementService?wsdl

SOAP and REST on the same endpoint URI

We have a requirement to expose SOAP service along with GET and POST Calls to the REST service on the same endpoint URI. Any inputs will be appreciated.
This needs to be achieved with oracle SOA

wso2 is, is there a method to have a reset service?

I have to create a client application that uses OAuth2 and a REST service. I confirmed that the REST service I can achieve it only by WSO2 ESB? WSO2 IS does not provide any REST service without using other platforms carbon?
There are some rest webservices for oauth2, check https://localhost:9443/oauth2/token
and the associated doc
https://docs.wso2.com/display/IS520/Resource+Owner+Password+Credentials+Grant

Backend service with SOAP binding required to expose as a RESTful - WSO2 ESB

What I'm trying to do is as follows,
Business use-case : A backend service with SOAP binding required to expose as a RESTful service. Consumers require to get the responses from JSON using the same API.
I have gone through below links but didn't find them useful. Configurations are either not given or not working.
http://asanka.abeysinghe.org/2013/05/implementing-api-facade-with-wso2-api.html
WSO2 API Manager convert SOAP to REST
WSO2 API Manager - can it convert REST requests to SOAP requests on the backend?
I know the step what to be done but what I'm wondering is how that should be done in the ESB. Exact configurations.
Backend service with SOAP binding required to expose as a RESTful - WSO2 ESB?
If you need to expose a SOAP Service and REST (POX or JSON), you can do it using ESB. You can create a API in ESB and does the mapping between JSON or POX to SOAP. There are samples available in the ESB documentation. Please check from here. You do not need a API manager, if you just need to expose some REST API. You can do it using ESB as well and you do not need to use API Manager.

WSO2 ESB Expose a REST API keeping URI part

Say I have a REST API hosted on a webserver:
someone.com/api/
I want to expose this REST API through a proxy service using WSO2 ESB.
esb.com/api/
It should forward whatever is after esb.com/api/. So if I hit:
esb.com/api/param1/param2
It should hit the real service using:
someone.com/api/param1/param2
How do I pass the URI parts to the real webservice from a proxy service?
Don't try to use Proxy services for REST API. Proxy Services are for the Web Services. Use API s avialable in WSO2 ESB which are similar to proxy services and intended for REST API. This Oxygen Tank article and this sample document will be useful for you.