Free cookie consent management tool by TermsFeed Policy Generator

Changeset 14726 for trunk


Ignore:
Timestamp:
03/07/17 17:47:45 (8 years ago)
Author:
jkarder
Message:

#2743: updated service client generation cmds

Location:
trunk/sources
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Access/3.3/ServiceClients/GenerateServiceClients.cmd

    r8042 r14726  
    1 echo off
     1@ECHO OFF
    22
    3 echo.
    4 echo *******************************************************************************************
    5 echo Generating AccessService client
    6 echo.
     3SET HOST=
     4SET GENERATECONFIG=
    75
    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
     6ECHO.
     7ECHO *******************************************************************************************
    178
    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 *******************************************************************************************
     9SET /P HOST=Which host should be used? [services.heuristiclab.com]:
     10IF "%HOST%"=="" SET HOST=services.heuristiclab.com
    3011
     12SET /P GENERATECONFIG=Would you like to generate the configuration file? [y]:
     13IF "%GENERATECONFIG%"=="" SET GENERATECONFIG=y
     14
     15SET 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
     24IF "%GENERATECONFIG%"=="y" (
     25  SET ARGS=%ARGS% /config:..\app.config /mergeConfig
     26) ELSE (
     27  SET ARGS=%ARGS% /noConfig
     28)
     29
     30ECHO.
     31ECHO Generating AccessService client
     32ECHO.
     33
     34SETLOCAL ENABLEDELAYEDEXPANSION
     35svcutil.exe %ARGS%
     36ENDLOCAL
     37
     38ECHO.
     39ECHO ---------------------------------------------------------------------------------------
     40ECHO !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!!
     41ECHO.
     42ECHO Following modifications have to be done manually in generated data contracts:
     43ECHO  * Remove method "protected void RaisePropertyChanged(string propertyName)" in generated AccessItem
     44ECHO.
     45ECHO !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!!
     46ECHO ---------------------------------------------------------------------------------------
     47ECHO.
     48ECHO Generation of AccessService client finished.
     49ECHO *******************************************************************************************
     50ECHO.
     51
     52PAUSE
  • trunk/sources/HeuristicLab.Clients.Hive/3.3/ServiceClients/GenerateServiceClients.cmd

    r6976 r14726  
    1 echo off
     1@ECHO OFF
    22
    3 echo.
    4 echo *******************************************************************************************
    5 echo Generating HiveService client
    6 echo.
     3SET HOST=
     4SET GENERATECONFIG=
    75
    8 svcutil.exe ^
    9   http://localhost/Hive-3.3/HiveService.svc?wsdl ^
    10   /out:HiveServiceClient ^
    11   /namespace:*,HeuristicLab.Clients.Hive ^
    12   /collectionType:System.Collections.Generic.List`1 ^
    13   /targetClientVersion:Version35 ^
    14   /serializable ^
    15   /enableDataBinding ^
    16   /config:..\app.config
     6ECHO.
     7ECHO *******************************************************************************************
    178
    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 HiveItem
    24 echo.
    25 echo !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!!
    26 echo ---------------------------------------------------------------------------------------
    27 echo.
    28 echo Generation of HiveService client finished.
    29 echo *******************************************************************************************
     9SET /P HOST=Which host should be used? [services.heuristiclab.com]:
     10IF "%HOST%"=="" SET HOST=services.heuristiclab.com
    3011
     12SET /P GENERATECONFIG=Would you like to generate the configuration file? [y]:
     13IF "%GENERATECONFIG%"=="" SET GENERATECONFIG=y
     14
     15SET ARGS=http://%HOST%/Hive-3.3/HiveService.svc?wsdl ^
     16/out:HiveServiceClient ^
     17/namespace:*,HeuristicLab.Clients.Hive ^
     18/collectionType:System.Collections.Generic.List`1 ^
     19/targetClientVersion:Version35 ^
     20/serializable ^
     21/enableDataBinding ^
     22/syncOnly
     23
     24IF "%GENERATECONFIG%"=="y" (
     25  SET ARGS=%ARGS% /config:..\app.config /mergeConfig
     26) ELSE (
     27  SET ARGS=%ARGS% /noConfig
     28)
     29
     30ECHO.
     31ECHO Generating HiveService client
     32ECHO.
     33
     34SETLOCAL ENABLEDELAYEDEXPANSION
     35svcutil.exe %ARGS%
     36ENDLOCAL
     37
     38ECHO.
     39ECHO ---------------------------------------------------------------------------------------
     40ECHO !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!!
     41ECHO.
     42ECHO Following modifications have to be done manually in generated data contracts:
     43ECHO  * Remove method "protected void RaisePropertyChanged(string propertyName)" in generated HiveItem
     44ECHO.
     45ECHO !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!!
     46ECHO ---------------------------------------------------------------------------------------
     47ECHO.
     48ECHO Generation of HiveService client finished.
     49ECHO *******************************************************************************************
     50ECHO.
     51
     52PAUSE
  • trunk/sources/HeuristicLab.Clients.OKB/3.3/Administration/ServiceClient/GenerateServiceClient.cmd

    r8055 r14726  
    1 echo off
     1@ECHO OFF
    22
    3 echo.
    4 echo *******************************************************************************************
    5 echo Generating OKB administration service client
    6 echo.
     3SET HOST=
     4SET GENERATECONFIG=
    75
    8 REM If app.config should be generated, use option "/config:..\..\app.config" and optionally "/mergeConfig" instead of "/noConfig".
     6ECHO.
     7ECHO *******************************************************************************************
    98
    10 svcutil.exe ^
    11   http://localhost:8732/Design_Time_Addresses/OKB-3.3/AdministrationService/mex ^
    12   /out:AdministrationServiceClient ^
    13   /namespace:*,HeuristicLab.Clients.OKB.Administration ^
    14   /collectionType:System.Collections.Generic.List`1 ^
    15   /targetClientVersion:Version35 ^
    16   /enableDataBinding ^
    17   /noConfig
     9SET /P HOST=Which host should be used? [services.heuristiclab.com]:
     10IF "%HOST%"=="" SET HOST=services.heuristiclab.com
    1811
    19 echo.
    20 echo ---------------------------------------------------------------------------------------
    21 echo !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!!
    22 echo.
    23 echo Following modifications have to be done manually in generated data contracts:
    24 echo  * Remove method "protected void RaisePropertyChanged(string propertyName)" in OKBItem
    25 echo.
    26 echo !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!!
    27 echo ---------------------------------------------------------------------------------------
    28 echo.
    29 echo Generation of OKB administration service client finished.
    30 echo *******************************************************************************************
    31 echo.
     12SET /P GENERATECONFIG=Would you like to generate the configuration file? [y]:
     13IF "%GENERATECONFIG%"=="" SET GENERATECONFIG=y
    3214
    33 pause
     15SET ARGS=http://%HOST%/OKB-3.3/AdministrationService.svc?wsdl ^
     16/out:AdministrationServiceClient ^
     17/namespace:*,HeuristicLab.Clients.OKB.Administration ^
     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 AdministrationService client
     31ECHO.
     32
     33SETLOCAL ENABLEDELAYEDEXPANSION
     34svcutil.exe %ARGS%
     35ENDLOCAL
     36
     37ECHO.
     38ECHO ---------------------------------------------------------------------------------------
     39ECHO !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!!
     40ECHO.
     41ECHO Following modifications have to be done manually in generated data contracts:
     42ECHO  * Remove method "protected void RaisePropertyChanged(string propertyName)" in generated OKBItem
     43ECHO.
     44ECHO !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!!
     45ECHO ---------------------------------------------------------------------------------------
     46ECHO.
     47ECHO Generation of AdministrationService client finished.
     48ECHO *******************************************************************************************
     49ECHO.
     50
     51PAUSE
  • trunk/sources/HeuristicLab.Clients.OKB/3.3/Query/ServiceClient/GenerateServiceClient.cmd

    r8055 r14726  
    1 echo off
     1@ECHO OFF
    22
    3 echo.
    4 echo *******************************************************************************************
    5 echo Generating OKB query service client
    6 echo.
     3SET HOST=
     4SET GENERATECONFIG=
    75
    8 REM If app.config should be generated, use option "/config:..\..\app.config" and optionally "/mergeConfig" instead of "/noConfig".
     6ECHO.
     7ECHO *******************************************************************************************
    98
    10 svcutil.exe ^
    11   http://localhost:8732/Design_Time_Addresses/OKB-3.3/QueryService/mex ^
    12   /out:QueryServiceClient ^
    13   /namespace:*,HeuristicLab.Clients.OKB.Query ^
    14   /collectionType:System.Collections.Generic.List`1 ^
    15   /targetClientVersion:Version35 ^
    16   /enableDataBinding ^
    17   /noConfig
     9SET /P HOST=Which host should be used? [services.heuristiclab.com]:
     10IF "%HOST%"=="" SET HOST=services.heuristiclab.com
    1811
    19 echo.
    20 echo Generation of OKB query service client finished.
    21 echo *******************************************************************************************
    22 echo.
     12SET /P GENERATECONFIG=Would you like to generate the configuration file? [y]:
     13IF "%GENERATECONFIG%"=="" SET GENERATECONFIG=y
    2314
    24 pause
     15SET ARGS=http://%HOST%/OKB-3.3/QueryService.svc ^
     16/out:QueryServiceClient ^
     17/namespace:*,HeuristicLab.Clients.OKB.Query ^
     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 QueryService client
     31ECHO.
     32
     33SETLOCAL ENABLEDELAYEDEXPANSION
     34svcutil.exe %ARGS%
     35ENDLOCAL
     36
     37ECHO.
     38ECHO Generation of QueryService client finished.
     39ECHO *******************************************************************************************
     40ECHO.
     41
     42PAUSE
  • trunk/sources/HeuristicLab.Clients.OKB/3.3/RunCreation/ServiceClient/GenerateServiceClient.cmd

    r8055 r14726  
    1 echo off
     1@ECHO OFF
    22
    3 echo.
    4 echo *******************************************************************************************
    5 echo Generating OKB run creation service client
    6 echo.
     3SET HOST=
     4SET GENERATECONFIG=
    75
    8 REM If app.config should be generated, use option "/config:..\..\app.config" and optionally "/mergeConfig" instead of "/noConfig".
     6ECHO.
     7ECHO *******************************************************************************************
    98
    10 svcutil.exe ^
    11   http://localhost:8732/Design_Time_Addresses/OKB-3.3/RunCreationService/mex ^
    12   /out:RunCreationServiceClient ^
    13   /namespace:*,HeuristicLab.Clients.OKB.RunCreation ^
    14   /collectionType:System.Collections.Generic.List`1 ^
    15   /targetClientVersion:Version35 ^
    16   /enableDataBinding ^
    17   /noConfig
     9SET /P HOST=Which host should be used? [services.heuristiclab.com]:
     10IF "%HOST%"=="" SET HOST=services.heuristiclab.com
    1811
    19 echo.
    20 echo Generation of OKB run creation service client finished.
    21 echo *******************************************************************************************
    22 echo.
     12SET /P GENERATECONFIG=Would you like to generate the configuration file? [y]:
     13IF "%GENERATECONFIG%"=="" SET GENERATECONFIG=y
    2314
    24 pause
     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.
     38ECHO Generation of RunCreationService client finished.
     39ECHO *******************************************************************************************
     40ECHO.
     41
     42PAUSE
  • trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Advanced/DeploymentService/GenerateServiceClients.cmd

    r4495 r14726  
    1 echo off
     1@ECHO OFF
    22
    3 echo.
    4 echo *******************************************************************************************
    5 echo Generating DeploymentService clients
    6 echo.
     3SET HOST=
     4SET GENERATECONFIG=
    75
    8 svcutil.exe ^
    9   http://services.heuristiclab.com/Deployment-3.3/UpdateService.svc/mex ^
    10   http://services.heuristiclab.com/Deployment-3.3/AdminService.svc/mex ^
    11   /out:ServiceClients ^
    12   /namespace:*,HeuristicLab.PluginInfrastructure.Advanced.DeploymentService ^
    13   /targetClientVersion:Version35 ^
    14   /mergeConfig ^
    15   /config:..\..\app.config
     6ECHO.
     7ECHO *******************************************************************************************
    168
    17 echo.
    18 echo Generation of DeploymentService clients finished.
    19 echo *******************************************************************************************
    20 echo.
     9SET /P HOST=Which host should be used? [services.heuristiclab.com]:
     10IF "%HOST%"=="" SET HOST=services.heuristiclab.com
    2111
    22 pause
     12SET /P GENERATECONFIG=Would you like to generate the configuration file? [y]:
     13IF "%GENERATECONFIG%"=="" SET GENERATECONFIG=y
     14
     15SET 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
     21IF "%GENERATECONFIG%"=="y" (
     22  SET ARGS=%ARGS% /config:..\..\app.config /mergeConfig
     23) ELSE (
     24  SET ARGS=%ARGS% /noConfig
     25)
     26
     27ECHO.
     28ECHO Generating UpdateService and AdminService clients
     29ECHO.
     30
     31SETLOCAL ENABLEDELAYEDEXPANSION
     32svcutil.exe %ARGS%
     33ENDLOCAL
     34
     35ECHO.
     36ECHO Generation of UpdateService and AdminService clients finished.
     37ECHO *******************************************************************************************
     38ECHO.
     39
     40PAUSE
Note: See TracChangeset for help on using the changeset viewer.