I was getting the error while trying to submit data via remedy webservice. thought of bloging my finding as it may help some one
"A user name must be supplied in the control record"
credentials were not passing before calling the webservice.
mywebservice.AuthenticationInfo auth = null;
auth = new mywebservice.AuthenticationInfo();
auth.userName = "email@example.com";
auth.password = "mypassword";