Alpha version of ssdl.exe available

I spent some time today on SSDL.exe so I can make it available through ssdl.org. This is a very alpha version, so please be advised… you’ll probably get exceptions here and there 🙂

Given an SSDL contract document, ssdl.exe will validate it against one of the four protocol framework schemas and then send the validated document to all the plugins. This version of ssdl.exe comes only with one plugin, the WSE code generator.

WSE Code Generator

For each declared message in an SSDL document, you’ll get a class with the header and body elements represented as properties. The generated class for each message gives you access to the message’s SoapEnvelope representation so you can directly manipulate it if you so wish.

You’ll also find an SsdlReceiver class which is used in the same way as a SoapReceiver but it also provides events for each of the declared messages in the SSDL contract. You can register methods to handle the arrival of specific messages, provided you have associated the receiver with an endpoint as you normally do with SoapReceivers.

You send messages using the SsdlSender class, in a similar way you use the SoapSender class. Note, however, that while the use of SsdlReceiver is optional, you have to use SsdlSender because otherwise the runtime will not populate the SOAP message with the appropriate XML representation of the header and body elements.

There is an example of the above in the SSDL white paper.

Finally, if you want to use the generated VB or CS code, you’ll have to reference the Ssdl.Wse.dll in your code and make sure that Ssdl.Document.dll and XmlNodeWriter.dll can be found or directly reference those as well.

Example

I have included the WS-Streaming.xml file with the installation for you to play with. I’ll try to release some more contracts in the future.

Let me know of any problems/questions you may have. Enjoy.

Recent Posts

Digital Twin (my playground)

I am embarking on a side project that involves memory and multimodal understanding for an…

9 months ago

“This is exactly what LLMs are made for”

I was in Toronto, Canada. I'm on the flight back home now. The trip was…

1 year ago

AI is enhancing me

AI as an enhancer of human abilities.

1 year ago

“How we fell out of love with voice assistants”

The BBC article "How we fell out of love with voice assistants" by Katherine Latham…

2 years ago

Ontology-based reasoning with ChatGPT’s help

Like so many others out there, I played a bit with ChatGPT. I noticed examples…

2 years ago

Break from work

Hi all… It’s been a while since I posted on this blog. It’s been an…

2 years ago