JAX-WS SOAP Webservice Authentication Example using Spring Boot

Introduction Here we will create an example on JAX-WS SOAP Webservice authentication using Spring Boot framework. User needs to pass username and password in the header to authenticate a user before he or she can access the JAX-WS SOAP Webservice. We will apply two approaches to publish our endpoint using Apache CXF Spring Boot starter or JAX-WS Spring API. We have seen the similar authentication example without using Spring framework. We will use gradle tool to build our application.

Continue

SOAP over HTTPS with Client Certificate Authentication

Introduction The tutorial, SOAP over HTTPS with client certificate authentication, will show you how we can use client certificate to handshake with server along with basic authentication for consuming the service. We have also seen how to authenticate by sending authentication information over http headers in SOAP web service but here we will use client certificate (jks file) as a security mechanism. Even you can use header authentication along with client certificate to make more secure. I will show here both server side code or service and client side code…

Continue

Spring SOAP WebService Producers using Gradle

Introduction This tutorial will show you an example on Spring SOAP WebService producers using Gradle. In other words, how we can create and publish SOAP based webservice in Contract-first approach using Spring and Gradle. We will use here Spring Boot framework to create our SOAP based web service. There are mainly two approaches to create the Webservice – Contract-first & Contract-last. The Contract-first approach tells us to create first XSD/WSDL and then create end-point interface and implementation class. The Contract-last approach tells us to create first end-point interface and implementation…

Continue