function addSpaceGroupReturn = addSpaceGroup(obj,in0,in1)
%addSpaceGroup(obj,in0,in1)
%
%     Input:
%       in0 = (string)
%       in1.key = (string)
%       in1.licenseKey = (string)
%       in1.name = (string)
%   
%     Output:
%       addSpaceGroupReturn.key = (string)
%       addSpaceGroupReturn.licenseKey = (string)
%       addSpaceGroupReturn.name = (string)

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

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