Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2817-BinPackingSpeedup/HeuristicLab.Clients.OKB/3.3/RunCreation/ServiceClient/GenerateServiceClient.cmd @ 16147

Last change on this file since 16147 was 16140, checked in by abeham, 6 years ago

#2817: updated to trunk r15680

File size: 1.7 KB
RevLine 
[14726]1@ECHO OFF
[8055]2
[14726]3SET HOST=
4SET GENERATECONFIG=
[8055]5
[14726]6ECHO.
7ECHO *******************************************************************************************
[8055]8
[14726]9SET /P HOST=Which host should be used? [services.heuristiclab.com]:
10IF "%HOST%"=="" SET HOST=services.heuristiclab.com
[8055]11
[14726]12SET /P GENERATECONFIG=Would you like to generate the configuration file? [y]:
13IF "%GENERATECONFIG%"=="" SET GENERATECONFIG=y
[8055]14
[14726]15SET ARGS=http://%HOST%/OKB-3.3/RunCreationService.svc?wsdl ^
16/out:RunCreationServiceClient ^
17/namespace:*,HeuristicLab.Clients.OKB.RunCreation ^
18/collectionType:System.Collections.Generic.List`1 ^
19/targetClientVersion:Version35 ^
20/enableDataBinding ^
21/syncOnly
22
23IF "%GENERATECONFIG%"=="y" (
24  SET ARGS=%ARGS% /config:..\..\app.config /mergeConfig
25) ELSE (
26  SET ARGS=%ARGS% /noConfig
27)
28
29ECHO.
30ECHO Generating RunCreationService client
31ECHO.
32
33SETLOCAL ENABLEDELAYEDEXPANSION
34svcutil.exe %ARGS%
35ENDLOCAL
36
37ECHO.
[16140]38ECHO ---------------------------------------------------------------------------------------
39ECHO !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!!
40ECHO.
41ECHO Following modifications have to be done manually:
42ECHO  * Change endpoint identity in app.config from "<certificate encodedValue="..." />" to "<dns value="host" />", e.g. "<dns value="services.heuristiclab.com" />"
43ECHO.
44ECHO !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!!
45ECHO ---------------------------------------------------------------------------------------
46ECHO.
[14726]47ECHO Generation of RunCreationService client finished.
48ECHO *******************************************************************************************
49ECHO.
50
51PAUSE
Note: See TracBrowser for help on using the repository browser.