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

Digital Twin (my playground)

I am embarking on a side project that involves memory and multimodal understanding for an…

9 months ago

“This is exactly what LLMs are made for”

I was in Toronto, Canada. I'm on the flight back home now. The trip was…

1 year ago

AI is enhancing me

AI as an enhancer of human abilities.

1 year ago

“How we fell out of love with voice assistants”

The BBC article "How we fell out of love with voice assistants" by Katherine Latham…

2 years ago

Ontology-based reasoning with ChatGPT’s help

Like so many others out there, I played a bit with ChatGPT. I noticed examples…

2 years ago

Break from work

Hi all… It’s been a while since I posted on this blog. It’s been an…

2 years ago