Author |
Message
|
angka |
Posted: Thu Aug 24, 2006 1:55 am Post subject: Transforming blob data to XML |
|
|
Chevalier
Joined: 20 Sep 2005 Posts: 406
|
Hi all,
Is there a faster way to transform blob data to XML format? thanks. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Aug 24, 2006 1:57 am Post subject: Re: Transforming blob data to XML |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
angka wrote: |
Hi all,
Is there a faster way to transform blob data to XML format? thanks. |
Faster than what? Going through the BLOB byte by byte in ESQL? Printing it out, going through it by hand & typing it back in?
Almost certainly!  _________________ Honesty is the best policy.
Insanity is the best defence.
Last edited by Vitor on Thu Aug 24, 2006 3:54 am; edited 1 time in total |
|
Back to top |
|
 |
markhiscock |
Posted: Thu Aug 24, 2006 3:03 am Post subject: |
|
|
 Novice
Joined: 16 May 2005 Posts: 22 Location: IBM Hursley, UK
|
|
Back to top |
|
 |
kimbert |
Posted: Thu Aug 24, 2006 3:47 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Yes , there almost certainly is. If you tell us
- what your 'BLOB data' is
- what you want to do with it
- which version of message broker you are using
- what you have tried so far
...then somebody might be able to help.
I think DataPower is an XML-only technology. I don't think it handles conversion of non-XML data to XML. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Aug 24, 2006 4:09 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
There are a few different models of the DataPower appliance.
The most advanced of them do any-to-any, and include MQ connectivity.
http://www.datapower.com/products/xi50.html
It's also priced about the same as Broker for one unit, I believe.
And I believe the development toolkit is not as nice as WMBT. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kimbert |
Posted: Thu Aug 24, 2006 5:40 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Thanks Jeff. Apologies to DataPower for the misrepresentation.
I did check the referenced page before I posted, but I didn't notice the page that Jeff posted. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Aug 24, 2006 7:11 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
kimbert wrote: |
Apologies to DataPower for the misrepresentation. |
You mean IBM?
IBM bought DataPower earlier this year. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
angka |
Posted: Sun Aug 27, 2006 6:22 am Post subject: |
|
|
Chevalier
Joined: 20 Sep 2005 Posts: 406
|
Hi all,
Thanks for the reply. I need to change blob data to xml. the blob data is just some character. I am using Broker V6. Is there any idea other than buying? Tight budget. I read on the XML transformation node but I think it can only change XML to XML. Thanks for help
Rgds |
|
Back to top |
|
 |
jefflowrey |
Posted: Sun Aug 27, 2006 6:44 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Broker is perfectly capable of transforming "blob" data to XML.
You asked a really bad question.
Nobody understood it. So we babbled about other things for a bit.
What, exactly are you trying to do?
What, exactly, have you already done?
Broker is not an easy product to learn on your own. If you don't, for example, know how to use it to tranform "blob" data to XML, then you barely understand the product at all and should get some training.
Please go back and read the Information Center introductory and "Developing Applications" sections again.
Here is a redbook that may help as well. http://www.redbooks.ibm.com/abstracts/sg247137.html
You need to read, think, and TRY things in order to learn.
We're not going to provide you free training. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
angka |
Posted: Sun Aug 27, 2006 11:46 pm Post subject: |
|
|
Chevalier
Joined: 20 Sep 2005 Posts: 406
|
Hi,
What I did is to go thru bytes by bytes of the data and then set it to the OutputRoot.XML.data etc. is there a easier way? cos the format of the data may varies. Thanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Aug 28, 2006 1:42 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Yes, there is an easier way.
You can create a MODEL of your BLOB data, and then use the Mapping node to move it to XML.
You need training on this product! Or you need to read what I suggested, and try things, and learn! _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Aug 28, 2006 2:49 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
What are the attributes of the input node?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
kimbert |
Posted: Mon Aug 28, 2006 5:34 pm Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Quote: |
What I did is to go thru bytes by bytes of the data and then set it to the OutputRoot.XML.data |
Aha! So you must know how to parse this 'BLOB' data. Please provide the following information:
- What does an example mesage look like ( give a real example if possible)
- What message tree would you like to construct ( you are already constructing one using ESQL, so tell us about that ). |
|
Back to top |
|
 |
angka |
Posted: Fri Sep 01, 2006 12:44 am Post subject: |
|
|
Chevalier
Joined: 20 Sep 2005 Posts: 406
|
Hi all,
Is there any documentation on how to create MODEL of BLOB data? I am using Mapping node. But the example and documentation which i found is from XML to XML.. my message is like "s48739284f d 12345 ffff" sth like this. Thanks |
|
Back to top |
|
 |
PieterV |
Posted: Fri Sep 01, 2006 12:50 am Post subject: |
|
|
Disciple
Joined: 04 Jan 2006 Posts: 164 Location: Belgium
|
do you have a message model of your XML data? |
|
Back to top |
|
 |
|