Skip to Content
0
Former Member
Mar 24, 2006 at 10:08 PM

Building a module that creates a MML message

51 Views

Hi experts,

I’m working on an EAI project based on SAP XI (PI 7.0), SonicMQ 6.0 and SAP Bussiness Connector/Marketplace Connector 4.7.

IDocs must be sent from R/3 to XI, transformed into an xCBL Message using XSLT and then sent to a SonicMQ queue. BC listens to this queue and then do some processing with it. Because we’re upgrading from a solution based on SAP/CommerceOne Marketplace, this must be the message flow, for technical reasons.

My first try was to configure the Marketplace Adapter to send messages to SonicMQ but I had no success. I could not even find where to put the SonicMQ configuration (location, port, username, password…). However, I configured the JMS Adapter to send the messages to SonicMQ and it worked. The problem is that BC expects the message to be in MML format, so it reads the message but can’t work on it.

I’m trying right now to build a module that converts the message that has to be sent to the MML format. I found a class (MMLMessage) in the XI Adapter Framework Core 3.0 that suggest that it's possible, but I have no idea how to convert the message. Can anybody help me on that?

Best regards,

Renato Kalman