function addLabelByObjectReturn = addLabelByObject(obj,in0,in1,in2)
%addLabelByObject(obj,in0,in1,in2)
%
%     Input:
%       in0 = (string)
%       in1.id = (long)
%       in1.name = (string)
%       in1.namespace = (string)
%       in1.owner = (string)
%       in2 = (long)
%   
%     Output:
%       addLabelByObjectReturn = (boolean)

% Build up the argument lists.
values = { ...
   in0, ...
   in1, ...
   in2, ...
   };
names = { ...
   'in0', ...
   'in1', ...
   'in2', ...
   };
types = { ...
   '{http://www.w3.org/2001/XMLSchema}string', ...
   '', ...
   'long', ...
   };

% Create the message, make the call, and convert the response into a variable.
soapMessage = createSoapMessage( ...
    'http://soap.rpc.confluence.atlassian.com', ...
    'addLabelByObject', ...
    values,names,types,'rpc');
response = callSoapService( ...
    obj.endpoint, ...
    '', ...
    soapMessage);
addLabelByObjectReturn = parseSoapResponse(response);
