From the document, I came to know DataPower support XML <--> binary text message conversion. I need to do this for my project. Can do that using XSLT. But I am not sure, XLST will support the binary conversion (using functions).
so, please show me a sample conversion configuration in datapower, that will be great.
If possible, send me releated document/URL.
Pinned topic XML <--> Binary conversion DataPower X150
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2008-07-10T15:14:51Z at 2008-07-10T15:14:51Z by SystemAdmin
Thiyag 2700003YV825 Posts
Re: XML <--> Binary conversion DataPower X1502008-07-09T12:28:12ZThis is the accepted answer. This is the accepted answer.You could ideally use a tool such as WebSphere Transformation Extender/Contivo Analyst to create the XSLs for you. You would map the fields to their xml message equivalents and the above tools would usually give you a map of some sort, an ffd(Flat File Descriptor) in the case of Contivo Analyst. It also has the option of generating the corresponding XSL. The XSL would internally reference the ffd for converting the binary to xml or vice versa. You would be using the binary transform action in this case.
I have used this method for converting from flat to XML, I am not sure about other representations, though the tools should support most common binary representations.
Re: XML <--> Binary conversion DataPower X1502008-07-09T16:02:10ZThis is the accepted answer. This is the accepted answer.
- Thiyag 2700003YV8
I need still more clarification on this. Without this tools (WebSphere Transformation Extender/Contivo Analyst), I can create XSLT (are you thinking any drawback by doing like this)? Datapower is having an in-build XML to binary conversion Action class. The binary format what we are taking about is a preparatory format. In this case datapower don’t support?
I am not aware of this tools (WebSphere Transformation Extender/Contivo Analyst) functionality or use. Please explain this, if possible.
If possible throw more light on this.
DaveHubbard 060000PU71135 Posts
Re: XML <--> Binary conversion DataPower X1502008-07-09T19:00:20ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK
For info on WTX and Contivo have a look at http://www-128.ibm.com/developerworks/forums/thread.jspa?threadID=204862
I think the XML -> Binary action expects to get a map created by one of these tools. If you were tempted to use XSLT directly for this you may be able to create the binary output (I think it might get a bit hairy with xsl functions) but they key may be how you'd process the binary response back to XML - XSLT won't work for this.
Re: XML <--> Binary conversion DataPower X1502008-07-10T15:14:51ZThis is the accepted answer. This is the accepted answer.
- DaveHubbard 060000PU71
So, with datapower alone we can do this (XML to Binary to XML). Since DataPower and WTX are IBM products, better to use WTX. Suppose if we are going for WTX, then need to use type designer. Am I correct in this?