// 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) 
package test;

import java.io.IOException;

import javax.ws.rs.Path;
import javax.ws.rs.GET;
import javax.ws.rs.Produces;
import javax.ws.rs.PathParam;

@Path("/TestPXml/{f1}/{f2}")
public class TestPXmlResource {
    @GET
    @Produces("application/xml")
    public T1 get(@PathParam("f1") int f1, @PathParam("f2") String f2) {
        T1 o = new T1(f1, f2);
        return o;
    }
}
