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 » Unprocessed SOAP message retrieval.

Post new topic  Reply to topic Goto page 1, 2  Next
 Unprocessed SOAP message retrieval. « View previous topic :: View next topic » 
Author Message
Y75
PostPosted: Mon Oct 28, 2013 6:48 am    Post subject: Unprocessed SOAP message retrieval. Reply with quote

Apprentice

Joined: 29 Jul 2013
Posts: 32

I have message flow with SOAP HTTP input node. I need to retrieve original SOAP message for logging purposes including soap envelope, body and headers.

I don't know what is the most efficient way to get soap envelope after it has been processed by soap input node. I think, I can use SOAP extract to put envelope in local environment. And, then compose body and envelope together in java compute node.

I was hoping SOAP node allows me change parser to BLOB, that will give me original message; then I use reset content descriptor to set it to SOAP. But that is not the case.

Inputs please.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Oct 28, 2013 6:53 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Use Record and Replay function.
Back to top
View user's profile Send private message
Y75
PostPosted: Mon Oct 28, 2013 7:08 am    Post subject: Reply with quote

Apprentice

Joined: 29 Jul 2013
Posts: 32

Thanks for reply!

Are you suggesting to use Monitoring profile to emit events from flow? If yes, there is a fear of unknown from knowledge point of view that kind of deters us.

In particular, I am little shallow on my knowledge of pub/ sub model in general vs queues. If I only have one publisher (gateway flow) and one subscriber (logging in this case), is pub/ sub as efficient as queues?
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Oct 28, 2013 8:04 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Y75 wrote:
If yes, there is a fear of unknown from knowledge point of view that kind of deters us.


On that basis, you'll never use any new feature of any new product.

Y75 wrote:
is pub/ sub as efficient as queues?


Yes.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bharathi.tech12
PostPosted: Mon Oct 28, 2013 10:04 am    Post subject: Reply with quote

Voyager

Joined: 14 May 2013
Posts: 93

we have same scenario to log the input msg as its. Over flow is like this

-->Business logic node(mapping/Compute)
SOAP Input Node
-->Logging(MQOutput)- Read the message from MQ and logging as blob in DB.

parallel processing.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Oct 28, 2013 10:13 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

bharathi.tech12 wrote:
we have same scenario to log the input msg as its. Over flow is like this

-->Business logic node(mapping/Compute)
SOAP Input Node
-->Logging(MQOutput)- Read the message from MQ and logging as blob in DB.

parallel processing.


And record and replay does all of that for you, in parallel, with no coding needed.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Oct 28, 2013 11:08 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.

mqjeff wrote:

And record and replay does all of that for you, in parallel, with no coding needed.


It might be worth noting that the OOTB functionality does not support using Microsoft SQLServer as the target DB for REcord/Reply without a fix from IBM.

I think it is scheduled for inclusion in 8.0.0.4/9.0.0.1 fix packs but IBM would have to confirm that.
_________________
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
mqjeff
PostPosted: Mon Oct 28, 2013 11:16 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

smdavies99 wrote:
mqjeff wrote:

And record and replay does all of that for you, in parallel, with no coding needed.


It might be worth noting that the OOTB functionality does not support using Microsoft SQLServer as the target DB for REcord/Reply without a fix from IBM.

I think it is scheduled for inclusion in 8.0.0.4/9.0.0.1 fix packs but IBM would have to confirm that.


Shipped in 8.0.0.3.....
Back to top
View user's profile Send private message
RAJKAMAL
PostPosted: Mon Oct 28, 2013 10:46 pm    Post subject: Reply with quote

Newbie

Joined: 17 Oct 2013
Posts: 8

i think monitoring profile to generate event at the out terminal of your desired node can be an option and in the payload you can select $Root which can help you get ur entire data.
Back to top
View user's profile Send private message
Y75
PostPosted: Tue Oct 29, 2013 7:27 am    Post subject: Reply with quote

Apprentice

Joined: 29 Jul 2013
Posts: 32

Record and replay works on pre-defined schema. If I want to store fields that are part of payload in a separate column for reporting purposes; I have to write my own subscriber message flow and use my own schema.

Is that correct?
Back to top
View user's profile Send private message
Y75
PostPosted: Fri Nov 01, 2013 8:18 am    Post subject: Reply with quote

Apprentice

Joined: 29 Jul 2013
Posts: 32

mqjeff wrote:
Use Record and Replay function.


We tried using event emitting part of record and reply, soap input node is emitting the event; still the payload contains processed data with context added. Still I have to reconstruct the original message by putting in soap envelope extract and adding body to it.

Is there a way around that? You also said record and replay is done in parallel. Is event emit function parallel to rest of execution of flow , or you are saying parallel because another flow actually logs it?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Nov 01, 2013 10:31 am    Post subject: Reply with quote

Grand High Poobah

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

mqjeff wrote:
Shipped in 8.0.0.3.....

And in which Fix Pack do you ship the apar for independent UOW processing in Events?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Fri Nov 01, 2013 12:40 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

fjb_saper wrote:
mqjeff wrote:
Shipped in 8.0.0.3.....

And in which Fix Pack do you ship the apar for independent UOW processing in Events?


I don't ship any APARs.
Back to top
View user's profile Send private message
Simbu
PostPosted: Sun Nov 03, 2013 11:04 pm    Post subject: Reply with quote

Master

Joined: 17 Jun 2011
Posts: 289
Location: Tamil Nadu, India

Y75 wrote:


We tried using event emitting part of record and reply, soap input node is emitting the event; still the payload contains processed data with context added. Still I have to reconstruct the original message by putting in soap envelope extract and adding body to it.

Is there a way around that?


The technote says

Quote:
There is no way to capture this information in a SOAPInput node. In order to capture the entire message, including the signature, you will need to read the message in another message flow (lets call it a "pre-flow") that is comprised of an HTTPInput node with parsing set to the 'BLOB' domain. This will preserve the message and signature, at which time you can insert the data to a table in the database with a SQL Insert command.

This pre-flow then submits the message to your originally intended SOAPInput flow, where the message is processed as desired. Remember, you will need to reply to the sending application via an HTTPReply node.

In short, to accomplish the warehousing of the original message, you must use a message flow to intercept the message without parsing it, and use that flow to submit the message to your target.
Back to top
View user's profile Send private message
whydieanut
PostPosted: Mon Nov 04, 2013 5:28 am    Post subject: Reply with quote

Disciple

Joined: 02 Apr 2010
Posts: 186

Some thoughts here as well:

http://www.mqseries.net/phpBB2/viewtopic.php?t=60020&postdays=0&postorder=asc&start=0

The SOAP node changes the original message once it's passed through the node, in an unrecoverable manner.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Unprocessed SOAP message retrieval.
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.