Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Sender JMS channel - Strange issue with special characters (^, ¢ etc)

$
0
0

Hi

 

I've a scenario JMS -> PI -> IDOC scenario on SAP PI 7.11. JMS channel is configured to read data from the queue configured the Mainframe (z/OS) system.

 

Regular alpha & numeric characters are being converted correctly, but special characters such as ^, ¢ are causing the problem. For eg, ^ (cap sign) is being converted as ¢ (cent sign), ¢ (cent sign) is being converted a [ (square bracket) etc. However, " is being converted correctly.

 

I've found out the CCSID as 500 from the Mainframe team and configured it accordingly. I've tried using various character sets such as UTF-8, US-ASCII, ISO-8859-1, EBCDIC, Cp037, IBM037, Cp500 etc in the ContentType but none of them solved my problem.

 

I've checked a few forum posts and 'How_to_Work_with_Character_Encodings_in_Process_Integration_(NW7.0)' document. I've tried using XMLAnonymizer bean, but found out that it would not help because the content of JMS messages is ~ delimited plain text, not an XML.

 

Can you please help me troubleshoot this issue? How do I make sure that special characters are converted correctly?

 

So far, no message has failed because of special char conversion...they are being converted wrongly but not failing due to parsing or mapping error.

 

I greatly appreciate your inputs.

 

Thanks in advance

Praveen

 

Here is the Module configuration

 

Processing Sequence

NumberModule Name
Module Key
1SAP XI JMS Adapter/ConvertJMSMessageToBinaryconvert_JMS2Bin
2SAP XI JMS Adapter/ConvertBinaryToXMBMessageconvert_Bin2XI
3AF_Modules/MessageTransformBeanPlain2XML
4CallSapAdaptercall_AF_MS

 

Module Configuration

Module KeyParameter Name
Parameter Value
Plain2XMLTransform.Classcom.sap.aii.messaging.adapter.Conversion
Plain2XMLTransform.ContentTypetext/xml;charset=utf-8

 

In addition to the above I've configured the parameters for conversion type StructPlain2XML (similar to FCC, used ~ as field separator)


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>