Working with XSLT Service Engine: Part 2

Project summary: In This project, I am going to do xml to xml transformation using Service Bridge. Please Check working with XSLT Service Engine Part 1 for more details about XSLT Service engine and sample project for Request-Reply service of XSLT service Engine. In this sample project I am going to take customer information like Name , Address , Personal Data in separate node and then merge all above info in single node. Creating Sample Project Using   Service Bridge (xml to xml transformation) In Service Bridge we can apply multiple xml transformation on request xml and then send output back to source. We need to have same number of wsdl operation as number of transformation we want to do. In this project I am going to apply two xml transformations. So I need to create two wsdl as webservice operation to perform transformation. Let’s  say Request1 and response 1 – first operation Request2 and response 2 – second operation Client will send request via request 1 and response 1 will get back to client but over all process will something like this . (Client input xml)Request1–>apply xsl on input to generate request2–>  request 2àappy xsl on request 2 generate response 2–>  response 2 –> apply xsl on response2 to generate response1 –> response 1(client output xml). Create XSLT Module: Please refer to part 1 for details to create XSLT module. Create XSD for request and reply operation <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xml.netbeans.org/schema/CustomerDetails" xmlns:tns="http://xml.netbeans.org/schema/CustomerDetails" elementFormDefault="qualified"> <xsd:complexType name="CustomerName"> <xsd:sequence> <xsd:element name="firstName" type="xsd:string"/> <xsd:element name="lastName" type="xsd:string"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="CustomerAddress"> <xsd:sequence> <xsd:element name="HomeAddress"/> <xsd:element name="OfficeAddress"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="PersonalData"> <xsd:sequence> <xsd:element name="gender" type="xsd:string"/> <xsd:element...

OPEN ESB 2.3 Working with FTPBC [Part -2]

TABLE OF CONTENTS INTRODUCTION Create New Project Create a new BPEL module project Create a new Composite Application Working With BPEL Module Create a Local File Poll WSDL to trigger BPEL Create a FTP WSDL file to put the local file in FTP locaiton Define Your BPEL Process Working with Composite Application Add BPEL Module in Composite Application Build Composite Application Deploy the Comp App in Glasshfish server INTRODUCTION In previous tutorial, we have discussed about the FTPBC, where we send the text message content in FTP files. This document shows you step by step approach to create a FTPBC application where we can send local file directly in FTP location without writing any single line of code with Logicoy OpenESB 2.3 IDE. Tutorial only explains the basics of creating a new project that uses basic FTPBC functionality. We suppose you already have Logicoy OpenESB IDE on your system. If you have not installed Logicoy OpenESB 2.3, please install using following links. http://jenkins.logicoy.com /job/openesb-installers/ Get the latest binary as per your system requirement. Follow the OpenESB 2.3 Installation Guide for further installation assistant. Create New Project To start, open the Logicoy OpenESB IDE from your installed location. Create a new BPEL module project. Select New project from File->New Project Click Next from the above dialogue box after selecting BPEL Module. Enter Project Name [FTPBCDemoBPEL_Part2] , select appropriate project location, then click on Finish. Create a new Composite Application Select File -> New Project Or Right click on Project Explorer and select New Project Enter Project Name [FTPBCDemoCompApp_Part2], Click on Finish. You can see now two projects created on project...