Neue Art ServiceReference zu erstellen:
BeWo/ServiceReference_fast -> Parallel, keine Zeitüberwachung BeWo/ServiceReference_track -> synchron, Zeitüberwachung
This commit is contained in:
@@ -1 +1 @@
|
||||
..\svcutil.exe /noConfig /noLogo /edb /n:*,BeWo.ServiceProxy /out:..\ServiceProxy\Generated%1.cs /ct:System.Collections.Generic.List`1 /r:..\..\Shared\bin\Debug\BS.Shared.dll http://localhost:3777/Host/%1.svc?wsdl
|
||||
src\svcutil.exe /noConfig /noLogo /edb /n:*,BeWo.ServiceProxy /out:..\ServiceProxy\Generated%1.cs /ct:System.Collections.Generic.List`1 /r:..\..\Shared\bin\Debug\BS.Shared.dll http://localhost:3777/Host/%1.svc?wsdl
|
||||
@@ -1,5 +0,0 @@
|
||||
echo %time%
|
||||
|
||||
svcutil.exe /noConfig /edb /n:*,BeWo.ServiceProxy /out:ServiceProxy\Generated.cs /ct:System.Collections.Generic.List`1 /r:..\Shared\bin\Debug\BS.Shared.dll http://localhost:3777/Host/EmployeeService.svc?wsdl http://localhost:3777/Host/CustomerService.svc?wsdl http://localhost:3777/Host/UserService.svc?wsdl http://localhost:3777/Host/StreamingService.svc?wsdl http://localhost:3777/Host/ValueListService.svc?wsdl http://localhost:3777/Host/DownloadService.svc?wsdl http://localhost:3777/Host/ResourceService.svc?wsdl http://localhost:3777/Host/OperationsService.svc?wsdl http://localhost:3777/Host/AnalysisService.svc?wsdl http://localhost:3777/Host/MailService.svc?wsdl http://localhost:3777/Host/AccountingService.svc?wsdl http://localhost:3777/Host/GkvAccountingService.svc?wsdl http://localhost:3777/Host/ReportService.svc?wsdl http://localhost:3777/Host/QueryService.svc?wsdl
|
||||
|
||||
echo %time%
|
||||
@@ -1,23 +0,0 @@
|
||||
@echo off
|
||||
REM Diese Batch-Datei führt eine andere Batch-Datei aus und schreibt das Ergebnis in eine Log-Datei
|
||||
|
||||
REM Pfad zur anderen Batch-Datei
|
||||
set "SCRIPT_PATH=ServiceReferences.bat"
|
||||
|
||||
REM Pfad zur Log-Datei
|
||||
set "LOG_FILE=ServiceReferencesWithLog.log.txt"
|
||||
|
||||
REM Leere die Log-Datei vor dem Start
|
||||
echo. > %LOG_FILE%
|
||||
|
||||
REM Führe die andere Batch-Datei aus und leite die Ausgabe in die Log-Datei um
|
||||
call %SCRIPT_PATH% >> %LOG_FILE% 2>&1
|
||||
|
||||
REM Überprüfe, ob die Ausführung erfolgreich war
|
||||
if %errorlevel% equ 0 (
|
||||
echo Die Ausführung von %SCRIPT_PATH% war erfolgreich. >> %LOG_FILE%
|
||||
) else (
|
||||
echo Die Ausführung von %SCRIPT_PATH% ist fehlgeschlagen. >> %LOG_FILE%
|
||||
)
|
||||
|
||||
echo Log wurde in %LOG_FILE% geschrieben.
|
||||
20
BeWo/ServiceReferences_fast.bat
Normal file
20
BeWo/ServiceReferences_fast.bat
Normal file
@@ -0,0 +1,20 @@
|
||||
REM Pfad zum Unterordner xyz
|
||||
set "folder=Scripts"
|
||||
|
||||
REM Prüfen, ob der Ordner existiert
|
||||
if not exist "%folder%" (
|
||||
echo Der Ordner "%folder%" wurde nicht gefunden.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
cd %folder%
|
||||
|
||||
REM Alle .bat-Dateien im Ordner ausführen
|
||||
for %%f in ("*.bat") do (
|
||||
echo Starte %%f ...
|
||||
start "" cmd /c "%%f"
|
||||
)
|
||||
|
||||
echo Alle Batch-Dateien wurden gestartet.
|
||||
|
||||
endlocal
|
||||
@@ -1,3 +1,5 @@
|
||||
clear
|
||||
|
||||
REM Pfad zum Unterordner xyz
|
||||
set "folder=Scripts"
|
||||
|
||||
@@ -24,4 +26,5 @@ echo Start Time: %startTime%
|
||||
echo Finish Time: %time%
|
||||
|
||||
endlocal
|
||||
|
||||
pause
|
||||
Reference in New Issue
Block a user