/Tag: WSDL2Java

Apache CXF – Contract First Web Services

Apache CXF - Contract First Web Services I wrote a post a few years ago detailing a step by step guide to building a contract first web service using Spring.  I recently started working with Apache CXF and thought it would be worth putting together a more up to date post, this time using CXF. We'll create a fictitious Account Service that takes a single account number parameter and returns associated account information. Although the sample service will be very simple, the approach taken should provide you with a solid foundation upon which to build real world services. Source Code The full source code for this post [...]

By |2019-02-12T07:29:21+01:00October 5th, 2016|Spring Boot, Web Services|4 Comments

Axis2 Web Service Client Tutorial

Axis2 Web Service Client Tutorial Axis2 is a Java framework that provides comprehensive support for exposing and consuming web services. This short post will look at its SOAP client support and how it can be used to get a simple web service client up and running. For convenience I'll be calling a web service that I recently built as part of another post.  If you don't already have a web service to call you can grab the full source code for my sample service from github. Run a Maven build and deploy the WAR to your Servlet container. What is a Web Service Client? This [...]

By |2019-02-20T08:15:40+01:00January 29th, 2013|Web Services|20 Comments