"Error Message: Serialization failed for publisher: XYZPublisher operation/class: XYZ-4x" error.

"Error Message: Serialization failed for publisher: XYZPublisher operation/class: XYZ-4x" error.

book

Article ID: KB0072144

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Adapter for SAP 7.3.0

Description

Whenever some special character along with normal character is encountered by the TIBCO ActiveMatrix Adapter for SAP using RV as transport and Wire Format as Active Enterprise(AeMSG) with encoding as ISO-8859-1, a serialization error is thrown by the adapter. For example:-
aa -> No error
a -> error
 ->No error
But when Wire Format is changed to XML message OR using JMS as a transport for the service in question, there is no serialization error.
To summarise:-
=> Service having EMS as transport there are no issues
=> Service having RV as transport and wire format as XML message: there are no issues as well.
=> Service having RV as transport and wire format as AE message has issues and throws serialization error.

The cause of the serialization error is when some special character is received by the adapter. The serialization error indicates that the received data doesn't confront the schema defined for the service. .

Environment

All supported systems

Resolution


-> Just change the TIBCO Message encoding for the project/application to UTF-8. (Refer to sample1.png)
OR
-> Just change the Wire format to XML message when working with RV transport if it is not possible to change the Message encoding. (Refer to sample2.png)

Issue/Introduction

Whenever some special character is encountered by the TIBCO ActiveMatrix Adapter for SAP using RV as transport and Wire Format as Active Enterprise(AeMSG) with encoding as ISO-8859-1, serialization error is thrown by the adapter.

Additional Information

Refer to case 02111234 
https://supportapps.tibco.com/query?q=02111234&s=sr&s=jr&p=kwadp

Attachments

"Error Message: Serialization failed for publisher: XYZPublisher operation/class: XYZ-4x" error. get_app
"Error Message: Serialization failed for publisher: XYZPublisher operation/class: XYZ-4x" error. get_app