Bemühungen DBH Rückkanal

This commit is contained in:
Daniel Schick 2019-09-04 13:21:08 +00:00
parent 3f469726a9
commit ad8f855c90
5 changed files with 16 additions and 7 deletions

View File

@ -1,3 +1,5 @@
Reverse Proxy
Der einzige von außen erreichbare Server ist der Wetris Server (Domain u.a. www.schiffsmelder.de).
Um die Konfig möglichst nicht zu ändern, habe ich eine Umleitung eingerichtet.
Zunächst mit HTTP redirect, was aber den Nachteil hat, dass die neu vergebene URL nach aussen sichtbar wird.

Binary file not shown.

View File

@ -1,16 +1,13 @@
using System;
using System.Collections.Generic;
using log4net;
using bsmd.database;
namespace bsmd.dbh.ResponseService
{
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "Service1" in code, svc and config file together.
// NOTE: In order to launch WCF Test Client for testing this service, please select Service1.svc or Service1.svc.cs at the Solution Explorer and start debugging.
public class ResponseService : IResponseService
{
private ILog _log = LogManager.GetLogger("dbh ResponseService");
private readonly ILog _log = LogManager.GetLogger("dbh ResponseService");
public void Root(string Version, string MessageId, string VisitId, string TransitId, DateTime Timestamp,
string SenderReference, bsmd.dbh.response.RootType Type,
@ -52,8 +49,9 @@ namespace bsmd.dbh.ResponseService
_log.InfoFormat("Visit-Id: {0}", VisitId);
if (!TransitId.IsNullOrEmpty())
_log.InfoFormat("Transit-Id: {0}", TransitId);
if (Timestamp != null)
_log.InfoFormat("Timestamp: {0}", Timestamp);
if (SenderReference != null)
_log.InfoFormat("Sender-Reference: {0}", SenderReference);

View File

@ -21,6 +21,7 @@
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
<UseGlobalApplicationHostFile />
<Use64BitIISExpress />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@ -30,6 +31,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>..\..\..\..\mtc\puls200.frame\frame.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>

View File

@ -2,6 +2,13 @@
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<UseIISExpress>true</UseIISExpress>
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<Use64BitIISExpress />
<IISExpressSSLPort />
<IISExpressAnonymousAuthentication />
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
<UseGlobalApplicationHostFile />
</PropertyGroup>
<ProjectExtensions>
<VisualStudio>