Getting Plugin Settings using SOAP protocol

I am creating a Client Plugin that gets information of server plugin settings.

I need to retrieve Server plugin settings from inside Client plugin using SOAP protocol.

I save configurations using the following code inside client plugin:

var confs = Configuration.Instance.GetItemConfigurations(ServiceTestDefinition.ServiceTestPluginId, null, ServiceTestDefinition.serverConfigKind);
Item CurrentItem = new Item(confs[0].fqid, "AyonixDatabase");
CurrentItem.Properties["connstring"] = "VALUE I WANT TO SAVE";
CurrentItem.Properties["cameraservicepath"] = "ANOTHER VALUE I WANT TO SAVE";
Configuration.Instance.SaveItemConfiguration(ServiceTestDefinition.ServiceTestPluginId, CurrentItem);

I want to use the following SOAP call to retrieve settings on client plugin:

public XmlDocument GetCustomSettingDataUser(string url, string token, string guid, AuthenticationType autype)
        {
            try
            {
                string templ =
                    "<?xml version=\"1.0\" encoding=\"utf-8\"?>" +
                    "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" " +
                    "xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" " +
                    "xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">" +
                    "<soapenv:Body><GetCustomSettingDataGlobal xmlns=\"http://videoos.net/2/XProtectCSServerCommand\">" +
                    "<customSettingId>{0}</customSettingId><token>{1}</token></GetCustomSettingDataGlobal>" +
                    "</soapenv:Body></soapenv:Envelope>";
                //Guid guid = Guid.NewGuid();
                string content_str = string.Format(templ, guid, token);
                XmlDocument doc = GetSoap(url, content_str, ServiceType.Server, "GetCustomSettingDataGlobal", autype);
                return doc;
            }
            catch (Exception e)
            {
                string s = e.Message;
                return new XmlDocument();
            }
        }

However, I cant retrieve values using this call. Am I using the correct SOAP call?

Which identifier should I use on this call to retrieve these results?

How

It looks correct what you are doing, You will have to have NTLM etc. in place. My best tip for getting further is to trace the communication between a Smart Client and the server and check how it is done there.