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 » Publish to Topic

Post new topic  Reply to topic
 Publish to Topic « View previous topic :: View next topic » 
Author Message
kash3338
PostPosted: Wed Sep 14, 2011 1:47 am    Post subject: Publish to Topic Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

Hi,

I have a design like below,

MQInput -> Compute -> SOAPEnvelop -> Publish

I set my Topic details in my COmpute node like below,

SET OutputRoot.MQRFH2.psc.Command = 'Publish';
SET OutputRoot.MQRFH2.psc.Topic = 'MyTopic';

Now when this is set and sent to the SOAPEnvelop node, it throws an error stating invalid header (MQRFH2).

My question is, Is there any other way of setting the Topic details instead of adding another node after the SOAPEnvelop?
Back to top
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Wed Sep 14, 2011 2:48 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

I'm confused.

Why did you add a soapEnvelope before sending to the publish node? AFAIK, Pub/sub has nowt to do with Webservices.

Perhaps you were confused as well?
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
kash3338
PostPosted: Wed Sep 14, 2011 2:54 am    Post subject: Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

smdavies99 wrote:
Why did you add a soapEnvelope before sending to the publish node? AFAIK, Pub/sub has nowt to do with Webservices.


I am not confused here

The SOAPEnvelop is required as part of our requirement and for al the messages we need to add this SOAP envelop and send to Queue or Topic. That is for monitoring purpose and the monitoring tool requires a SOAP envelop.

But my question is, Is there any other way of setting the Topic details instead of adding another node after the SOAPEnvelop, since the SOAP envelop node throws an error stating invalid header (MQRFH2)?
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Wed Sep 14, 2011 3:49 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

It sounds like your compute node is not fully creating the MQRFH2 header properly, or is putting it in the wrong place.

So, if you are really really sure that the order of these two nodes is meaningful somehow, I would add a trace node after your Compute and confirm that the logical message tree is really correct before it goes to SoapEnvelope.

If it really is correct, then either you're doing something that the SOAPEnvelope node doesn't support, or you just need to swap the order of the nodes - which should not make any meaningful difference to anything.
Back to top
View user's profile Send private message
kash3338
PostPosted: Wed Sep 14, 2011 8:14 pm    Post subject: Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

mqjeff wrote:
It sounds like your compute node is not fully creating the MQRFH2 header properly, or is putting it in the wrong place.

So, if you are really really sure that the order of these two nodes is meaningful somehow, I would add a trace node after your Compute and confirm that the logical message tree is really correct before it goes to SoapEnvelope.

If it really is correct, then either you're doing something that the SOAPEnvelope node doesn't support, or you just need to swap the order of the nodes - which should not make any meaningful difference to anything.


The MQRFH2 is created properly as expected and I am sure the order of the nodes should be a compute followed by the SOAP Envelop. The problem is, when the messqge goes to SOAP Envelop with the MQRFH2 headers (with details of topic), there is a error thrown.

Is this the normal behaviour of the SOAP Envelop node? If so, can I have a solution without adding another compute node after my SOAP Envelop node?

I can also put the question like this, what are the different ways to set the Topic details for the publication node in a compute node, other than setting in the MQRFH2 headers?
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Thu Sep 15, 2011 7:16 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

kash3338 wrote:

The MQRFH2 is created properly as expected and I am sure the order of the nodes should be a compute followed by the SOAP Envelop. The problem is, when the messqge goes to SOAP Envelop with the MQRFH2 headers (with details of topic), there is a error thrown.

Is this the normal behaviour of the SOAP Envelop node? If so, can I have a solution without adding another compute node after my SOAP Envelop node?

I can also put the question like this, what are the different ways to set the Topic details for the publication node in a compute node, other than setting in the MQRFH2 headers?

Well the question still remains: What does your message tree look like after the SOAP node. And please start a $Root for the trace node...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Publish to Topic
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.