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 » Translation help... urgent

Post new topic  Reply to topic
 Translation help... urgent « View previous topic :: View next topic » 
Author Message
shalini123
PostPosted: Mon Dec 29, 2003 5:10 am    Post subject: Translation help... urgent Reply with quote

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
View user's profile Send private message
Missam
PostPosted: Mon Dec 29, 2003 8:36 am    Post subject: Reply with quote

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
View user's profile Send private message
shalini123
PostPosted: Mon Dec 29, 2003 9:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
kirani
PostPosted: Tue Dec 30, 2003 11:59 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Translation help... urgent
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.