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 » Can UPES generate XML msg with elements and attributes both?

Post new topic  Reply to topic
 Can UPES generate XML msg with elements and attributes both? « View previous topic :: View next topic » 
Author Message
muralihegde
PostPosted: Wed Oct 29, 2003 11:40 pm    Post subject: Can UPES generate XML msg with elements and attributes both? Reply with quote

Centurion

Joined: 30 Apr 2002
Posts: 108

Hi all,
When we define data container as structures, the UPES message generated will have similar XML structure. However this xml structure consitis of only elements and not attributes.
for e.g the data container is such that

NAME
ADDRESS
DOORNUM
STREET
CITY

Then the UPES xml would be (part of the ProgramInputData)

<NAME>xxx</NAME>
<ADDRESS>
<DOORNUM>yy</DOORNUM>
<STREET>xx</STREET>
<CITY>yy</CITY>
</ADDRESS>


But our requirement is to generate a xml structure using attributes for elements as well through UPES.

<NAME>xxx</NAME>
<ADDRESS type="Residential" country="India">
<DOORNUM>yy</DOORNUM>
<STREET>xx</STREET>
<CITY>yy</CITY>
</ADDRESS>

If we need to achive the above, is there a way define corresponding data container ADDRESS in workflow build time so as to contain the attributes type and country as well?

Thank you for the suggestions

-Murali
Back to top
View user's profile Send private message Yahoo Messenger
devin
PostPosted: Thu Oct 30, 2003 5:06 am    Post subject: Reply with quote

Voyager

Joined: 27 Oct 2003
Posts: 82

You cant acheive it using Buildtime

Devin
Back to top
View user's profile Send private message
muralihegde
PostPosted: Thu Oct 30, 2003 5:38 am    Post subject: Reply with quote

Centurion

Joined: 30 Apr 2002
Posts: 108

Hi,
Thanks.
I tried inputting the xml message with attributes as part of the response to an UPES, but workflow ignored the attributes. When the same data container was output as part of UPES req by workflow it did not contain the attributes !
But is there any other way to achive this? that is by manipulating the FDL file externally and then import it to runtime directly etc?
-murali
Back to top
View user's profile Send private message Yahoo Messenger
devin
PostPosted: Thu Oct 30, 2003 6:13 am    Post subject: Reply with quote

Voyager

Joined: 27 Oct 2003
Posts: 82

Murali,

No there isnt anything you can do even using fdl.
One ugly way to go would be adding extra data elements for your attributes. I am not sure if it will work for you though.

Devin
Back to top
View user's profile Send private message
jmac
PostPosted: Thu Oct 30, 2003 7:22 am    Post subject: Reply with quote

Jedi Knight

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

Currently there is no support for Attributes in MQWF generated XML, and if you send attributes back to MQWF they will be ignored.
_________________
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
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 » Can UPES generate XML msg with elements and attributes both?
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.