Does doc/literal guarantee loose coupling?

Eric Newcomer writes about the use of doc/literal when building WS applications. He supports the idea of document exchange to achieve platform integration. Of course, I agree with Eric since this is exactly what Jim and I have been advocating for some time.

I would like to comment on this particular comment by Eric…

The doc/literal style would seem to be the most abstract or the most “loosely coupled,” since it does not include data typing (although data typing is provided by an associated XML Schema) and does not include a method name in the message.

Indeed, the use of doc/literal style may seem to offer loose coupling. As Don Box says (MSDN show part 1, part 2), we share schema and contracts and not classes. However, doc/literal and Web Services do not guarantee loose coupling. One could still come up with protocols and patterns that go against everything that Eric suggested (yes, as you’d expect, WS-RF comes in my mind 🙂

Recent Posts

BrainExpanded – Login State Caching Issue in iOS Share Extension

As part of the BrainExpanded project, I’m building an iOS app that lets users easily…

1 week ago

Is AI Good or Bad?

Artificial Intelligence (AI) has rapidly evolved over the past few decades, becoming an integral part…

2 weeks ago

BrainExpanded – Copilot

Happy New Year everyone! I was planning for my next BrainExpanded post to be a…

2 months ago

BrainExpanded – The Timeline

See "BrainExpanded - Introduction" for context on this post. Notes and links Over the years,…

2 months ago

BrainExpanded – Introduction

This is the first post, in what I think is going to be a series,…

2 months ago

Digital twin follow up

Back in February, I shared the results of some initial experimentation with a digital twin.…

2 months ago