Page 1 of 1

Adding a QSO to Log4OM via WCF

Posted: 25 Jan 2013, 09:47
by IW3HMH
Log4OM supports integration via Windows Communications Foundations classes.

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);
            }
        }
This message returns TRUE if you're correctly connected with WCF service. If the answer is positive, you're connected!

Other functions to put/get qso from log4om will be discussed later.

Re: Adding a QSO to Log4OM via WCF

Posted: 24 Oct 2015, 08:02
by PB4FUN
Other functions to put/get qso from log4om will be discussed later.
When can I expect this ?
It has been more than 2 years since "later".

Re: Adding a QSO to Log4OM via WCF

Posted: 31 Oct 2015, 22:22
by IW3HMH
Well, when someone seems interested :-)