cancel
Showing results for 
Search instead for 
Did you mean: 

Change codification Email Adapter

AntonioSanz
Active Participant
0 Kudos

Hi experts,

it is possible to change the charset=utf-8 attribute in my call to email receiver adapter? The call to the adapter monitoring is like:

--SAP_50FDFFFB59B00680E1008000C0A81F98_END

content-id: <soap-50FDFFFA59B00680E1008000C0A81F98@sap.com>

Content-Type: text/xml; charset=utf-8

.........

I want to change this first charset=utf-8 and I want to set as charset=ISO-8859-1. Is that possible???

I have tried with anonimiyzer bean but it doesnt work.

Any suggestion?

The full trace is:

--SAP_50FDFFFB59B00680E1008000C0A81F98_END

content-id: <soap-50FDFFFA59B00680E1008000C0A81F98@sap.com>

Content-Type: text/xml; charset=utf-8

<SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'><SOAP:Header><sap:Main xmlns:sap='http://sap.com/xi/XI/Message/30' versionMajor='3' versionMinor='1' SOAP:mustUnderstand='1' xmlns:wsu='http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd' wsu:Id='wsuid-main-92ABE13F5C59AB7FE10000000A1551F7'><sap:MessageClass>ApplicationMessage</sap:MessageClass><sap:ProcessingMode>asynchronous</sap:ProcessingMode><sap:MessageId>7df10209-03ed-4a33-2c73-81cf10169f62</sap:MessageId><sap:TimeSent>2013-01-21T15:34:32Z</sap:TimeSent><sap:Sender><sap:Party agency='' scheme=''></sap:Party><sap:Service>BS_C0017_BUYTRAGO</sap:Service></sap:Sender><sap:Receiver><sap:Party agency='' scheme=''></sap:Party><sap:Service>BS_SISTEMA_GENERICO_EMAIL</sap:Service></sap:Receiver><sap:Interface namespace='http://cofares.es/xi/FARMAVENIX'>SI_EMAIL_IN</sap:Interface></sap:Main><sap:ReliableMessaging xmlns:sap='http://sap.com/xi/XI/Message/30' SOAP:mustUnderstand='1'><sap:QualityOfService>ExactlyOnce</sap:QualityOfService></sap:ReliableMessaging><sap:DynamicConfiguration xmlns:sap='http://sap.com/xi/XI/Message/30' SOAP:mustUnderstand='1'><sap:Record namespace='http://sap.com/xi/XI/System/File' name='FileName'>BU16012013_utf.txt</sap:Record><sap:Record namespace='http://sap.com/xi/XI/Message/30/general' name='senderAgreementGUID'>d41464f63e353535a3c3d1960a2e2130</sap:Record></sap:DynamicConfiguration><sap:HopList xmlns:sap='http://sap.com/xi/XI/Message/30' SOAP:mustUnderstand='1'><sap:Hop timeStamp='2013-01-21T15:34:32Z' wasRead='false'><sap:Engine type='AE'>af.piq.caliope</sap:Engine><sap:Adapter namespace='http://sap.com/xi/XI/System'>XIRA</sap:Adapter><sap:MessageId>7df10209-03ed-4a33-2c73-81cf10169f62</sap:MessageId><sap:Info></sap:Info></sap:Hop><sap:Hop timeStamp='2013-01-21T15:34:33Z' wasRead='false'><sap:Engine type='IS'>is.00.caliope</sap:Engine><sap:Adapter namespace='http://sap.com/xi/XI/System'>XI</sap:Adapter><sap:MessageId>7df10209-03ed-4a33-2c73-81cf10169f62</sap:MessageId><sap:Info>3.0</sap:Info></sap:Hop><sap:Hop timeStamp='2013-01-21T15:34:33Z' wasRead='false'><sap:Engine type='AE'>af.piq.caliope</sap:Engine><sap:Adapter namespace='http://sap.com/xi/XI/System'>XIRA</sap:Adapter><sap:MessageId>7df10209-03ed-4a33-2c73-81cf10169f62</sap:MessageId></sap:Hop></sap:HopList><sap:Diagnostic xmlns:sap='http://sap.com/xi/XI/Message/30' SOAP:mustUnderstand='1'><sap:TraceLevel>Information</sap:TraceLevel><sap:Logging>Off</sap:Logging></sap:Diagnostic></SOAP:Header><SOAP:Body><sap:Manifest xmlns:sap='http://sap.com/xi/XI/Message/30' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:wsu='http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd' wsu:Id='wsuid-manifest-5CABE13F5C59AB7FE10000000A1551F7'><sap:Payload xlink:type='simple' xlink:href='cid:payload-0dca29a963e011e29ed10000006386b6@sap.com'><sap:Name>MainDocument</sap:Name><sap:Description></sap:Description><sap:Type>Application</sap:Type></sap:Payload></sap:Manifest></SOAP:Body></SOAP:Envelope>

--SAP_50FDFFFB59B00680E1008000C0A81F98_END

content-id: <payload-0dca29a963e011e29ed10000006386b6@sap.com>

content-type: application/xml

<?xml version='1.0' encoding='ISO-8859-1'?><ns1:Mail xmlns:ns1='http://sap.com/xi/XI/Mail/30'><Subject>PRUEBA</Subject><From>pruebasfarmavenix@farmavenix.es</From><To>asanz@cofares.es</To><Content_Type>multipart/mixed; boundary = --AaZz</Content_Type><Content>----AaZzContent-Type: text/plain; charset=ISO-8859-1;

Content-Disposition: inline

----AaZz

Content-Type: text/plain; charset=ISO-8859-1; name=BU16012013_utf.txt

Content-Disposition: attachment; filename=BU16012013_utf.txt

0083810349383             04850024POSE VILARNOVO, BEATRIZ                           ROSALIA DE CASTRO, 54                                                                               LAXE (A CORU�A)               115117   N00009000033000009S00000000P -9817353332                                                T004122012

0083810349383             04850024POSE VILARNOVO, BEATRIZ                           ROSALIA DE CASTRO, 54                                                                               LAXE (A CORU�A)               115117   N00009000033000009S00000000P -9817353332                                                T004122012

0083810349383             04850024POSE VILARNOVO, BEATRIZ                           ROSALIA DE CASTRO, 54                                                                               LAXE (A CORU�A)               115117   N00009000033000009S00000000P -9817353332                                                T004122012

</Content></ns1:Mail>

--SAP_50FDFFFB59B00680E1008000C0A81F98_END--

Accepted Solutions (1)

Accepted Solutions (1)

AntonioSanz
Active Participant
0 Kudos

According to W3C it is only possible to use UTF8 or UTF16.

Answers (0)