Saturday, May 17, 2014

Develop Carbon application using Axis2 service

In this blog, I’m going to create Carbon Application (C-App) using the Axis2 service (.aar file).
Create the folder structure with .aar file (axis2 service) and artifact files as follows

C-App -> artifacts.xml

<?xml version="1.0" encoding="UTF-8"?>
<artifact name="OrderProcessingServiceCApp" version="1.0.0" type="carbon/application">
<dependency artifact="OrderProcessingService" version="1.0.0" include="true" serverRole="EnterpriseServiceBus"/>

C-App -> OrderProcessingServiceCApp -> artifact.xml

<?xml version="1.0" encoding="UTF-8"?>
<artifact name="OrderProcessingService" version="1.0.0" type="service/axis2" serverRole="EnterpriseServiceBus">

Create the .car file and upload it to the ESB
C-App >> jar -cvf * 

No comments: