Here is some example code for the simple MessageDecoder class that I wrote for my last blog, it takes an example ebMS 3.0 soap document from a file and loads it - giving access to the UserMessage and SignalMessage elements inside the envelope header. I have tried it on all the examples that I extracted from the eMS 3.0 core spec and it seems to work OK. It's just a start...
static void Main(string args)
string filename = "example.xml";
FileStream file = new FileStream(filename, FileMode.Open,
ebMS3.Soap.MessageDecoder decoder = new MessageDecoder(file);
SignalMessage smsgs = decoder.GetHeaderSignalMessages();
UserMessage umsgs = decoder.GetHeaderUserMessages();