<?xml version="1.0" encoding="utf-8" ?>
<NotificationServicesInstance xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.microsoft.com/MicrosoftNotificationServices/ConfigurationFileSchema">
	<InstanceName>MyNotifyInstance</InstanceName>
	<SqlServerSystem>%SqlServer%</SqlServerSystem>
	<Applications>
		<Application>
			<ApplicationName>MyNotify</ApplicationName>
			<BaseDirectoryPath>%BaseDirectoryPath%\AppDefinition</BaseDirectoryPath>
			<ApplicationDefinitionFilePath>appADF.xml</ApplicationDefinitionFilePath>
			<Parameters>
				<!-- These parameters are defined as environment variables or
				as command line arguments.  They are passed to the ADF file. -->
				<Parameter>
					<Name>_DBSystem_</Name>
					<Value>%SqlServer%</Value>
				</Parameter>
				<Parameter>
					<Name>_NSSystem_</Name>
					<Value>%NSHost%</Value>
				</Parameter>
				<Parameter>
					<Name>_BaseDirectoryPath_</Name>
					<Value>%BaseDirectoryPath%</Value>
				</Parameter>
				<Parameter>
					<Name>_EventsDir_</Name>
					<Value>%BaseDirectoryPath%\Test\Events</Value>
				</Parameter>
			</Parameters>
		</Application>
	</Applications>
	<Protocols>
		<!--FILE and SMTP are well known-->
		<Protocol>
			<ProtocolName>HttpLogger</ProtocolName>
			<ClassName>HttpExtension</ClassName>
		</Protocol>
	</Protocols>
	<DeliveryChannels>
		<DeliveryChannel>
			<DeliveryChannelName>MsnMessengerChannel</DeliveryChannelName>
			<ProtocolName>HttpLogger</ProtocolName>
			<Arguments>
				<Argument>
					<Name>ProtocolProviderClassName</Name>
					<Value>NSSamples.HttpLoggerDeliveryProtocol</Value>
				</Argument>
				<Argument>
					<Name>ProtocolProviderAssemblyName</Name>
					<Value>%BaseDirectoryPath%\CustomDeliveryProtocol\bin\HttpLoggerDeliveryProtocol.dll</Value>
				</Argument>
				<Argument>
					<Name>PostURL</Name>
					<Value>http://www.mperfect.net/messengerwebsrv/messengerservice.asmx/NoSinkSendMessage</Value>
					<!--Value>http://localhost/MyNotify/LocationService/HttpLogger.aspx</Value-->
				</Argument>
				<Argument>
					<Name>UserName</Name>
					<Value>Anonymous</Value>
				</Argument>
				<Argument>
					<Name>Password</Name>
					<Value>Password</Value>
				</Argument>
				<!--Argument>
					<Name>Encoding</Name>
					<Value>ISO-8859-1</Value>
				</Argument-->
				<Argument>
					<Name>ContentType</Name>
					<Value>application/x-www-form-urlencoded</Value>
					<!--Value>text/html</Value-->
				</Argument>
			</Arguments>
		</DeliveryChannel>
		<DeliveryChannel>
			<DeliveryChannelName>HttpLoggerChannel</DeliveryChannelName>
			<ProtocolName>HttpLogger</ProtocolName>
			<Arguments>
				<Argument>
					<Name>ProtocolProviderClassName</Name>
					<Value>NSSamples.HttpLoggerDeliveryProtocol</Value>
				</Argument>
				<Argument>
					<Name>ProtocolProviderAssemblyName</Name>
					<Value>%BaseDirectoryPath%\CustomDeliveryProtocol\bin\HttpLoggerDeliveryProtocol.dll</Value>
				</Argument>
				<Argument>
					<Name>PostURL</Name>
					<Value>http://localhost/MyNotify/LocationService/LocationServ.asmx/PostUserNotification</Value>
					<!--Value>http://localhost/MyNotify/LocationService/HttpLogger.aspx</Value-->
				</Argument>
				<Argument>
					<Name>UserName</Name>
					<Value>Anonymous</Value>
				</Argument>
				<Argument>
					<Name>Password</Name>
					<Value>Password</Value>
				</Argument>
				<!--Argument>
					<Name>Encoding</Name>
					<Value>ISO-8859-1</Value>
				</Argument-->
				<Argument>
					<Name>ContentType</Name>
					<Value>application/x-www-form-urlencoded</Value>
					<!--Value>text/html</Value-->
				</Argument>
			</Arguments>
		</DeliveryChannel>
		<DeliveryChannel>
			<DeliveryChannelName>SmtpChannel</DeliveryChannelName>
			<!-- "SMTP" is a well-known protocol name. It does not
			require a corresponding entry in the Protocols section
			of the configuration file. -->
			<ProtocolName>SMTP</ProtocolName>
			<Arguments>
				<Argument>
					<Name>SmtpServer</Name>
					<Value>server</Value>
					<!--Value>devbox</Value-->
				</Argument>
				<Argument>
					<Name>BodyEncoding</Name>
					<Value>utf-16</Value>
					<!--Value>UTF16</Value-->
				</Argument>
			</Arguments>
		</DeliveryChannel>
		<DeliveryChannel>
			<DeliveryChannelName>FileChannel</DeliveryChannelName>
			<!-- "File" is a well-known protocol name. It does not
			require a corresponding entry in the Protocols section
			of the configuration file. -->
			<ProtocolName>File</ProtocolName>
			<Arguments>
				<Argument>
					<Name>FileName</Name>
					<Value>%BaseDirectoryPath%\Test\Notifications\FileNotifications.txt</Value>
				</Argument>
			</Arguments>
		</DeliveryChannel>
	</DeliveryChannels>
</NotificationServicesInstance>

