all groups > sql server notification services > july 2004 >
You're in the

sql server notification services

group:

Document IDeliveryProtocol Assembly



Document IDeliveryProtocol Assembly Scot NS Curry
7/28/2004 11:02:47 PM
sql server notification services: I am not clear on how to document the IDeliveryChannel assembly. With the
Event classes, there is the very obvious AssemblyName and ClassName nodes
that do the trick. Could someone please enlighten me on how to document
that information. I am very tired of looking at the generic SMTP
implementation.

TIA.
Scot Curry

Re: Document IDeliveryProtocol Assembly Joe Webb
7/29/2004 6:11:03 AM
Hi Scot -

The protocols defined in the NotificationClass node of the ADF map back
to protocols defined in the Config file. Its in the Config file that you
define the assembly that contains the class.

For example, you may have an SMS protocol defined in the Config file.
<Protocol>
<ProtocolName>JoeSMS</ProtocolName>
<ClassName>JoeProtocols.SMSProtocol</ClassName>
<AssemblyName>JoeProtocols.dll</AssemblyName>
</Protocol>

Then you could reference it in the ADF as

<Protocols>
<Protocol>
<ProtocolName>JoeSMS</ProtocolName>
...
...
</Protocol>
</Protocols>

HTH...
Joe Webb

[quoted text, click to view]
Re: Document IDeliveryProtocol Assembly Scot NS Curry
7/31/2004 11:59:42 AM
Thank you for getting me moving forward. I am now struggling with a =
schema validation error when I try to add the Protocols node as a child =
of the NotificationServicesInstance node. The validation error is that =
it is an invalid child, even though intellisense brings it up. =20

Thanks again for your help.
Scot Curry


[quoted text, click to view]
Re: Document IDeliveryProtocol Assembly Scot NS Curry
8/2/2004 9:45:43 AM
I am am guessing that most of the users of this group know this, but XML =
schema can require that the XML nodes be in a specific order. That was =
my problem here. After looking at the schema, I placed the Protocol =
node in the correct place and all was well.

Hope this helps someone in the future.
Scot

[quoted text, click to view]
Thank you for getting me moving forward. I am now struggling with a =
schema validation error when I try to add the Protocols node as a child =
of the NotificationServicesInstance node. The validation error is that =
it is an invalid child, even though intellisense brings it up. =20

Thanks again for your help.
Scot Curry


[quoted text, click to view]
AddThis Social Bookmark Button