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 » Dynamic fields

Post new topic  Reply to topic
 Dynamic fields « View previous topic :: View next topic » 
Author Message
Sam Uppu
PostPosted: Thu Apr 18, 2013 2:12 pm    Post subject: Dynamic fields Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

Hi Guys,


I need a help on constructing the response DFDL.
WMB will call webserivce and the response from webservice has element name and value in it. Both element name and value comes from webservice. So i dont know what the element name is.
Using the element name from webservice i have to construct a DFDL with element name and value.

record1
parm1
name: xxx
value:123
parm2
name:yyy
value:234
.
.
.

record2
parm1
name:xxx
value:567
parm2
name:yyy
value:890


I was trying to add first coccurence of field name "xxx" from response of webservice as below.

CREATE LASTCHILD OF OutputRoot.DFDL.XXXX NAME outtree.ns1:name VALUE outtree.ns1:value

Since there are multiple occurences of the elements, how do i add the field "xxx" as an array to the exisiting element?

Can you guys help me.
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Apr 19, 2013 1:04 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

That doesn't make a lot of sense. You will need to provide
- example of the response from the web service ( just the part that matters for your flow )
- the ESQL that you are using to populate OutputRoot.DFDL
- the exact output that you are currently getting
- the exact output that you need

Please take time to format your code/XML/data using [c o d e] tags. It is not difficult, and it makes your question a lot easier to read and understand.
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 » WebSphere Message Broker (ACE) Support » Dynamic fields
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.