on 10-20-2008 4:09 PM
Hi,
I am having a mapping requirement as follows:
Source Structure: (it is in XML format)
<Src>
<Node1>
<Field1>xyz.com</Field1>
</Node1>
<Node2>Data in base64binary format</Node2>
</Src>
While mapping the above structure to the target structure I need to remove the Node2 contents and then convert the remaining XML structure to base64binary format.
Please provide pointers in this regards.
Thanks,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am able to convert the source structure into string but for the below statement
<xsl:output method="xml" encoding="base64Binary"/>
XSLT is throwing error:
java.lang.RuntimeException: Error:
SESU0007: Unknown encoding requested: base64Binary
at com.exln.stylus.CSaxon8Driver.doProcessing(CSaxon8Driver.java:270)
at com.exln.stylus.CProcessorDriver.process(CProcessorDriver.java:111)
Error:
SESU0007: Unknown encoding requested: base64Binary
However when I am testing the mapping in Integration Repository I am not getting any error but again the output is not getting converted to base64Binary format.
Please tell me what will be the exact encoding for base64Binary. I am using Stylus Studio for doing the mapping.
Thanks,
Abhishek.
Edited by: abhishek salvi on Oct 23, 2008 11:21 AM
You might have to use java mapping. Search for base64 bineary format java apis or classes and develop java mapping.
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.