return response;
}
// parse the request
Unmarshaller unmarshaller = WebDAVModelHelper.createUnmarshaller();
Lockinfo lockinfo =
WebDAVModelHelper.unmarshal(unmarshaller,
new StringReader(body),
Lockinfo.class,
"lockinfo"); //$NON-NLS-1$
// make a response
Activelock activelock = new Activelock();
// set lock type from the request
activelock.setLocktype(lockinfo.getLocktype());
// set lock scope from the request
activelock.setLockscope(lockinfo.getLockscope());
// set 0 depth
activelock.setDepth("0"); //$NON-NLS-1$
// set owner from the request
activelock.setOwner(lockinfo.getOwner());
// set infinite timeout
activelock.setTimeout(LOCK_TIMEOUT);
// a lock token is not necessary for MS compatibility
Lockdiscovery lockdiscovery = new Lockdiscovery();