File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SOAP over JMS

 
Dhananjay Inamdar
Ranch Hand
Posts: 130
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
I have one question regarding the JMS communication.
I have JMS Queue installed on server side and my client don't want to install JMS to his
side. I am exposing some methods as a web service through my server. My client will send me
the SOAP message across HTTP. I am converting this soap-http message in to the soap-jms
message. I will work on this request message and generate a response message for my client.
My problem is as my client doesn't have any queuing mechanisum like JMS or MQ-Serires then
how can I send back him the message. Here my main concern is reliability, security of
message across communication i.e. end-to-end.
So, if anybody has any suggestion then please let me know.
Thanks in advance!
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, there's basically two solutions:
(1) If the client can act synchronously, then synchronously wait on the message to be received back from the JMS queue and then return the message in the HTTP response for the original request.
(2) A possibly better solution is to allow the client machine to poll for the answer. Have a service that checks a response queue for the answer and just have it either return null (no answer) or the final answer.
Kyle
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic