You can add a QSO to Log4OM using this way (WCF) connecting to the http URL of the software. WCF Configuration is managed from Log4OM configuration screen, default is: http://localhost:8080/log4om
WSDL can be obtained here: http://localhost:8080/log4om?wsdl (or in the path you choosed)
In .NET environment you should create a Service Reference from your software using the WSDL path, and then use something like:
Code: Select all
private void btConnectionTest_Click(object sender, EventArgs e)
{
try
{
Log4omServiceReference.WCFServiceClient client = new Log4omServiceReference.WCFServiceClient();
MessageBox.Show(client.ConnectionTest().ToString());
}
catch (Exception exc)
{
MessageBox.Show(exc.Message, "ERROR", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
Other functions to put/get qso from log4om will be discussed later.