DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Software Design and Architecture
  3. Integration
  4. Carbon Admin Services in RESTful

Carbon Admin Services in RESTful

Madhuka  Udantha user avatar by
Madhuka Udantha
CORE ·
Feb. 23, 13 · Interview
Like (0)
Save
Tweet
Share
3.49K Views

Join the DZone community and get the full member experience.

Join For Free
Carbon is WSO2's platform made of a front-end and a back-end. The backend contains SOAP Web services interface.

But can I access this in RESTful mode or Frontend JavaScript? There is not much of an API for this.

Here I will be using jaggery server to demonstrate this scenario.

Below is the Flow that I will follow.

Carbon Admin Services --> SOAP WS calls --> jaggery Module --> JSON --> jaggery App --> REST ful API for wso2 Carbon Admin Services.

Here are citations to some posts that can help you to achieve this.

To find out the correct message (SOAP Payload) that is exchanged in Carbon BE for Carbon, see this article. SOAP UI is not working for some wsdl in here. So better it's to try this way. [1]

Learn how to Invoke a web service with Jaggery (with Payload) [2] and Calling SOAP web service from (javascripte) jaggery [3]

Learn how to add a module for Jaggery [5]

Then you have to write a 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 be 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

Carbon (API) Web Service REST Web Protocols

Published at DZone with permission of Madhuka Udantha, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Apache Kafka vs. Memphis.dev
  • How To Validate Three Common Document Types in Python
  • Distributed Stateful Edge Platforms
  • The Enterprise, the Database, the Problem, and the Solution

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: