cancel
Showing results for 
Search instead for 
Did you mean: 

XML message without encoding type

Former Member
0 Kudos

Hi,

Is there any possibility to generate the XML file without encoding?

Should convert <?xml version="1.0"; encoding="UTF-8"?> to <?xml version="1.0";?>. I have checked the blog and the answer was either Java mapping or XSLT mapping. Is it possible to handle in graphical mapping?

I am using the AS2 adapter to send the file to customer and External defination for the target message. Below are few information on the AS2 configuration:

Signing Algorithm: SHA-1

Encryption: 3DES

Your suggestion is highly appreciated.

Regards,

Vasantha

Accepted Solutions (0)

Answers (3)

Answers (3)

naveen_chichili
Active Contributor
0 Kudos

HI Vasantha,

It is not possible with Graphical Mapping you need to go either with JAVA or XSLT mapping.

/people/stefan.grube/blog/2007/02/02/remove-namespace-prefix-or-change-xml-encoding-with-the-xmlanonymizerbean

Cheers!!!

Naveen

Former Member
0 Kudos

Hi Vasantha,

The Objective will not be possible from Graphical mapping, as graphical mapping cannot work above the parent node of any structure.

For transforming XML first parameter <code> <?xml version="1.0"; encoding="UTF-8"?> to <?xml version="1.0";?> <code> you need either go with XSLT or Java mapping option.

Regards,

Nipun

rajasekhar_reddy14
Active Contributor
0 Kudos

I think not possible using Graphical Mapping, try with JAVA Mapping.

Former Member
0 Kudos

just try with an xslt, it's much simpler:

<?xml version='1.0'?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">

<xsl:copy-of select="*"/>

</xsl:template>

</xsl:stylesheet>