Changeset 15281 for branches/Async/HeuristicLab.Clients.Access/3.3/ServiceClients/GenerateServiceClients.cmd
- Timestamp:
- 07/23/17 11:17:18 (7 years ago)
- Location:
- branches/Async
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Async
- Property svn:ignore
-
old new 24 24 protoc.exe 25 25 obj 26 .vs
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/Async/HeuristicLab.Clients.Access/3.3/ServiceClients/GenerateServiceClients.cmd
r8042 r15281 1 echo off 1 @ECHO OFF 2 2 3 echo. 4 echo ******************************************************************************************* 5 echo Generating AccessService client 6 echo. 3 SET HOST= 4 SET GENERATECONFIG= 7 5 8 svcutil.exe ^ 9 http://localhost:81/AccessService?wsdl ^ 10 /out:AccessServiceClient ^ 11 /namespace:*,HeuristicLab.Clients.Access ^ 12 /collectionType:System.Collections.Generic.List`1 ^ 13 /targetClientVersion:Version35 ^ 14 /serializable ^ 15 /enableDataBinding ^ 16 /config:..\app.config 6 ECHO. 7 ECHO ******************************************************************************************* 17 8 18 echo. 19 echo --------------------------------------------------------------------------------------- 20 echo !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! 21 echo. 22 echo Following modifications have to be done manually in generated data contracts: 23 echo * Remove method "protected void RaisePropertyChanged(string propertyName)" in AccessServiceItem 24 echo. 25 echo !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! 26 echo --------------------------------------------------------------------------------------- 27 echo. 28 echo Generation of AccessService client finished. 29 echo ******************************************************************************************* 9 SET /P HOST=Which host should be used? [services.heuristiclab.com]: 10 IF "%HOST%"=="" SET HOST=services.heuristiclab.com 30 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%/AccessService-3.3/AccessService.svc?wsdl ^ 16 /out:AccessServiceClient ^ 17 /namespace:*,HeuristicLab.Clients.Access ^ 18 /collectionType:System.Collections.Generic.List`1 ^ 19 /targetClientVersion:Version35 ^ 20 /serializable ^ 21 /enableDataBinding ^ 22 /syncOnly 23 24 IF "%GENERATECONFIG%"=="y" ( 25 SET ARGS=%ARGS% /config:..\app.config /mergeConfig 26 ) ELSE ( 27 SET ARGS=%ARGS% /noConfig 28 ) 29 30 ECHO. 31 ECHO Generating AccessService client 32 ECHO. 33 34 SETLOCAL ENABLEDELAYEDEXPANSION 35 svcutil.exe %ARGS% 36 ENDLOCAL 37 38 ECHO. 39 ECHO --------------------------------------------------------------------------------------- 40 ECHO !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! 41 ECHO. 42 ECHO Following modifications have to be done manually in generated data contracts: 43 ECHO * Remove method "protected void RaisePropertyChanged(string propertyName)" in generated AccessItem 44 ECHO. 45 ECHO !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! 46 ECHO --------------------------------------------------------------------------------------- 47 ECHO. 48 ECHO Generation of AccessService client finished. 49 ECHO ******************************************************************************************* 50 ECHO. 51 52 PAUSE
Note: See TracChangeset
for help on using the changeset viewer.