South Africa’s biggest forum. Discuss, discover, and connect with thousands of members.

Yes I searched a lot. Most of the searches I did, did not address my problem.Did you try a web search?
One of the first results: http://stackoverflow.com/questions/5794206/deserialize-a-soap-message
This may not be your answer, but will get you a long way to what you are trying to do. Just reading that guy's question should already get you going...
Also, look at the SoapFormatter class -> https://msdn.microsoft.com/en-us/library/wkyt1t1f(v=vs.110).aspx
I did gen my classes from the wdsl, but the generated classes did not include the Envelope and BodyYou got the wsdl so just generate your objects from that and then use that to deserialize your messages as they come in.
For interest sake, why reinventing the wheel here and not using IIS? If you absolutely cannot be using IIS, then why not have a WCF service with tcp bindings? You are overcomplicating this to another level for yourself.
The fact is that these terminals have noi internet connectivity. The guys installing the software have no it skills . Installation has to be one click and bulletproof. Would you honestly choose iis for that?
Slight hijack...
What is the best for a beginner to master.
SOAP or REST ?
Rest. Soap is always a nightmare to work with, no matter your competency level.
The fact is that these terminals have noi internet connectivity. The guys installing the software have no it skills . Installation has to be one click and bulletproof. Would you honestly choose iis for that?
#region FileRead into Stream
StreamReader sr = new StreamReader(new FileStream(file, FileMode.Open));
Console.WriteLine("Parsing file " + file);
string output = sr.ReadToEnd();
#endregion FileRead into Stream
DataSet ds = new DataSet();
//Set XML into dataset
#region XML Read into DS
try
{
ds.ReadXmlSchema(new StringReader(output));
ds.ReadXml(new StringReader(output));
}
catch (Exception x)
Just a note.
REST is great however it's not as strongly typed in the data itself whereas SOAP has to be. REST is lighter and easier to work with but SOAP is still a good standard of enforced data structure communication and security where needed. To put it bluntly at the moment, we use REST services internally for all applications etc however we most often use SOAP to communicate externally with other companies. Basic explanation, SOAP has a wsdl describing itself, REST does not.
Slight hijack...
What is the best for a beginner to master.
SOAP or REST ?
REST IMHO, but as said before since its not very fussy about what it receives Ive had people send me the biggest load of crap EVER. But yes I found REST to be slightly easier to work with too...