Improved JSON Support of WSO2 ESB 4.8

100 %
0 %
Information about Improved JSON Support of WSO2 ESB 4.8
Technology

Published on February 20, 2014

Author: wso2.org

Source: slideshare.net

WSO2 Advantage Webinar Improved JSON support of WSO2 ESB 4.8.0 Vanjikumar Sivajothy Senior Software Engineer Ishan Jayawardena Senior Software Engineer February 20 2014

About the Presenters Vanjikumar Sivajothy vanji@wso2.com Senior Software Engineer Vanji joined WSO2 in February 2013. He is a Senior Software Engineer in the WSO2 Enterprise Service Bus product team. In addition to his product development efforts he has also provided technology consulting on customer engagements, including development service programs Ishan Jayawardena ishan@wso2.com Senior Software Engineer Ishan joined WSO2 in December 2011. He is a software engineer in the integration technologies team where he mainly focuses on the WSO2 Enterprise Service Bus. In addition to his product development efforts he has also provided technology consulting on customer engagements, including customer QuickStart programs focused on Enterprise Application Integration projects. 2

About WSO2 ๏ Global enterprise, founded in 2005 by acknowledged leaders in XML, web services technologies, standards and open source ๏ Driven by Innovation ๏ Launched first open source API Management solution in 2012 ๏ Provides only open source platformas-a-service for private, public and hybrid cloud deployments ๏ Launched App Factory in 2Q 2013 ๏ All WSO2 products are 100% open source and released under the Apache License Version 2.0. ๏ Launched Enterprise Store and first open source Mobile solution in 4Q 2013 ๏ Is an Active Member of OASIS, Cloud Security Alliance, OSGi Alliance, AMQP Working Group, OpenID Foundation and W3C. 3

What WSO2 delivers 4

Agenda JSON JSON Support of WSO2 ESB 4.8.0 Developing JSON aware message flows with ESB 4.8.0 5

JSON A data interchange format that is, ๏ Lightweight ๏ Text-based ๏ Language independent ๏ Human/machine readable A better data interchange format JSON and JavaScript Internet Media type ๏ 6 application/json

JSON Support of WSO2 ESB Message Builders, and Message Formatters ๏ Builder, Formatter Register builder formatter in ESB_HOME/repository/conf/axis2/axis2.xml <messageBuilder contentType="application/json" class="org.apache.synapse.commons.json.JsonStreamBuilder"/> <messageFormatter contentType="application/json" class="org.apache.synapse.commons.json.JsonStreamFormatter"/> ๏ ๏ Deferred Building ๏ 7 StAXON Effiecient

JSON Support of WSO2 ESB JSONPath ๏ Log, Property, Switch, Filter PayloadFactory, Script Mediators ๏ Construct, transform JSON Convert between JSON and XML <property name="messageType" value="application/json" scope="axis2"/> <property name="messageType" value="application/xml" scope="axis2"/> Better XML representation of JSON requests ๏ Minimum information loss ๏ Supports complex JSON structures ๏ Supports special characters Documentation http://docs.wso2.org/display/ESB481/JSON+Support 8

Accessing JSON Content Accessing Content form JSON payload ๏ JSONPath json-eval() ๏ 9 XPath

JSONPath Syntax 10

Log Mediator ๏ ๏ 11 Full payload log in JSON using Log Mediator Full payload log in XML using Log Mediator

Constructing JSON ๏ Payload Mediator Well defined payload Known structure for payload ๏ Script Mediator Recurring Structure like Array 12

Constructing JSON - Script ๏ 13 The Script mediator provides the flexibility for handle recurring structures such as arrays

Constructing JSON - Payload ๏ 14 The Payload mediator provides the simplest way to work with JSON payload

Constructing JSON - Script ๏ 15 The Script mediator provides the flexibility for handle recurring structures such as arrays

Troubleshooting Debugging using Carbon logs ๏ 16 <ESB_HOME>/repository/conf/log4j.properties

Call to Action ๏ Download WSO2 ESB http://wso2.com/products/enterprise-service-bus/ 17

Questions? 18

Business Model 19

20

21

Contact us !

Add a comment

Related presentations

Related pages

Getting Started with REST APIs - WSO2 Documentation

This documentation is for WSO2 ESB version 4.8.0. ... so that the portability of client code is improved. ... Offer both XML and JSON whenever possible.
Read more

JSON Support in the WSO2 Platform - documents.mx

Improved JSON Support of WSO2 ESB 4.8. Enterprise data in the WSO2 platform. WSO2 Advantage Webinar WSO2 BAM2 Integration with mule esb. ... The WSO2 ESB 4 ...
Read more

Creating APIs - Enterprise Service Bus 4.8.1 - WSO2 ...

Enterprise Service Bus 4.8.1 … WSO2 Enterprise ... This section introduces the fundamentals of creating APIs in the ESB. ... Offer both XML and JSON ...
Read more

News | WSO2 Inc

... Expanded JSON Support; Dec-10 - WSO2 Launches ... support now available in WSO2 ESB ... Improved Data Services support in latest WSO2 ...
Read more

Security Patterns with WSO2 ESB - Technology

... (ware Engineer Isuru Udana Security Pa1erns with WSO2 ESB Jeewantha Dharmaparakrama So(ware ... Improved JSON Support of WSO2 ESB 4.8
Read more

WSO2 ESB MessageStore and MessageProcessor implementation ...

... I have included a json file with ... there are somethings to be improved. ... The WSO2 ESB 4.8.1 implementation of MessageStore/MessageProcessor ...
Read more

WSO2 Enterprise Service Bus (ESB)

Improved ESB Tooling, ... WSO2 Enterprise Service Bus (WSO2 ESB) ... Formats & protocols: JSON, XML, SOAP 1.1, SOAP 1.2, ...
Read more

New WSO2 ESB aimed at enterprise mediation, integration ...

This article takes a look at the new features and capabilities found in the upcoming WSO2 ESB ... 4.8 versions of the ESB ... JSON, XML and CSV ...
Read more