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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Data Structure Question

Post new topic  Reply to topic
 Data Structure Question « View previous topic :: View next topic » 
Author Message
gowdy
PostPosted: Mon Jul 30, 2001 2:36 am    Post subject: Reply with quote

Apprentice

Joined: 17 Jul 2001
Posts: 29
Location: Bournemouth, UK

Hi again

Another stupid newbie question, I am afraid. I have a message layout that I want to receive. However, due to the maximum length of data structure members being 32 characters, and the message layout received being unchangeable, I have had to wrap it within one tag within MQSI. The plan is then to extract the tags I need using an application called within MQWF.

---example layout

<NewMsgLayout>
<OldMsgLayout>
<MoreThan32CharLongFieldButNotNeeded>
</MoreThan32CharLongFieldButNotNeeded>
<RequiredField>
<RequiredField>
</OldMsgLayout>
</NewMsgLayout>

---end of example layout

I was hoping that I would not have to define the tags within <NewMsgLayout> and extract them as I need within a separate application. I tried to define the <OldMsgLayout> as a default data structure and as a variable length string but to no avail.

Any ideas/suggestions would be gratefully appreciated.

Thanks once more

Mark
Back to top
View user's profile Send private message Send e-mail
jmac
PostPosted: Mon Jul 30, 2001 9:25 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

Mark:

I don't believe you will be able to do what you are attempting (of course I could be wrong). I think you will need to remove/reformat these tags so that they conform to MQWF requirements IF they are going to be in the ActivityImplInvoke or ProcessTemplateCreateAndStartInstance XML messages.

_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
gowdy
PostPosted: Tue Jul 31, 2001 1:39 am    Post subject: Reply with quote

Apprentice

Joined: 17 Jul 2001
Posts: 29
Location: Bournemouth, UK

Hi John

I managed to get round it by detailing the contents of the XML tag as variable length string, and within MQSI, wrapping the tags in [!CDATA[-----]]. Then I have a java application to parse it how I like. Not pretty, but it works.

Cheers

Mark
Back to top
View user's profile Send private message Send e-mail
gowdy
PostPosted: Thu Aug 02, 2001 12:36 am    Post subject: Reply with quote

Apprentice

Joined: 17 Jul 2001
Posts: 29
Location: Bournemouth, UK

Hi

Having managed to successfully use the method outlined above (using CDATA), I have been checking the message on the queue using the MQSI Test Tool rfhutil.exe.

However, when I examine the contents of the tag I get a curious result.

Input tag before going through MQWF:
<OrigMessage><![CDATA[Layout><GeneralInformation>

Input tag after going through MQWF: <OrigMessage>&amp;lt;IMLayout&amp;gt;&amp;lt;GeneralInformation&amp;gt;&amp

Any ideas if this is a Workflow issue or the MQSI tool?

Thanks

Mark Gowdy

[ This Message was edited by: gowdy on 2001-08-02 01:36 ]

[ This Message was edited by: gowdy on 2001-08-02 01:40 ]
Back to top
View user's profile Send private message Send e-mail
jmac
PostPosted: Thu Aug 02, 2001 5:24 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

Mark:

I have in the past had trouble with XML and escaped characters in MQWF. I recently noticed that now any MQWF Message that contains characters "& < >" (at least, there may be more) is enclosed in one of those CDATA blocks.

I suggest you try to talk to the folks at the IBM Lab. If you don't have any other means to contact them you can use their Q&A email address workflow@de.ibm.com

I would appreciate it if you post the results of anything they give you.

Thanks.... GOOD LUCK
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
lunobili
PostPosted: Thu Nov 08, 2001 2:43 am    Post subject: Reply with quote

Novice

Joined: 06 Nov 2001
Posts: 17

Can anybody be a little bit more specific about how to wrap the tags in [!CDATA[-----]]with MQSI? I'm trying to stuff some XML message as a string in a WorkFlow DataStructure. I know that the way to do it is to wrap it but I cannot find a way to do that with MQSI.

Thanks in advance for your help,
Luca.
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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Data Structure Question
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.