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 » Plz help !!!

Post new topic  Reply to topic
 Plz help !!! « View previous topic :: View next topic » 
Author Message
elvis_gn
PostPosted: Thu Dec 02, 2004 1:59 am    Post subject: Plz help !!! Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

I have been trying to send an XML message from the input to a message flow and get only a string as the output (no field name,only data)

i.e

Input = <Address><TelNo>36363</TelNo></Address>

How to get the output as = 36363

What domain,wire format will I have to set ????
Back to top
View user's profile Send private message Send e-mail
Ramphart
PostPosted: Thu Dec 02, 2004 4:34 am    Post subject: Reply with quote

Disciple

Joined: 21 Jul 2004
Posts: 150
Location: South Africa, JHB

Hi,

You really need to work thru a Redbook sample or read the help samples to get an idea of how transformation of messages work in general. Anyway, it seems you need to setup a MessageSet with TDS layer in this instance for the outgoing message.

Please work thru some sample though. It will clear a lot of things up for you.
_________________
Applications Architect
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Dec 02, 2004 5:49 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I'm not going to disagree that elvis_gn could use some time reading the manuals.

I know I could use some more time reading the manuals!

But he can get what he wants by using the BLOB domain, which doesn't require a message set.

Code:
Set OutputRoot.BLOB.BLOB = CAST(InputBody.Address.TelNo as BLOB CCSID InputRoot.Properties.CodedCharSetId);

_________________
I am *not* the model of the modern major general.
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 » Plz help !!!
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.