/Tag: Web Services

SOAP Web Services with Apache CXF and Spring Boot

This post is based on one I wrote a few years ago about building contract first web services with Apache CXF and Spring. The previous post didnt use Spring Boot and most of the Spring and CXF configuration was via XML. This post moves things forward a bit by using the latest version of CXF and Spring Boot. Sample App We're going to build a simple Spring Boot app that exposes SOAP web service using Apache CXF.  The service will have a single operation that takes an account number and returns bank account details. If you're impatient and want to jump ahead you can grab [...]

By |2019-10-02T08:14:28+01:00June 19th, 2019|Spring, Spring Boot, Web Services|0 Comments

Spring Web Services Tutorial

Spring Web Services Tutorial I've recently written a more up to date version of this post which describes how to build a contract first web service using Apache CXF. Check it out here. SOAP Services Modern enterprise applications are rarely stand alone and often rely on data and services provided by external systems. In order for different types of systems to communicate there must be a  communication protocol of some sort, a standard way of sending and receiving messages in a format that is recognised and supported by all major platforms. SOAP (Simple Object Application Protocol) is such a protocol, and allows applications to communicate by exchanging [...]

By |2019-02-20T17:03:03+01:00January 14th, 2013|Spring, Web Services|118 Comments

Java Web Service Client – Proxy Configuration

Java Web Service Client - Proxy Configuration I've spent the last few days integrating an application with the Experian bank account validation service, using Axis2 as the web service client. The client worked fine in our dev environment  but couldnt connect when deployed in the customers corporate network. The Axis client was throwing an UnknownHostException because it couldn't resolve the service URL. Strangely though, on the same machine I was able to paste the URL into a browser and view the service WSDL.  After some digging around I realised that all HTTP requests that go out to the public internet need to be routed through the [...]

By |2019-02-21T17:13:03+01:00July 14th, 2012|Web Services|6 Comments