Skip to Content
avatar image
Former Member

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


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

Create" target="_blank">">Create Modules for the J2EE Adapter Engine

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,


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 26, 2007 at 01:11 PM

    you're trying to use this module in sender or receiver soap?

    Please note that soap sender adapter won't accept modules.



    Add comment
    10|10000 characters needed characters exceeded