MindTouch Developer Center > Dream > Configuration > Run Dream as a Windows Service

Run Dream as a Windows Service

Table of contents
No headers
Yet another alternative to run your webservices is using the provided mindtouch.host.service.exe. First you have to run the installer. After that, you will find another service in the Windows service control panel. Starting the service up will provide you with a fully functional Dream environment (The apikey can be found in the application event log - I think it is the fourth most recent entry). Alternatively, you can configure the service during startup by placing a file called mindtouch.dream.startup.xml in the install directory:
<config>
	<apikey>12345</apikey>
	<script>
		<action verb="POST" path="/host/load?name=MyService" />
		<action verb="POST"  path="/host/services">
			<config>
				<path>myservice</path>
				<sid>http://services.company.de/dream/myservice</sid>
			</config>
		</action>
	</script>
</config>

 Additional options correspond to the mindtouch.host.exe command line options.

Note: If you want to load an startup script instead you can use:

<config>
	<script src="my.startup.xml" />
</config>
Tag page
You must login to post a comment.
Powered by MindTouch Deki v.8.08.1a