Click to Rate and Give Feedback
MSDN
MSDN Library
Microsoft Robotics
User Guide
 DSS Host Tool (DssHost.exe)
DSS Host Tool (DssHost.exe)

The Decentralized Software Services (DSS) Host tool starts a DSS Node on a particular HTTP and/or TCP port running zero, one, or more services indicated on the command line.

dsshost.exe [options]

Parameters

Option Short Name Description

/contract:{<uri>|<path>}

/c

Initial Dss Service contract to load.

/dll:{<uri>|<path>}

/d

Initial Dss Service dll to load.

/hostname:<string>

/h

IPv4 or IPv6 address or an Internet host name identifying this host.

/manifest:{<uri>|<path>}

/m

Initial manifest(s) to load.

/messageLogging:{<uri>|<path>}

/mlp

Enables message logging and specifies file system directory path for generated log files. Disables binary serialization and captures to disk XML serialization of all service messages.

/port:<int>

/p

TCP port to listen for HTTP requests.

/security:{<uri>|<path>}

/s

File containing security settings

/tcpport:<int>

/t

TCP port to listen for SOAP requests.

/verbosity:{Off|Error|Warning|Info|Verbose}

/v

Verbosity level.

@<file>

Name of a text file containing arguments. Multiple arguments per line are allowed. An unquoted hash (#) comments out the remainder of a line. An argument file is processed by removing comments, leading and trailing spaces and tabs, processing quotation marks and escape sequences, and then processing the arguments as if they were on the command line.

Remarks

Once a node is running you can interact with it by entering the following URL into your Web browser:

http://localhost:<port>
    

where <port> is the HTTP port specified on the command line using the /port argument. Services can also be created after the node is running by going to the "Control Panel" available on the page above. You can terminate DssHost by press Ctrl-C.

Examples

From a Microsoft Robotics Developer Studio Command this example starts a DSS node running the manifest for Service Tutorial 1 on HTTP port 50000 and TCP port 50001:

dsshost /p:50000 /t:50001 /m:"samples\Config\ServiceTutorial1.manifest.xml"
      

This example starts a DSS node specifically indicating the security configuration file to use. Note that it is not a requirement to specify a manifest when starting a DSS node using DssHost.exe

dsshost /p:50000 /t:50001 /s:"store\SecuritySettings.xml"
      

DSS User Guide: DSS Node Security ModelDSS Service Projects Overview

 

 

© 2009 Microsoft Corporation. All Rights Reserved.

© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker