Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SOAP-Adapter: can't cast moduleData.getPrincipalData() to XIMessage


I've develop an adapter module to change message payload following this article:

<a href="">Create Modules for the J2EE Adapter Engine</a>

Everything works fine if I use this module only for file-adapter, but I have to use it for SOAP-Adapter too.

The problem is, when I cast the module data to XIMessage:

msg = (Message) inputModuleData.getPrincipalData();

I get a class cast error.

I notice that the message type for file-adapters is:

When using SOAP-adapter it is:

I do not have any information about this class (no documentation, no jar containing this class). Where can I get this information?

Thanks & regards,


Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question