|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Translation help... urgent |
« View previous topic :: View next topic » |
Author |
Message
|
shalini123 |
Posted: Mon Dec 29, 2003 5:10 am Post subject: Translation help... urgent |
|
|
Apprentice
Joined: 03 Dec 2003 Posts: 34
|
Hello,
I need help on translating UPEs message from workflow to nroker.
eg:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- This document is generated by a MQSeries Workflow Version 3.4.0 server -->
<WfMessage>
<WfMessageHeader>
<ResponseRequired>Yes</ResponseRequired>
</WfMessageHeader>
<ActivityImplInvoke>
<ActImplCorrelID> FFABCEDF0123456789FF </ActImplCorrelID>
-----------------
-----------------
</ActivityImplInvoke>
</WfMessage>
-------
I want the broker to return the following after getting data
<WfMessage>
<WfMessageHeader>
<ResponseRequired>No</ResponseRequired>
</WfMessageHeader>
<ActivityImplInvokeResponse>
<ActImplCorrelID>FFABCEDF0123456789FF</ActImplCorrelID>
-----------------
---------------------
</ActivityImplInvokeResponse>
</WfMessage> |
|
Back to top |
|
 |
Missam |
Posted: Mon Dec 29, 2003 8:36 am Post subject: |
|
|
Chevalier
Joined: 16 Oct 2003 Posts: 424
|
Hi,
What exactly you want to do,do you want to remove the first two tags(first two lines of your message) and send the XML message as it is or you want changes to be done to your message. |
|
Back to top |
|
 |
shalini123 |
Posted: Mon Dec 29, 2003 9:48 pm Post subject: |
|
|
Apprentice
Joined: 03 Dec 2003 Posts: 34
|
Hi,
I want to modify the message and create a new xml with extract all information from a particular tag of the incoming message |
|
Back to top |
|
 |
kirani |
Posted: Tue Dec 30, 2003 11:59 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
You need to code something like this ...
Code: |
SET OutputRoot.XML.WfMessage.WfMessageHeader.ResponseRequired = 'No';
SET OutputRoot.XML.WfMessage.ActivityImplInvokeResponse.ActImplCorrelID = InputRoot.XML.WfMessage.ActivityImplInvoke.ActImplCorrelID;
|
_________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
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
|
|
|
|