try
{
Ref[] oRefs = new Ref[1];
Service[] oServices = new Service[1];
oRefs[0] = new Ref();
oRefs[0].setValue("http://www.myresolver.com/resolve?1234");
// IIOP-safe Service structure
oServices[0] = new Service();
oServices[0].setType("xri:@epok/tdx/xrixns");