// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
import java.util.ArrayList;
import java.util.HashMap;
import javax.jws.WebService;

@WebService(targetNamespace="test")
public class JAXWSTest {
    public int getInt() {
        return 123;
    }
    public String getString() {
        return "ABC";
    }
    public ArrayList<String> getList() {
        ArrayList<String> res = new ArrayList<String>();
        res.add("ABC");
        res.add("DEF");
        return res;
    }
    public HashMap<String,String> getMap() {
        HashMap<String,String> res = new HashMap<String,String>();
        res.put("A", "ABC");
        res.put("B", "DEF");
        return res;
    }
}
