#-------------- Service -------------------------- [Service] ServiceName=LVWSDeploySvc ServiceType=C_REST ServiceDllPath=deploysvc ViList=RegisterStandaloneService:RegisterTransientService:UnregisterProcessDeployedServices:UnregisterService NumRoutingTemplates=4 PublishStatistics=FALSE #------------ Routing Templates --------------- # POST /LVWSDeploySvc/RegisterStandaloneWS # Content-Type = multipart/form # Form elements: # lvwsFile = the built .lvws file # # Response: # Bad Request: # HTTP Response Code = 400 # Internal Server Error: # HTTP Response Code = 500 # HTTP Response Code = 200 # Deployment errors will be returned through a terminal called Result # The deployment provider can consume this error and display localized # error messages [RoutingTemplate_1] Template=/RegisterStandaloneWS Type=Method HttpMethod=POST ViName=RegisterStandaloneService DefaultString= RequireAPIKey=FALSE Permissions=DeployWS # POST /LVWSDeploySvc/UnregisterWS # Content-Type = application/x-www-form-urlencoded # Form elements: # wsName = # exeID = - # # Response: # Bad Request: # HTTP Response Code = 400 # Internal Server Error: # HTTP Response Code = 500 # HTTP Response Code = 200 # Deployment errors will be returned through a terminal called Result # The deployment provider can consume this error and display localized # error messages [RoutingTemplate_2] Template=/UnregisterWS Type=Method HttpMethod=POST ViName=UnregisterService DefaultString= RequireAPIKey=FALSE Permissions=UndeployWS # POST /LVWSDeploySvc/RegisterTransientWS # Content-Type = application/x-www-form-urlencoded # Form elements: # lvwsFilePath = path to the deployed .lvws file # exeID = - # # Response: # Bad Request: # HTTP Response Code = 400 # Internal Server Error: # HTTP Response Code = 500 # HTTP Response Code = 200 # Deployment errors will be returned through a terminal called Result # The deployment provider can consume this error and display localized # error messages [RoutingTemplate_3] Template=/RegisterTransientWS Type=Method HttpMethod=POST ViName=RegisterTransientService DefaultString= RequireAPIKey=FALSE Permissions=DeployWS # POST /LVWSDeploySvc/UnregisterAllDeployedWS # Content-Type = application/x-www-form-urlencoded # Form elements: # exeID = - # # Response: # Bad Request: # HTTP Response Code = 400 # Internal Server Error: # HTTP Response Code = 500 # HTTP Response Code = 200 # Deployment errors will be returned through a terminal called Result # The deployment provider can consume this error and display localized # error messages [RoutingTemplate_4] Template=/UnregisterAllDeployedWS Type=Method HttpMethod=POST ViName=UnregisterProcessDeployedServices DefaultString= RequireAPIKey=FALSE Permissions=UndeployWS #----------------- VIs ---------------------------- [RegisterStandaloneService] Name=RegisterStandaloneService Path= TerminalList=Result OutputMode=Terminal TerminalOutputType=PlainText [RegisterTransientService] Name=RegisterTransientService Path= TerminalList=Result OutputMode=Terminal TerminalOutputType=PlainText [UnregisterProcessDeployedServices] Name=UnregisterProcessDeployedServices Path= TerminalList=Result OutputMode=Terminal TerminalOutputType=PlainText [UnregisterService] Name=UnregisterService Path= TerminalList=Result OutputMode=Terminal TerminalOutputType=PlainText #--------------------------------------------------------------------- # Terminal configuration # Name = Control/indicator label, referenced in VI TerminalList # ConnPaneNum = Connector pane number of the terminal; to find # out the number turn on LVDebugKeys=True and # SuperSecretPrivateSpecialStuff=True in LabVIEW.ini, then # type + to bring up the # Ned debug dialog and turn on connector pane number display - # it will show in the context help. # IoStatus = input, output # LVTypeString: # "String" # "Path" # "Bool" # "I8" # "I16" # "I32" # "I64" # "U8" # "U16" # "U32" # "U64" # "SGL" # "DBL" #--------------------------------------------------------------------- #--------------- Terminals -------------------------- [RegisterStandaloneService_Result] Name=Result ConnPaneNum=1 IoStatus=output LVTypeString=I32 [RegisterTransientService_Result] Name=Result ConnPaneNum=1 IoStatus=output LVTypeString=I32 [UnregisterProcessDeployedServices_Result] Name=Result ConnPaneNum=1 IoStatus=output LVTypeString=I32 [UnregisterService_Result] Name=Result ConnPaneNum=1 IoStatus=output LVTypeString=I32