As Carbon platform made of a front-end and a back-end. Backend contain SOAP Web services interface.
But can I can access this in RESTful mode or Front end Java scripte? There is not much clear API for this.
If any person need such API how can we make it. Here I will be using jaggery server to demonstrate this scenario.
I will be using jaggery to achieve this task. Below is the Flow that I will fallow.
Carbon Admin Services --> SOAP WS calls --> jaggery Module --> JSON --> jaggery App --> REST ful API for wso2 Carbon Admin Services.
Here are some post that can help you to achieve this.
To find out Correct message (SOAP Payload) that is exchange in Carbon BE for Carbon. SOAP UI is not working for some wsdl in here. So better to try this way. [1]
How to Invoke a web service with Jaggery (with Payload) [2] and Calling SOAP web service from (javascripte) jaggery [3]
How Adding module for Jaggery [5]
Then you have to write jaggery app using this module, that APP will have REST full support.
Then you can call
https://localhost:9443/Carbon/UserAdmin/listUsers (GET http request) will give json array with carbon USER list.
Here is figure of component and messages that will pass over system .
Normal Carbon platform
image
Here is RESful carbon With jaggery
wso2 carbon platform REST ful
Code level description will post in my next post.

[1] http://madhukaudantha.blogspot.com/2013/02/carbon-platform-exploring-front-end-and.html
[2] http://madhukaudantha.blogspot.com/2013/02/invoke-web-service-with-jaggery-with.html
[3] http://madhukaudantha.blogspot.com/2012/11/calling-soap-web-service-from.html
[4] http://madhukaudantha.blogspot.com/2013/02/list-all-web-services-in-wso2.html
[5] http://madhukaudantha.blogspot.com/2013/02/adding-module-for-jaggery.html
1

View comments

I am
I am
Archives
Total Pageviews
Total Pageviews
2 0 5 7 7 0 6
Categories
Categories
Loading