Mule 3: Execute PHP Script in Mule ESB

In this article, I will explain how to execute a PHP Script within the Mule Flow. First, we need to include the mule-module-php.jar file on our project. Mule needs this library to be able to execute the PHP script at runtime. You can download the jar file here: https://github.com/jdeoliveira/mule-module-php/downloads. info(“Hello, ” . $h->getName(). “! You are ”. $h->isAdult()); $h = new User(“Jose”,39); $log->info(“Hello, ” . $h->getName(). “! You are ”. $h->isAdult()); return “Hi From PHP To ” . $payload ?>]]>

The above Mule flow runs every 5 seconds to execute the Script Component that contains our PHP code. Inside that component, it is simple to initialize the PHP class User located in /src/main/resources/ and invoke its methods or functions. Also, note that the Script Component engine should be set to php. https://goo.gl/hkkfXT #DataIntegration #ML

How to Develop an ASP.NET Web Service Application with WCF Service

#ICYDK: In this article, I am going to explain how to develop RESTFul web service server application in C#. Here, I will explain how to handle GET, POST, PUT and DELETE requests. This article is very simply designed so that it would be easy for everyone to understand. You can download the project from here https://github.com/prateekparallel/StudentRegistrationDemo1

If you are interested to learn more about RESTFul service and JSON you can read below articles https://goo.gl/ZFWUqf #DataIntegration #ML