Question regarding web service implementation

T

Teemu Keiski

Hi,

I ain't good with web services so I am asking for opinion/pointers.

Assume there are two systems A and B. System A has webservice method that it
system B needs. However, system B does know nothing about the system A. It
doesn't know url, method name, parameters or any other information. Only
thing it knows is that method in system A should return a string.

System A should tell system B all required info, so that system B could call
back system A and get the string it needs. System B must save callback info
so that it knows how to call system A.

How this kind of callback should be implemented. I was thinking that maybe
system A could create complete SOAP request which system B saves and calls
back using that request. Url of the service should also be saved.

Is there any better way?

Thank you in advance.
 
A

Alexey Ovsyannikov

Hi Teemu,
just IMHO :)
Have you considered a loosely-coupled architecture with a message
broker? In this case you can employ publisher-subscriber strategy - A
would just publish messages to the broker and B would subscribe to the
messages and vice-versa.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top