Log.info("Root element 'body' does not contain a valid RID attribute value in parsed request data from ["+remoteAddress+"]");
sendLegacyError(context,BoshBindingError.badRequest,"Body-element is missing a RID (Request ID) value, or the provided value is a non-positive integer.");
return;
}
// Process the parsed document.
finalStringsid=node.attributeValue("sid");
if(sid==null){
// When there's no Session ID, this should be a request to create a new session. If there's additional content,
// something is wrong.
if(node.elements().size()>0){
// invalid session request; missing sid
Log.warn("Invalid client request; SID is required. ["+request.getRemoteAddr()+"]");