private string SendToFVEWS(Certificate c)
{
//Get signature base64 text from db
String base64 = GetBase64FromDB();
//Convert object to xml text
String XmlText =
c.GetXMLTextForFVEWS(base64);
//Create a client to FVE webservice
FVEServiceInterfaceClient client =
new
FVEServiceInterfaceClient();
//Upload catchcert request
string result;
try
{
result = client.UploadCatchCertificate("00020D000E0605060B090B0F07030E02",
XmlText);
}
catch (Exception
e) { result = e.Message; }
client.Close();
if (result != "")
result = "Feilboð frá markamóti, til tína umbøn
nummar: "+c.no.ToString() + Environment.NewLine
+ result;
return result;
}