Last change
on this file since 18078 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%/Deployment-3.3/UpdateService.svc?wsdl http://%HOST%/Deployment-3.3/AdminService.svc?wsdl ^
|
---|
16 | /out:ServiceClients ^
|
---|
17 | /namespace:*,HeuristicLab.PluginInfrastructure.Advanced.DeploymentService ^
|
---|
18 | /targetClientVersion:Version35 ^
|
---|
19 | /syncOnly
|
---|
20 |
|
---|
21 | IF "%GENERATECONFIG%"=="y" (
|
---|
22 | SET ARGS=%ARGS% /config:..\..\app.config /mergeConfig
|
---|
23 | ) ELSE (
|
---|
24 | SET ARGS=%ARGS% /noConfig
|
---|
25 | )
|
---|
26 |
|
---|
27 | ECHO.
|
---|
28 | ECHO Generating UpdateService and AdminService clients
|
---|
29 | ECHO.
|
---|
30 |
|
---|
31 | SETLOCAL ENABLEDELAYEDEXPANSION
|
---|
32 | svcutil.exe %ARGS%
|
---|
33 | ENDLOCAL
|
---|
34 |
|
---|
35 | ECHO.
|
---|
36 | ECHO ---------------------------------------------------------------------------------------
|
---|
37 | ECHO !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!!
|
---|
38 | ECHO.
|
---|
39 | ECHO Following modifications have to be done manually:
|
---|
40 | ECHO * Change endpoint identity in app.config from "<certificate encodedValue="..." />" to "<dns value="host" />", e.g. "<dns value="services.heuristiclab.com" />"
|
---|
41 | ECHO.
|
---|
42 | ECHO !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!!
|
---|
43 | ECHO ---------------------------------------------------------------------------------------
|
---|
44 | ECHO.
|
---|
45 | ECHO Generation of UpdateService and AdminService clients finished.
|
---|
46 | ECHO *******************************************************************************************
|
---|
47 | ECHO.
|
---|
48 |
|
---|
49 | PAUSE
|
---|
Note: See
TracBrowser
for help on using the repository browser.