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 » SOAP Reply identifier

Post new topic  Reply to topic
 SOAP Reply identifier « View previous topic :: View next topic » 
Author Message
kittet
PostPosted: Tue Nov 18, 2008 12:32 pm    Post subject: SOAP Reply identifier Reply with quote

Novice

Joined: 18 Nov 2008
Posts: 12

hi guys,
First of all i'm spanish and i have to sorry for my english, I will try to do my best. And i'm really new with this stuff and really noob with ESQL language
The problem is:
I have the following flow:
SOAPInput -> Webservice(extract the envelope) -> Mapping1 -> MQOutput.
MQInput -> Mapping2 -> SOAPReply.
So when the system is trying to reply the message it says that the SOAP identifier is not valid. I think I need to extract the reply identifier that is inside the localenvironment (destination, soap....), so I added a Compute Node between Webservice and Mapping1 and I save the identifier in a file. Now I should add another Compute Node before the SOAPReply to mix 2 files (the one that has to be mapped and the one that has the reply identifier) but I don't have a clue how to do it!
Am I right? What should I do?
Thank you so much
Back to top
View user's profile Send private message
dmw1986
PostPosted: Tue Nov 18, 2008 1:25 pm    Post subject: Reply with quote

Apprentice

Joined: 24 Sep 2008
Posts: 35

I'm new to WMB as well but one thing i'm seeing is you need a to do a SOAPEnvelope node to recreate the SOAP message before the SOAPReply.
Back to top
View user's profile Send private message
kittet
PostPosted: Tue Nov 18, 2008 1:38 pm    Post subject: Reply with quote

Novice

Joined: 18 Nov 2008
Posts: 12

I think I don't because If I delete the MQ queue and put the nodes directly connected it works, it seems as if I jump through the MQ queue then reply identifier is lost. so I need to keep it and then put it back and there's my problem
Back to top
View user's profile Send private message
mgk
PostPosted: Tue Nov 18, 2008 2:00 pm    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Hi.

You do NOT need to use a SOAPEnvelope node here.
You DO need to save the ReplyIdentifier somewhere.

Where you store it is up to you, you simply have to put it back in the same location in the LE on the before the reply message reaches the SOAPReply node. You can use a DB, a user folder in an MQRFH2 (or an ESQL SharedVariable if the SOAPInput and SOAPReply nodes are in the same flow) etc, etc.

If you look as the WSHost (WebServices) sample that comes with WMB that does give an example of how to do the same task with the HTTP nodes storing the rpelyID in an MQ-Q and retrieving it with an MQ-Get node.

regards,
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
kittet
PostPosted: Tue Nov 18, 2008 2:49 pm    Post subject: Reply with quote

Novice

Joined: 18 Nov 2008
Posts: 12

thank you! i'll try it tomorrow morning (looking at the example) and i'll let you know
Back to top
View user's profile Send private message
kittet
PostPosted: Wed Nov 19, 2008 7:41 am    Post subject: Reply with quote

Novice

Joined: 18 Nov 2008
Posts: 12

It's working now!
I've used a shared var at ESQL instructions cause I do have SOAPInput and SOAPReply in the same flow. Later this I had the same problem with the MQReply but I did the same procedurement.

Thank you!

PS: the sample that you were talking shows a 404 error.
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 » SOAP Reply identifier
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.