Please upload a copy of the page where the UPS shipping server behavior is applied and I can take a look at what is wrong.
Most likely you are referring to the field value for "Weight" instead of "TotalWeight" when passing the value to UPS, but if I look at the page I can refer to line numbers and the specific code you need to update.