Last change
on this file since 15632 was
15361,
checked in by jkarder, 7 years ago
|
#2835:
- switched to DNS identities
- updated service client generation cmds
|
File size:
1.7 KB
|
Line | |
---|
1 | @ECHO OFF
|
---|
2 |
|
---|
3 | SET HOST=
|
---|
4 | SET GENERATECONFIG=
|
---|
5 |
|
---|
6 | ECHO.
|
---|
7 | ECHO *******************************************************************************************
|
---|
8 |
|
---|
9 | SET /P HOST=Which host should be used? [services.heuristiclab.com]:
|
---|
10 | IF "%HOST%"=="" SET HOST=services.heuristiclab.com
|
---|
11 |
|
---|
12 | SET /P GENERATECONFIG=Would you like to generate the configuration file? [y]:
|
---|
13 | IF "%GENERATECONFIG%"=="" SET GENERATECONFIG=y
|
---|
14 |
|
---|
15 | SET 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 |
|
---|
23 | IF "%GENERATECONFIG%"=="y" (
|
---|
24 | SET ARGS=%ARGS% /config:..\..\app.config /mergeConfig
|
---|
25 | ) ELSE (
|
---|
26 | SET ARGS=%ARGS% /noConfig
|
---|
27 | )
|
---|
28 |
|
---|
29 | ECHO.
|
---|
30 | ECHO Generating RunCreationService client
|
---|
31 | ECHO.
|
---|
32 |
|
---|
33 | SETLOCAL ENABLEDELAYEDEXPANSION
|
---|
34 | svcutil.exe %ARGS%
|
---|
35 | ENDLOCAL
|
---|
36 |
|
---|
37 | ECHO.
|
---|
38 | ECHO ---------------------------------------------------------------------------------------
|
---|
39 | ECHO !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!!
|
---|
40 | ECHO.
|
---|
41 | ECHO Following modifications have to be done manually:
|
---|
42 | ECHO * Change endpoint identity in app.config from "<certificate encodedValue="..." />" to "<dns value="host" />", e.g. "<dns value="services.heuristiclab.com" />"
|
---|
43 | ECHO.
|
---|
44 | ECHO !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!!
|
---|
45 | ECHO ---------------------------------------------------------------------------------------
|
---|
46 | ECHO.
|
---|
47 | ECHO Generation of RunCreationService client finished.
|
---|
48 | ECHO *******************************************************************************************
|
---|
49 | ECHO.
|
---|
50 |
|
---|
51 | PAUSE
|
---|
Note: See
TracBrowser
for help on using the repository browser.