Apache CXF Web Services Tutorial
I created a web service today with CXF and wanted to share the steps it took to get it up and running in this quick tutorial. Apache CXF was created by the merger of the Celtix and XFire projects. , the documentation is still a work in progress. However, do not fret because this CXF tutorial will get you up and running in no time. I will be creating a simple web service that will allow the retrieval of employee information. The service will return this simple POJO (Plain Old Java Object) bean with matching getters and setters: package com.company.auth.bean; import java.io.Serializable; import java.util.Set; public class Employee implements Serializable { private static final long serialVersionUID = 1L; private String gid; private String lastName; private String firstName; private Set privileges; public Employee() {} public Set getPrivileges() { return privileges; } public void setPrivileges(Set privileges) { this.privileges = privileges; } public String getFirstName()...