Skip to content

Instantly share code, notes, and snippets.

@fabrizioc1
Created April 23, 2012 23:20
Show Gist options
  • Save fabrizioc1/2474479 to your computer and use it in GitHub Desktop.
Save fabrizioc1/2474479 to your computer and use it in GitHub Desktop.
WCS cXML Message Adapter
<HttpAdapter
deviceFormatId="-10000"
deviceFormatType="XmlHttp"
deviceFormatTypeId="-10000"
enabled="true"
factoryClassname="com.ibm.commerce.programadapter.HttpProgramAdapterImpl" name="XML/HTTP">
<ProgramAdapter>
<SessionContext class="com.ibm.commerce.messaging.programadapter.security.CredentialsSpecifiedProgramAdapterSessionContextImpl">
<SessionContextConfig/>
</SessionContext>
<Configuration
supportedCharacterEncoding="ISO8859-1, UTF-8, utf-8"
supportedContentTypes="text/xml, text/xml; charset=UTF-8, text/xml-SOAP, text/xml; charset=utf-8"
supportedMessageMappers="WCS.SOAPINTEGRATION, WCS.INTEGRATION, HDS.PUNCHOUT.CXML" supportedMethods="POST, M-POST"/>
</ProgramAdapter>
</HttpAdapter>
<MessageMapper
classname="com.ibm.commerce.messaging.programadapter.messagemapper.ecsax.ECSAXMessageMapper"
enable="true"
messageMapperId="-200" name="HDS.PUNCHOUT.CXML">
<configuration
DebugMode="true"
DuplicateCreatesArray="true"
EcInboundMessageDtdFiles=""
EcInboundMessageDtdPath="messaging/cXML"
EcTemplatePath="messaging/cXML"
EcSystemTemplateFile="cxml_sys_template.xml"
EcUserTemplateFile="cxml_user_template.xml"
isValidating="false"/>
</MessageMapper>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment