Spring SOAP WebService Producers Using Gradle

Table of Contents Introduction Prerequisites Project Setup Spring Boot 2.6.4 Spring Boot 2.1.6 Spring Boot 1.5.9 Spring Boot Main Class XSD Schema Repository Service Endpoint Configuring SOAP Service Changing Server Port Running SOAP Application Testing SOAP Application JDK 9 Issue Source Code Introduction This tutorial will show you an example on Spring SOAP WebService producers using Gradle. In other words,…

Generating jaxb classes from xsd using Gradle

This tutorial will show you how to generate Java classes from XSD file using JAXB API and Gradle. Generating JAXB classes from xsd using Gradle is not an easy task because Gradle does not have yet any ready-made plugin like Maven. So to generate Java classes from XSD schema using Gradle you have to write an an Ant Task. The below…

Spring Batch – Convert CSV To XML File

CSV To XML File Conversion This tutorial will show you how to read a csv file data and write to xml file with some modification. I will build a service that imports data from a CSV file, transforms it with custom code, and stores the final results in XML file. You can read the tutorial Spring Batch to read what is…

foreach loop example in Mule ESB

In this tutorial I am going to show you how we can use foreach loop in Mule ESB. We will use File Connector to take an XML file as input then we will iterate each entry of XML file content using foreach loop of JAXB object. You can see also Convert JAXB Object to XML in Mule ESB and Convert…

Convert JAXB Object to XML in Mule ESB

In this tutorial I am going to show you how we can convert JAXB object into XML data in Mule ESB. We will use File Connector to take an XML file as input then we will map it to an appropriate JAXB object, then finally we will convert the JAXB object back into XML data. You can see also Convert XML…

Convert XML to JAXB Object in Mule ESB

In this tutorial I am going to show you how we can convert XML data into JAXB object in Mule ESB. We will use File Connector to take an XML file as input then we will map it to an appropriate JAXB object. You can see also Convert JAXB Object to XML in Mule ESB The JAXB transformers allow objects…

JAXB – Java API for XML Binding

I am going to show you how to generate JAXB classes from XSD file using maven build tool. I am going to use JAXB-2 Maven Plugin to generate the Java classes from XSD file. Finally I am also going to show you how unmarshal XML file using JAXB 2 API. This will ensure the validity of your XSD file.

RESTful webservice using Jersey

Here I am going to give an example on how REST webservice works. The most important concept in REST is resources, which are identified by global IDs — typically using URIs. Client applications use HTTP methods (GET/ POST/ PUT/ DELETE) to manipulate the resource or collection of resources. A RESTful Web service is implemented using HTTP and the principles of…