Adding a QSO to Log4OM via WCF

Locked
User avatar
IW3HMH
Site Admin
Posts: 2925
Joined: 21 Jan 2013, 14:20
Location: Quarto d'Altino - Venezia (ITA)
Contact:

Adding a QSO to Log4OM via WCF

Post 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.
Daniele Pistollato - IW3HMH
PB4FUN
Advanced Class
Posts: 78
Joined: 27 Feb 2014, 18:20
Location: JO33KC
Contact:

Re: Adding a QSO to Log4OM via WCF

Post 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".
PB4FUN Meindert; Rig : Icom IC-9100 / Ant: Falcon OUT-250-B @4m AGL; 144 MHz 16 el @ 4m AGL; 70 cm 23 el @ 5 m AGL
User avatar
IW3HMH
Site Admin
Posts: 2925
Joined: 21 Jan 2013, 14:20
Location: Quarto d'Altino - Venezia (ITA)
Contact:

Re: Adding a QSO to Log4OM via WCF

Post by IW3HMH »

Well, when someone seems interested :-)
Daniele Pistollato - IW3HMH
Locked