package dk.thoerup.webservice; import java.io.Serializable; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement public class TestResponse implements Serializable { private static final long serialVersionUID = 1L; private int id; private String name; public TestResponse() { //no-arg constructor MUST be present for moxy to work } public TestResponse(int i, String n) { this.id = i; this.name = n; } public int getId() { return id; } public String getName() { return name; } public void setId(int i) { this.id = i; } public void setName(String n) { this.name = n; } }