mercurial
MyBB Legend
SOAP is vile 
Rest is best
Rest is best
South Africa’s biggest forum. Discuss, discover, and connect with thousands of members.
Rest is common; "best" is opinionated.SOAP is vile
Rest is best![]()
What language? Java use GSON for JSON: https://github.com/google/gson
Tutorial: https://futurestud.io/tutorials/gson-getting-started-with-java-json-serialization-deserialization
REST: http://www.vogella.com/tutorials/REST/article.html or https://spring.io/guides/gs/rest-service/
C#: https://www.newtonsoft.com/json
Tutorials: https://www.newtonsoft.com/json/help/html/SerializingJSON.htm
This is great start tyvm!!
I'm going to look at getting some kind of WPF/mvvm training course done. Thanks for the helpful info guys much appreciated.
[MENTION=222878]Solarion[/MENTION]
Im a webservices expert specialising in SOAP services and C# front ends.....
Where exactly are you stuck?I write client side, server side and everything inbetween![]()
It's online.I'll upload my nusoap library with some examples to github sometime this weekend, might help you.
Did you check my library?Well, several months later and still have only ever been able to log into a web service. That's about it. The entire concept of SOAP just completely baffles me.
I have all the information I need but just cannot come right with this. Feel kind of cursed when it comes to web services.
I might actually make a giant poster that reads: "The remote server returned an error: (400) Bad Request." and hang it in my room as a eulogy to my ordeal.
Think of it as a company's web service stuck in the early 2000's that like spending excessive bandwidth and man-hours with convoluted XML messages.The entire concept of SOAP just completely baffles me.
Did you check my library?
Think of it as a company's web service stuck in the early 2000's that like spending excessive bandwidth and man-hours with convoluted XML messages.
Anyway, there's not much to it...it's a piece of XML in a specific format sent to a server. It's got a HEADER section with all sorts of metadata in it and a BODY section where you dump your XML into (usually they'll give you an XSD to work with).
You send them a SOAP message and they send you a response. If it is async you'll find some sort of correlation ID in the HEADER to match it with whatever you sent earlier.
Enterprises that spent too much money on Websphere MQ love SOAP messages because that's what their manual says is the gold standard in building distributed systems that scale to levels only ever witnessed before in Ancient Rome. Or the architect is kanniedood 70 year old from the COBOL days.
If you are using C# via Visual Studio you can point it to the webservice and it will magically generate all the classes for you.
TL;DR: SOAP is a simple JSON message's fat cousin with diabetes one broker away from having a stroke.
As much hate as the guys here has for HERPES it's still the most prevalent form of venereal sexual disease we contract.