ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Message flow as a web service provider?

Post new topic  Reply to topic
 Message flow as a web service provider? « View previous topic :: View next topic » 
Author Message
JYama
PostPosted: Thu Sep 28, 2006 9:49 pm    Post subject: Message flow as a web service provider? Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Fri Sep 29, 2006 2:12 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
JYama
PostPosted: Sun Oct 01, 2006 4:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Mon Oct 02, 2006 8:00 pm    Post subject: Reply with quote

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
  1. No correlation Id on the request message: The correlation Id of the response message is the messageId of the request message
  2. The request message has a correlationId: The correlationId of the response message is the correlationId of the request message.
  3. Other pass through attributes: priority, expiration, persistence ...


Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
JYama
PostPosted: Mon Oct 02, 2006 8:26 pm    Post subject: Reply with quote

Master

Joined: 27 Mar 2002
Posts: 281

I'm grateful for your accurate help, fjb_saper.

Thanx,
J
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Message flow as a web service provider?
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.