|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Change Output.properties.replyprotocol MQ to SOAP-AXIS2 |
« View previous topic :: View next topic » |
Author |
Message
|
mario.ugalde |
Posted: Fri Apr 16, 2010 7:23 am Post subject: Change Output.properties.replyprotocol MQ to SOAP-AXIS2 |
|
|
Newbie
Joined: 16 Apr 2010 Posts: 4
|
Hi,
I have a flow that begin SOAPInput, after get the values a need to send a MSG MQ for a application, this ok, but after i receive the response MSG MQ i need to send a SOAPReply, but is send with Properties.ReplyProtocol = MQ and the error is = "Message does not contain a valid SOAP Reply Identifier at all"
if not send the MSG MQ and reproducer the response this value ReplyProtocol send with SOAP-AXIS2 and the response WS is Ok
end, i need know change de value of Properties.ReplyProtocol after receive de response MQ to SOAP-AXIS2. (check with ResetContentDescriptor and is the same error)
thanks
Mario. |
|
Back to top |
|
 |
mgk |
Posted: Fri Apr 16, 2010 10:35 am Post subject: |
|
|
 Padawan
Joined: 31 Jul 2003 Posts: 1642
|
You need to preserve the "ReplyIdentifier" from the LocalEnvrionment between the two flows. You do not need to set the reply protocol. _________________ 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 |
|
 |
mario.ugalde |
Posted: Mon Apr 19, 2010 9:41 am Post subject: |
|
|
Newbie
Joined: 16 Apr 2010 Posts: 4
|
Thanks, but not work if only set ReplyIdentifier and the replyprotocol is MQ , result the same error.
why after the node SOAPInput not have the ReplyIdentifier or cant see, i find in the LocalEnv...Destination.SOAP.Reply.ReplyIdentifier and only appers example = 534f4150070000000000000000000000741e000000000000
and in the Message tree Properties.ReplyIdentifier appers 000000000000000000000000000000000000000000000000 (ReplyIdentifier:BLOB:[B@77aa77aa)
and the same tree Properties.ReplyProtocol = SOAP-AXIS2
after that, i send MQ message to process DATA and the application returns with the response. thats Ok.
when a receive the response this is on MQ response, and with the specification i receiver with MQInput Node, and the ALL Set in the LocalEnvrionment lost, perhaps because not connect the last output node to node MQinput. because it requires an MQGET to get the answer with ID
 |
|
Back to top |
|
 |
mgk |
Posted: Mon Apr 19, 2010 11:16 am Post subject: |
|
|
 Padawan
Joined: 31 Jul 2003 Posts: 1642
|
The SOAP Reply node DOES NOT use the Properties.ReplyProtocol or Properties.ReplyIdentifier. It ONLY looks in the LocalEnvrionment in the split flow case (like this one). You MUST put the ReplyIdentifier into the correct place in the LocalEnvrionment before the SOAPReply node. This means you must copy the ReplyIdentifier between the two flows either in your message or in some other store (database or queue etc). Make sure that if you are using a Compute node that the "ComputeMode" include the LocalEnvrionment. Use a Trace node before the SOAPReply node to look at the tree to make sure the ReplyIdentifier is in the correct place.
Kind 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 |
|
 |
mario.ugalde |
Posted: Mon Apr 19, 2010 1:11 pm Post subject: |
|
|
Newbie
Joined: 16 Apr 2010 Posts: 4
|
Thanks
tested my flow and thats OK now, you are rigth, isnt necesary the replyprotocol, only replyIdentifier on the LocalEnvironment.
the solution in my flow was send a mq msg with the ReplyIdentifier.
thanks, solved.
Mario. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|