News for hackers. Stuff that matters.
Re:JSON Schema bundling formalised by k__ on Friday September 10, 2021 @07:41AM (#28480142)
I had to use SOAP once... for one API endpoint.

I'd say it was the worst dev experience of my whole career, and I fought with objective-c and app stores.

Re:JSON Schema bundling formalised by m_st on Friday September 10, 2021 @07:53AM (#28480257)
Using SOAP APIs daily since over 15 years with .NET Framework development. Simple and easy to write and then easy to consume through Visual Studio generated code.

Tried some ObjC development early on the iPhone. Gave up quickly.

I agree that SOAP looks like a mess. But given the right tools, it honestly just works. Never had a single issue with these APIs apart being stuck in .NET Framework land.

Re:JSON Schema bundling formalised by kgwxd on Friday September 10, 2021 @08:19AM (#28480474)
Been using it daily myself for just as long with VS. Being basically exclusive to .Net is a huge set back. I would never make a new SOAP services these days. There are other solutions that just work with far less complexity, waste, and limitations.
Re:JSON Schema bundling formalised by paulddraper on Friday September 10, 2021 @08:17AM (#28480460)
And that's the issue.

SOAP isn't some nice standardized language-agnostic API layer.

SOAP is .NET/Visual Studio RPC. (Not technically, but in practice, due to its complexity.)

And hey, great for you. But a lot of people want APIs to be broadly compatible.

Re:JSON Schema bundling formalised by xienze on Friday September 10, 2021 @09:41AM (#28481410)
> SOAP isn't some nice standardized language-agnostic API layer.

What? Of course it is (well, it's a messaging protocol). Where on earth did you get the idea that it's some Microsoft-only proprietary technology?

Re:JSON Schema bundling formalised by theamk on Friday September 10, 2021 @10:35AM (#28482143)
You missed the word "nice" in the GP's message. Also "(Not technically, but in practice, due to its complexity.)"

No one says it is proprietary technology and yes, it is nominally standardized. It is just so complex that it is impossible to use without heavy tooling support, and this tooling is only really usable in Microsoft's technology.

So it seems that people who use MS ecosystem like SOAP ... while almost everyone else who tried it calls is over-complicated, incomprehensible and "worst dev experience of my whole career"

Re:JSON Schema bundling formalised by xienze on Friday September 10, 2021 @11:06AM (#28482608)
> It is just so complex that it is impossible to use without heavy tooling support, and this tooling is only really usable in Microsoft's technology.

Again, gotta call BS here. My early career was 100% SOAP and related WS-* technologies. And it was all in Java, Apache Axis and friends. Wildly popular at the time. Give it your WSDL, out pops a nice Java client. People didn’t like it not because it was difficult to use outside of the Microsoft ecosystem, they didn’t like it because it was the concepts were difficult to understand and there were many complicated technologies piggybacking off of it. It was hard to debug issues, Visual Studio or not. If you had to do something that a generated client could do, it was difficult, Visual Studio or not.

Re:JSON Schema bundling formalised by spookthesunset on Friday September 10, 2021 @12:12PM (#28483606)
Try calling a soap service with python. Oh boy enjoy the pain!
Re:JSON Schema bundling formalised by arethuza on Friday September 10, 2021 @08:59AM (#28480861)
"it honestly just works"

Which I would agree is most of the time - but then it doesn't and you have to try and work out what is going wrong from reams of impenetrable generated WSDL. Which is fun.

Re:JSON Schema bundling formalised by k__ on Friday September 10, 2021 @08:19AM (#28480482)
Yes, I had to use it in a Node.js project.

Would imagine, with the right tooling and TypeScript it wouldn't have been that bad.

Re:JSON Schema bundling formalised by dolmen on Friday September 10, 2021 @08:47AM (#28480751)
Looks like a case of Stockholm syndrom.
Re:JSON Schema bundling formalised by kdtsh on Saturday September 11, 2021 @02:22AM (#28489811)
Over the past year I’ve built an ESB for a client’s deployment of a brand spanking new distribution management system … which you could integrate with only and solely using SOAP. The tooling in Java makes it bearable, but I am still shocked that this system deployed in 2021 has this.