Add a new message mapper for procurement (Enterprise)

Procurement systems that use the XML/HTTP protocol need to have a message mapper in order to communicate successfully with WebSphere Commerce.

To add a new message mapper:

  1. If necessary, create a class that implements the com.ibm.commerce.programadapter.messagemapper interface.
  2. Add the message mapper.

    For the Ariba cXML Message Mapper, the configuration entry would look like the following:

    <MessageMapper messageMapperId="-3"
    classname="com.ibm.commerce.messaging.programadapter.messagemapper.ecsax.ECSAXMessageMapper"
    enable="true"
    name="WCBE.ARIBA">
    <configuration
    EcSystemTemplateFile="ariba_sys_template.xml"
    EcTemplatePath="some_dir"
    EcInboundMessageDtdFiles="cXML.dtd"
    EcInboundMessageDtdPath="some_dir"
    />
    </MessageMapper>
    
  3. Create a mapping file for the procurement protocol messages. For information about how to create the mapping file, see Inbound message template definition files. Place the file in the directory specified by the EcTemplatePath as shown above.