public putDatex2DataResponse GetNtisModelNotificationDataResponse(D2LogicalModel deliverNtisModelNotificationDataRequest)
        {
            log.Info("Handling Ntis Model Notification Request!");

            // Validate the D2Logical Model
            if (!ExampleDataCheckOk(deliverNtisModelNotificationDataRequest))
            {
                throw new SoapException("Incoming request does not appear to be valid!", SoapException.ClientFaultCode);
            }

            if (deliverNtisModelNotificationDataRequest.payloadPublication != null)
            {
                GenericPublication genericPublication = deliverNtisModelNotificationDataRequest.payloadPublication as GenericPublication;

                log.Info("Ntis model publication time: " + genericPublication.publicationTime);
                log.Info("Generic publication name: " + genericPublication.genericPublicationName);

                _GenericPublicationExtensionType genericPublicationExtension = genericPublication.genericPublicationExtension;
                NtisModelVersionInformation      ntisModelVersionInformation = genericPublicationExtension.ntisModelVersionInformation;

                log.Info("Network model - file name " + ntisModelVersionInformation.modelFilename);
                log.Info("Network model - version " + ntisModelVersionInformation.modelVersion);
                log.Info("Network model - publication time " + ntisModelVersionInformation.modelPublicationTime);
            }


            log.Info("Ntis Model Notification Data Request: Processing Completed Successfuly");

            return(new putDatex2DataResponse {
                d2LogicalModel = new D2LogicalModel()
            });
        }
        public override void processMessage(D2LogicalModel d2LogicalModel)
        {
            GenericPublication          genericPublication          = (GenericPublication)d2LogicalModel.payloadPublication;
            NtisModelVersionInformation ntisModelVersionInformation = genericPublication.genericPublicationExtension.ntisModelVersionInformation;

            DateTime publicationTime = ntisModelVersionInformation.modelPublicationTime;
            String   modelVersion    = ntisModelVersionInformation.modelVersion;
            String   modelFilename   = ntisModelVersionInformation.modelFilename;

            numberOfNetworkModelRetries = MAX_NUMBER_OF_NETWORK_MODEL_RETRIES;

            if (ntisNetworkModelBaseURL != null)
            {
                updateNetworkModel(null, null);
                //datexiiNetworkModelUpdateService.updateNetworkModel(ntisNetworkModelBaseURL, ntisNwkModelUsername, ntisNwkModelPassword);
            }
            else
            {
                logWrapper.Error("NTIS_NETWORK_MODEL_BASE_URL is not set in application.properties file");
            }
        }