SOAP web service callback architecture?

前端 未结 4 449
不思量自难忘°
不思量自难忘° 2020-12-13 07:08

I am quite new to web services, JAX-WS etc. so maybe noob question...

So, I want to implement a web service to make two systems communicate. The \"client\" system is

4条回答
  •  南笙
    南笙 (楼主)
    2020-12-13 07:49

    Have you considered the simpler approach of "pub-sub" using a messaging product ? (Such as MQ, EMS, or ActiveMQ)

    The requirements you describe does not seem to fit "classic" request/reply sync/async SOAP Web Service scenarios.

    In a Pub/Sub solution, the client(s) subscribe to a topic once, and the publisher(s) (in your case, the Server) can post any number of relevant messages to all subscribers.

    As a bonus, most messaging products include support for "durable subscribers", so the client can be off-line at times and receive all messages after re-connection.

    In your case, the server could house a (free) ActiveMQ Server... Providing most of the feature you seem to seek.

    If you go that way, I suggest you pick a JMS compliant product with support for .Net.

提交回复
热议问题