Author |
Message
|
kittet |
Posted: Tue Nov 18, 2008 12:32 pm Post subject: SOAP Reply identifier |
|
|
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 |
|
 |
dmw1986 |
Posted: Tue Nov 18, 2008 1:25 pm Post subject: |
|
|
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 |
|
 |
kittet |
Posted: Tue Nov 18, 2008 1:38 pm Post subject: |
|
|
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 |
|
 |
mgk |
Posted: Tue Nov 18, 2008 2:00 pm Post subject: |
|
|
 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 |
|
 |
kittet |
Posted: Tue Nov 18, 2008 2:49 pm Post subject: |
|
|
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 |
|
 |
kittet |
Posted: Wed Nov 19, 2008 7:41 am Post subject: |
|
|
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 |
|
 |
|