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 » How to decode base64 encoded data in an XML message

Post new topic  Reply to topic
 How to decode base64 encoded data in an XML message « View previous topic :: View next topic » 
Author Message
Pierre-Yves Lesage
PostPosted: Wed Mar 20, 2002 8:55 am    Post subject: Reply with quote

Novice

Joined: 21 Aug 2001
Posts: 17
Location: London, UK

Hi everyone,

I've got an xml message that contains encoded data within two tags. The data is encoded in base64(deflate). (Don't ask me what this means).
Does anyone know of a piece of functionality or ESQL command within WMQI that would decode the data, and encode it back after transformation?

Any help appreciated.

PYL
Back to top
View user's profile Send private message
jeeth_m
PostPosted: Wed Feb 02, 2005 10:47 am    Post subject: Reply with quote

Voyager

Joined: 21 Jan 2002
Posts: 93

Does any one know about this?
Jeeth
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
jefflowrey
PostPosted: Wed Feb 02, 2005 10:50 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I'm reasonably sure that there is no implementation of base64 encoding or decoding built into the Broker product.

That doesn't mean that you can't write or call some implementation. Methods and available tools depend on broker version.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jeeth_m
PostPosted: Wed Feb 02, 2005 12:00 pm    Post subject: Reply with quote

Voyager

Joined: 21 Jan 2002
Posts: 93

You mean custom node/process is the only solution
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
jefflowrey
PostPosted: Wed Feb 02, 2005 12:21 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

jeeth_m wrote:
You mean custom node/process is the only solution

Well.... no.

I mean it depends on the version of Broker that you are using.

If you are using FP4 of Broker 5, you can call out to Java code directly from ESQL.

I wouldn't call that a custom node or a custom process.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jeeth_m
PostPosted: Wed Feb 02, 2005 12:44 pm    Post subject: Reply with quote

Voyager

Joined: 21 Jan 2002
Posts: 93

oh okay... im using 2.1. so hard luck there
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
jefflowrey
PostPosted: Wed Feb 02, 2005 12:55 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

jeeth_m wrote:
oh okay... im using 2.1.

Yes. In that case, a custom node or process is your only choice.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
rkford11
PostPosted: Wed Feb 02, 2005 2:04 pm    Post subject: Reply with quote

Partisan

Joined: 06 Jun 2004
Posts: 316

jefflowrey wrote:


call out to Java code directly from ESQL.


Jeff,

Can you please provide the link which explains this in detail.

Thanks
Back to top
View user's profile Send private message
JT
PostPosted: Wed Feb 02, 2005 2:22 pm    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

http://publib.boulder.ibm.com/infocenter/wbihelp/topic/com.ibm.etools.mft.doc/ak04970_.htm#ak04970___ak04970_jva

Click on 'External Java methods'
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu Feb 03, 2005 5:29 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Why not model the message using a message set? The MRM's XML parser can do this for you automatically.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Feb 03, 2005 6:17 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

kimbert wrote:
Why not model the message using a message set? The MRM's XML parser can do this for you automatically.

The XML Parser can decode base64?

Or merely HANDLE it?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu Feb 03, 2005 6:50 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Decode. Its on the XML wire format tab, and its controlled by the 'Encoding' property. Options are 'hexBinary' and 'base64' if I remember rightly.
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 » How to decode base64 encoded data in an XML message
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.