}
// Method to perform service resolve
public ServiceInfo resolve(String name, String host, String ip, String ws, int level, int inst) {
VinciFrame req = new VinciFrame();
req.fadd("vinci:COMMAND", VNSConstants.RESOLVE_COMMAND).fadd("SERVICE", name);
smFrameAdd(req, "HOST", host);
smFrameAdd(req, "IP", ip);
smFrameAdd(req, "WORKSPACE", ws);
req.fadd("LEVEL", level);
if (inst > 0) {