|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Message flow as a web service provider? |
« View previous topic :: View next topic » |
Author |
Message
|
JYama |
Posted: Thu Sep 28, 2006 9:49 pm Post subject: Message flow as a web service provider? |
|
|
 Master
Joined: 27 Mar 2002 Posts: 281
|
Hi all,
I'd like to know about how a meeage flow works as a service provider through SOAP over JMS.
Assume that a BPEL engine(ex. WPS) invokes a service provided by WMB and this service is provided by one message flow.
How can this service (message flow) receive the SOAP request over JMS? (JMSInput node with moderate MRM?)
How can this service (mesage flow) return the result over JMS to the client? (how the result can correlate with the request message?)
In my environment, a couple of message flows are successfully working through SOAP/HTTP.
But I'm not familiar with SOAP/JMS.
Is there anybody who is familiar with this issue?
Thanks in advance.
J |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Sep 29, 2006 2:12 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Soap over JMS using the MQ provider works like just any other message over MQ. Using a different JMS provider you need to make sure you have the provider's jars available on the classpath and can define the context and JNDI to retrieve the qcf.
If you need to produce a wsdl you want to look at adding a "catalog" to your message set.
The advantage of soap over JMS is that it is asynchronous [and possibly way faster than over http]...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
JYama |
Posted: Sun Oct 01, 2006 4:31 pm Post subject: |
|
|
 Master
Joined: 27 Mar 2002 Posts: 281
|
Thanks for your information, fjb_saper.
Now I'm clear with SOAP over JMS on WMB.
Anyway, correlation between a service call and its result depends on SOAP spec., right?
In SOAP over http call, we can correlate it via OutputLocalEnvironment tree.
What about a case in SOAP over JMS?
Is it similiar with MQ?
Appreciate your help.
J |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Oct 02, 2006 8:00 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
You correlate with the JMSReplyTo destination and the correlation Id on the message(MQMD). In V6 use the reply to node.
Remember the simple rules
- No correlation Id on the request message: The correlation Id of the response message is the messageId of the request message
- The request message has a correlationId: The correlationId of the response message is the correlationId of the request message.
- Other pass through attributes: priority, expiration, persistence ...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
JYama |
Posted: Mon Oct 02, 2006 8:26 pm Post subject: |
|
|
 Master
Joined: 27 Mar 2002 Posts: 281
|
I'm grateful for your accurate help, fjb_saper.
Thanx,
J |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|