Transforming EDI Messages to XML and JSON

Posted by Rob Blaauboer on 21 Jun, 2018

Electronic Data Interchange (EDI) has been around for many decades and has been replaced to a large extend by other ways of data interchange like XML (computer readable) and newer formats like JSON. Still there are EDI messages in use, perhaps in your organization. How do you turn these messages into more modern formats? With WSO2 EI of course. In this blog, we will take a dummy EDI message file and turn it into an XML file. As a second step, we store the data in a database as well. First things first. How will we process files?

Read More

Topics: Technical, wso2 tutorial, WSO2 Enterprise Integrator, XML, JSON

TCP socket communication with WSO2 ESB

Posted by Vinay Babu Yella on 14 Jun, 2018

Sockets enable communication between computers in a network. Every time client machine need to talk to a server (for e.g.: client’s browser requesting a webpage from internet), a socket is opened, and it is used for transferring information between client and server. In general, sockets refer to Internet Protocol(IP) for relaying data packets across network boundaries. TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) are widely used protocols for one-to-one connections between two nodes in a network. TCP protocol guarantees the recipient will receive the packets in the order they are sent, but is relatively slow, hence suitable for applications that require higher message reliability. UDP is faster and does not guarantee that the messages or packets sent would reach at all. UDP is used when speed is desirable and error correction is not necessary. For example, UDP is frequently used for live broadcasts and online games. For this blog, we will focus on TCP sockets only and especially TCP socket communication with WSO2 ESB.

Read More

Topics: WSO2 ESB, wso2 tutorial

Building WSO2 products from source 2.0

Posted by Gustavo Encarnacao on 17 May, 2018

In this blog we'll provide some insight into the WSO2 source code structure and how to modify and build your own custom version of WSO2 products that meets your specific needs. Knowledge of Maven and Git is useful but not required as we'll try to give a thorough explanation of what commands to issue, why and what they do. If you are planning on building WSO2 products you will require 3 applications:

  1. a Git client to obtain the source code
  2. a Java8 JDK
  3. Maven to compile the source code.

WSO2 provides a full suite of integration products, known as the WSO2 stack. These include the Enterprise Integrator (which now combines the previous single products: Enterprise Service Bus, Data Services Server and the Business Process Server), the API Manager and the Identity Server which are the more commonly/broadly used.

Read More

Topics: WSO2, WSO2 EI, WSO2 API, WSO2 IS, wso2 tutorial

Access WSO2 OSGI console using Telnet

Posted by Rob Blaauboer on 5 Apr, 2018

WSO2 products use OSGI bundles to deploy and manage the features / components that make up the product. The OSGI console is not something an everyday user will see, it is enabled at startup with a simple command that is added to the startup command, e.g. sh wso2server.sh -DosgiConsole or even to the shell script itself.  There are already numerous parameters in that file. By the way, the OSGI console also works on Windows, so where we mention shell script you can also read tbe batch (bat) file. In this blog I'll explain how you can access WSO2 OSGI console using Telnet.

Read More

Topics: WSO2, wso2 tutorial

How to check if WSO2 is up and running? 

Posted by Luis Bustamante on 18 Jan, 2018

Regardless of what WSO2 product is being used, once it is in production, it is important to know the current server status and accordingly trigger the process of starting it, shutting it down or just leaving it running fine. Manually, it could be reviewed and assumed by just login into the carbon console, but when the process must run automatic this is not a good option anymore. In this blog I'll tell you how you can check if WSO2 is up and running.

Read More

Topics: WSO2, wso2 tutorial