XML Messages

Overview on XML Messages

List of Messages with Links to DTDs, Schemas, and Sample XML

Overview on XML Messages

Overview: The following table presents the XML messages processed through CWSerenade, including the base CWIntegrate site(s), if any, that use the message. It also includes links to the DTD and schema for each message, and a link to a sample XML file illustrating the appearance of the message with every element and attribute populated with character strings.

Not included in table: This table does not include unique CWIntegrate sites.

Opening the files: When you click on the link to a file, it opens in the default program associated with the file type on your computer. For example, if DTD files are associated with Notepad, clicking on the link for a DTD should open the DTD in Notepad.

How to set up the default program association: One way to associate each of these file types with a default program is to use the File Types option, available by selecting Tools > Folder Options in Windows Explorer. See your Microsoft Windows online help for more information on using this option.

The file extension for each of these file types is:

DTD = .dtd

schema = .xsd

XML = .xml

How to tell if you have a default program association: Open one of the associated files by navigating to the folder where it is located and double-clicking. For example, to open a DTD, go to the DTDs folder through Windows Explorer. When you double-click the DTD file:

• if a program launches automatically to open the file, this is the default program associated with this file type.

• if a window prompts you to select a program, there is no default program associated with the file type. Use the steps above to set up the default program association, or select a program through the window and indicate to always use that program to open this type of file.

Troubleshooting:

• Your application (Acrobat or Internet Explorer) might display a warning in a pop-up window the first time you click the link to one of these file types. You can disable the warning by selecting Do not show this message again and then clicking Open.

• Depending on the configuration of your server, clicking on the link to a DTD might open a window indicating that the XML page cannot be displayed. To view the DTD, right-click anywhere on the page and select View Source.

• Certain applications, such as Wordpad, do not enable you to open a link to a file whose complete directory path includes any blank spaces (such as C:\CWI Documentation\sample.dtd). Instead, when you attempt to launch the application in order to view the file, you see an error message indicating that it cannot find a file at C:\CWI. You can change the default program association for the file type, or you can open the file directly within the external application using its File > Open command. Each of the sample file types are available in a subfolder of the online help main folder:

• DTDs are stored in the DTDs subfolder

• schemas are stored in the schemas subfolder

• sample XMLs are stored in the sample XMLs subfolder

For more information: See Integration Layer Processes and Web Services for background and troubleshooting information.

List of Messages with Links to DTDs, Schemas, and Sample XML

Message

Process(es)

In/Out

CWIntegrate Site(s)

DTD (in DTD subfolder)

Schema (in schemas subfolder)

Sample XML Layout (in sample XMLs subfolder)

CWIntegrate Processes and Generic Web Services

Any of the following XML messages that are processed through the Working with Integration Layer Processes (IJCT) menu option are indicated below.

Inbound A/R Payment XML Message (ARPayment)

Use this message to: Process batches of A/R payment information.

ARBATCH_

IN; can also use the CWMessageIn Web Service

inbound

cw_

arpayments

ARPayment_1_0.dtd

ARPayment_1_0.xsd

ARPayment_1_0.xml

Authorization Request XML Message (CWAuthorizationRequest)

Use this message to: Request authorizations for credit cards, stored value cards, Bill Me Later transactions, and switch cards; activate or inquire on stored value cards; process stored value card reversals. Processing can be in interactive or batch mode.

CCAUTH_

BTH

CCAUTH_

ONL

SVC_

BALANC

SVC_OUT

SVC_REVSL

outbound

cw_

paymentech

 

cw_

valuecard

CWAuthorizationRequest_1_0.dtd

 

CWAuthorizationRequest_2_0.dtd

CWAuthorizationRequest_1_0.xsd

 

CWAuthorizationRequest_2_0.xsd

CWAuthorizationRequest_1_0.xml

 

CWAuthorizationRequest_2_0.xml

Authorization Response XML Message (CWAuthorizationResponse)

Use this message to: Receive a response to an authorization request from the credit bureau.

inbound

CWAuthorizationResponse_1_0.dtd

 

CWAuthorizationResponse_2_0.dtd

 

CWAuthorizationResponse_3_0.dtd

CWAuthorizationResponse_1_0.xsd

 

CWAuthorizationResponse_2_0.xsd

 

CWAuthorizationResponse_3_0.xsd

CWAuthorizationResponse_1_0.xml

 

CWAuthorizationResponse_2_0.xml

 

CWAuthorizationResponse_3_0.xml

Deposit Request XML Message (CWDepositRequest)

Use this message to: Send deposit requests to the service bureau.

DEPOSITS

outbound

cw_

paymentech

 

cw_valuecard

CWDepositRequest_1_0.dtd

 

CWDepositRequest_2_0.dtd

 

CWDepositRequest_3_0.dtd

CWDepositRequest_1_0.xsd

 

CWDepositRequest_2_0.xsd

 

CWDepositRequest_3_0.xsd

CWDepositRequest_1_0.xml

 

CWDepositRequest_2_0.xml

 

CWDepositRequest_3_0.xml

Deposit Response XML Message (CWDepositResponse)

Use this message to: Receive deposit responses from the service bureau.

inbound

CWDepositResponse_1_0.dtd

CWDepositResponse_1_0.xsd

CWDepositResponse_1_0.xml

Inbound Customer Message (CWCustomerIn)

Use this message to: Create or change a customer record.

CWCustomer web service; can also use CWMessageIn Web Service

inbound

cw_store

CWCustomerIn_1_0.dtd

 

CWCustomerIn_2_0.dtd

 

CWCustomerIn_3_0.dtd

 

CWCustomerIn_4_0.dtd

CWCustomerIn_1_0.xsd

 

CWCustomerIn_2_0.xsd

 

CWCustomerIn_3_0.xsd

 

CWCustomerIn_4_0.xsd

CWCustomerIn_1_0.xml

 

CWCustomerIn_2_0.xml

 

CWCustomerIn_3_0.xml

 

CWCustomerIn_4_0.xml

Outbound Customer Response Message (CWCustomerOut)

Use this message to: Indicate whether the create, change, or delete request from the CWCustomerIn message succeeded.

CWCustomer web service; can also use CWMessageIn Web Service

outbound

cw_store

CWCustomerOut_1_0.dtd

CWCustomerOut_1_0.xsd

CWCustomerOut_1_0.xml

Customer Download XML Message (CWCustomerDownload)

Use this message to: Send information on an existing customer to an external system.

CUST_OUT

outbound

 

CWCustomerDownload_1_0.dtd

CWCustomerDownload_1_0.xsd

CWCustomerDownload_1_0.xml

Mass Customer Download XML Message (CWCustomerDownload)

Use this message to: Send information on an existing customer to an external system.

Note: This message is a subset of the Customer Download message and only includes the Message, CustSoldTo, CustSoldToCross

References, CustSoldtoCross

Reference, CustIndividuals, CustIndividual, CustTaxes and CustTax elements.

 

outbound

 

CWCustomerDownload_1_0.dtd

CWCustomerDownload_1_0.xsd

CWCustomerDownload_1_0.xml

Inbound Customer Search Message (CWCustomerInqRequest)

Use this message to: Search for a customer in CWSerenade from an external system.

CUST_SRCH; can also use CWMessageIn Web Service

inbound

cw_store

CWCustomerInqRequest_1_0.dtd

CWCustomerInqRequest_1_0.xsd

CWCustomerInqRequest_1_0.xml

Outbound Customer Search Response (CWCustomerInqResponse)

Use this message to: Provide one or more customers who match the search criteria submitted by an external system in the CWCustomerInqRequest.

outbound

cw_store

CWCustomerInqResponse_1_0.dtd

 

CWCustomerInqResponse_2_0.dtd

CWCustomerInqResponse_1_0.xsd

 

CWCustomerInqResponse_2_0.xsd

CWCustomerInqResponse_1_0.xml

 

CWCustomerInqResponse_2_0.xml

Customer History Request XML Message (CWCustHistIn)

Use this message to: Receive a request for customer history or details on a particular order from an external system.

CUST_HIST; can also use CWMessageIn Web Service

inbound

cw_store

CWCustHistIn_1_0.dtd

 

CWCustHistIn_2_0.dtd

CWCustHistIn_1_0.xsd

 

CWCustHistIn_2_0.xsd

CWCustHistIn_1_0.xml

 

CWCustHistIn_2_0.xml

Customer History Response XML Message (CWCustHistOut)

Use this message to: Provide a list of orders for a customer to an external system.

outbound

cw_store

CWCustHistOut_1_0.dtd

CWCustHistOut_1_0.xsd

CWCustHistOut_1_0.xml

Detailed Order XML Response (CWORDEROUT) or Summary Order Inquiry Response XML Message (CWORDEROUT) and Order Acknowledgement XML Message (CWORDEROUT))

Use this message to: Send information on an order to an external system, either in response to a customer history inquiry or to the CWOrderIn message (order API).

CUST_HIST

ORDER_IN

outbound

cw_store

CWOrderOut_1_0.dtd

 

CWOrderOut_2_0.dtd

 

CWOrderOut_3_0.dtd

 

CWOrderOut_4_0.dtd

 

CWOrderOut_5_0.dtd

 

CWOrderOut_6_0.dtd

 

CWOrderOut_7_0.dtd

 

CWOrderOut_8_0.dtd

 

 

CWOrderOut_1_0.xsd

 

CWOrderOut_2_0.xsd

 

CWOrderOut_3_0.xsd

 

CWOrderOut_4_0.xsd

 

CWOrderOut_5_0.xsd

 

CWOrderOut_6_0.xsd

 

CWOrderOut_7_0.xsd

 

CWOrderOut_8_0.xsd

CWOrderOut_1_0.xml

 

CWOrderOut_2_0.xml

 

CWOrderOut_3_0.xml

 

CWOrderOut_4_0.xml

 

CWOrderOut_5_0.xml

 

CWOrderOut_6_0.xml

 

CWOrderOut_7_0.xml

 

CWOrderOut_8_0.xml

Email XML Message (CWEmail)

Use this message to: Send emails to CWSerenade for correspondence history purposes.

EMAIL; can also use CWMessageIn Web Service

inbound

cw_email

CWEmail_1_0.dtd

CWEmail_1_0.xsd

CWEmail_1_0.xml

Outbound Email XML Message (CWEmailOut)

Use this message to: Send email notifications to an external system in order to generate a reformatted email, possibly including promotional information.

Note: Version 7.0 or later of the CWEmailOut message is required to generate all possible email notification types.

EMAIL_OUT

outbound

 

CWEmailOut_1_0.dtd

 

CWEmailOut_2_0.dtd

 

CWEmailOut_3_0.dtd

 

CWEmailOut_4_0.dtd

 

CWEmailOut_5_0.dtd

 

CWEmailOut_6_0.dtd

 

CWEmailOut_7_0.dtd

 

CWEmailOut_8_0.dtd

 

CWEmailOut_9_0.dtd

CWEmailOut_1_0.xsd

 

CWEmailOut_2_0.xsd

 

CWEmailOut_3_0.xsd

 

CWEmailOut_4_0.xsd

 

CWEmailOut_5_0.xsd

 

CWEmailOut_6_0.xsd

 

CWEmailOut_7_0.xsd

 

CWEmailOut_8_0.xsd

 

CWEmailOut_9_0.xsd

CWEmailOut_1_0.xml

 

CWEmailOut_2_0.xml

 

CWEmailOut_3_0.xml

 

CWEmailOut_4_0.xml

 

CWEmailOut_5_0.xml

 

CWEmailOut_6_0.xml

 

CWEmailOut_7_0.xml

 

CWEmailOut_8_0.xml

 

CWEmailOut_9_0.xml

Email Request Message (CWEmailRequest)

Use this message to: Generate the store pickup email, notifying the customer that a store pickup order is ready at the selected store.

 

inbound

 

CWEmailRequest_1_0.dtd

CWEmailRequest_1_0.xsd

 

CWEmailRequest_1_0.xml

 

Inventory Download XML Message (CWInventoryDownload)

Use this message to: Send inventory updates to an external system.

INV_ DOWNLD

outbound

cw_store

CWInventoryDownload_1_0.dtd

CWInventoryDownload_1_0.xsd

CWInventoryDownload_1_0.xml

Inventory Inquiry Request XML Message (CWInventoryInquiry)

Use this message to: Receive an inventory inquiry on a particular item.

INV_INQURY; can also use CWMessageIn Web Service

inbound

 

CWInventoryInquiry_1_0.dtd

CWInventoryInquiry_1_0.xsd

CWInventoryInquiry_1_0.xml

Inventory Inquiry Response XML Message (CWInventoryInquiryResponse)

Use this message to: Send inventory information on a particular item to an external system.

outbound

 

CWInventoryInquiryResponse_1_0.dtd

CWInventoryInquiryResponse_1_0.xsd

CWInventoryInquiryResponse_1_0.xml

Item Availability Request XML Message (CWItemAvailabilityWeb)

Use this message to: Receive an inventory inquiry on a particular item or group of items.

CWServiceIn Web Service

inbound

 

CWItemAvailabilityWebRequest_1_0.dtd

CWItemAvailabilityWebRequest_1_0.xsd

CWItemAvailabilityWebRequest_1_0.xml

Item Availability Response XML Message (CWItemAvailabilityResponseWeb)

Use this message to: Send inventory information on a particular item or group of items to an external system.

outbound

 

CWItemAvailabilityWebResponse_1_0.dtd

CWItemAvailabilityWebResponse_1_0.xsd

CWItemAvailabilityWebResponse_1_0.xml

Invoice Download XML Message (CWInvoiceOut)

Use this message to: Send information on an invoice for a shipment or return to an external system.

INVOICE_ OUT

outbound

cw_store

CWInvoiceOut_1_0.dtd

 

CWInvoiceOut_2_0.dtd

 

CWInvoiceOut_3_0.dtd

CWInvoiceOut_1_0.xsd

 

CWInvoiceOut_2_0.xsd

 

CWInvoiceOut_3_0.xsd

CWInvoiceOut_1_0.xml

 

CWInvoiceOut_2_0.xml

 

CWInvoiceOut_3_0.xml

Inventory Transaction Upload XML Message (inCreateInvXaction)

Use this message to: Process inventory transactions and update inventory.

INVTRANS_ IN; can also use CWMessageIn Web Service

inbound

cw_store

inCreateInvXaction_1_0. dtd

inCreateInvXaction_1_0. xsd

inCreateInvXaction_1_0. xml

Item Download XML Message (CWItemOut)

Use this message to: Send information on an existing item to an external system.

ITEM_OUT

outbound

cw_store

CWItemOut_1_0.dtd

CWItemOut_1_0.xsd

CWItemOut_1_0.xml

Manifest Pick Request Message (CWManifestPickRequest)

Use this message to: Receive a request from the manifesting station for the details of a pick slip.

CWManifest web service

inbound

 

CWManifestPickRequest_1_0.dtd

CWManifestPickRequest_1_0.xsd

CWManifestPickRequest_1_0.xml

Manifest Ship Request Message (CWManifestShipRequest)

Use this message to: Receive a request from the manifesting station to confirm the shipment of a pick slip.

CWManifest web service

inbound

 

CWManifestShipRequest_1_0.dtd

CWManifestShipRequest_1_0.xsd

CWManifestShipRequest_1_0.xml

Manifest Ship Response Message (CWManifestShipResponse)

Use this message to: Confirm whether the shipment request was processed successfully.

CWManifest web service

outbound

 

CWManifestShipResponse_1_0.dtd

CWManifestShipResponse_1_0.xsd

CWManifestShipResponse_1_0.xml

Note: The CWMerchLocRequest and CWMerchLocResponse messages are used only to support processing the LocateItems request and response messages and the Merchandise Locator API, and are not themselves generic API messages.

Inbound Order XML Message (CWORDERIN)

Use this message to: Create an order that originated at the web storefront or in an external system.

CWOrderIn web service; can also use ORDER_IN IJCT job or CWMessageIn Web Service

inbound

cw_store

CWOrderIn_1_0.dtd

 

CWOrderIn_2_0.dtd

 

CWOrderIn_3_0.dtd

 

CWOrderIn_4_0.dtd

 

CWOrderIn_5_0.dtd

 

CWOrderIn_6_0.dtd

 

CWOrderIn_7_0.dtd

 

CWOrderIn_8_0.dtd

CWOrderIn_1_0.xsd

 

CWOrderIn_2_0.xsd

 

CWOrderIn_3_0.xsd

 

CWOrderIn_4_0.xsd

 

CWOrderIn_5_0.xsd

 

CWOrderIn_6_0.xsd

 

CWOrderIn_7_0.xsd

 

CWOrderIn_8_0.xsd

CWOrderIn_1_0.xml

 

CWOrderIn_2_0.xml

 

CWOrderIn_3_0.xml

 

CWOrderIn_4_0.xml

 

CWOrderIn_5_0.xml

 

CWOrderIn_6_0.xml

 

CWOrderIn_7_0.xml

 

CWOrderIn_8_0.xml

Order Reject Request Message (CWORDERREJECT)

This is a variation on the CWORDERIN message and does not have a separate DTD or schema.

Use this message to: Reject an order.

 

 

 

N/A

N/A

N/A

Order Line History In Message (CWOrdLnHstIn)

Use this message to: Create order line history records for a specified line on an order.

CWServiceIn Web Service

inbound

 

CWOrdLnHstIn_1.0.dtd

CWOrdLnHstIn_1.0.xsd

CWOrdLnHstIn_1.0.xml

Order Transaction History Message (CWOrderTransactionHistory)

Use this message to: Create order transaction history records for a specified order.

CWServiceIn Web Service

inbound

 

CWOrderTransactionHistory_1.0.dtd

 

CWOrderTransactionHistory_1.0.xsd

 

CWOrderTransactionHistory_1.0.xml

 

CWPickIn XML Message

Use this message to: Receive updates about pick slips from a warehouse management system.

CWPickIn web service

inbound

 

CWPickIn_1_0.dtd

 

CWPickIn_2_0.dtd

CWPickIn_1_0.xsd

 

CWPickIn_2_0.xsd

CWPickIn_1_0.xml

 

CWPickIn_2_0.xml

Pick Message from CWSerenade (CWPickOut)

Use this message to: Send information on pick slip to an external system.

PICK_OUT

outbound

 

CWPickOut_1_0.dtd

 

CWPickOut_2_0.dtd

 

CWPickOut_3_0.dtd

 

CWPickOut_4_0.dtd

CWPickOut_1_0.xsd

 

CWPickOut_2_0.xsd

 

CWPickOut_3_0.xsd

 

CWPickOut_4_0.xsd

CWPickOut_1_0.xml

 

CWPickOut_2_0.xml

 

CWPickOut_3_0.xml

 

CWPickOut_4_0.xml

CWProcessIn Message

Use this message to: Submit a periodic process.

CWServiceIn Web Service

See Using the CWProcessIn Message to Start a Periodic Process for more information.

PO Download XML Message (CWPurchaseOrderOut)

Use this message to: Send information on a purchase order to an external system.

PO_OUT

outbound

 

CWPurchaseOrderOut_1_0.dtd

 

CWPurchaseOrderOut_2_0.dtd

CWPurchaseOrderOut_1_0.xsd

 

CWPurchaseOrderOut_2_0.xsd

CWPurchaseOrderOut_1_0.xml

 

CWPurchaseOrderOut_2_0.xml

PO Receipt In XML Message (CWReceiptIn)

Use this message to: Process purchase order receipts based on information received from an external system.

CWReceiptIn web service

inbound

 

CWReceiptIn_1_0.dtd

CWReceiptIn_1_0.xsd

CWReceiptIn_1_0.xml

Return Request Message (CWReturnIn)

Use this message to: Create, receive, and credit a return against an order line.

RETURN_IN; can also use CWMessageIn Web Service

inbound

 

CWReturnIn_1_0.dtd

CWReturnIn_1_0.xsd

CWReturnIn_1_0.xml

Return Response Message (CWReturnOut)

Use this message to: Indicate whether the CWReturnIn message was processed successfully.

outbound

CWReturnOut_1_0.dtd

CWReturnOut_1_0.xsd

CWReturnOut_1_0.xml

Return Authorization Outbound XML Message (CWReturnRAOut)

Use this message to: Send a return authorization request to an external system.

RETURN_OUT

outbound

 

CWReturnAuthorizationOut_1_0.dtd

 

CWReturnAuthorizationOut_2_0.dtd

CWReturnAuthorizationOut_1_0.xsd

 

CWReturnAuthorizationOut_2_0.xsd

CWReturnAuthorizationOut_1_0.xml

 

CWReturnAuthorizationOut_2_0.xml

Customer Merge XML Message (CWFileTransfer)

Use this message to: Indicate that customer records have been merged in CWSerenade.

TRIGGER_ DL

outbound

 

CWFileTransfer_1_0.dtd

CWFileTransfer_1_0.xsd

CWFileTransfer_1_0.xml

Vendor Download XML Message (CWVendorOut)

Use this message to: Send vendor information to an external system.

VENDOR_ OUT

outbound

cw_store

CWVendorOut_1_0.dtd

 

CWVendorOut_2_0.dtd

CWVendorOut_1_0.xsd

 

CWVendorOut_2_0.xsd

CWVendorOut_1_0.xml

 

CWVendorOut_2_0.xml

Generic Workflow XML Message (CWWorkflow)

Use this message to: Create a WF workflow event.

WORKFLOW; can also use CWMessageIn Web Service

inbound

cw_workflow

CWWorkFlow_1_0.dtd

CWWorkFlow_1_0.xsd

CWWorkFlow_1_0.xml

E-Commerce Processes

The following XML messages are processed through the Working with E-Commerce Job Control (EJCT) menu option. See E-Commerce Processes for a description of each process.

E-Commerce Cancel Request Message (CWCancel)

Use this message to: Cancel an order or order line.

CANCELS; can also use CWMessageIn Web Service

inbound

 

CWCancel_1_0.dtd

CWCancel_1_0.xsd

CWCancel_1_0.xml

E-Commerce Catalog Request Message (CWCatRequest)

Use this message to: Create a catalog request.

CATALOG REQUESTS; can also use CWMessageIn Web Service

inbound

 

CWCatRequest_1_0.dtd

CWCatRequest_1_0.xsd

CWCatRequest_1_0.xml

E-Commerce Catalog Request Response Message (CWCatreqResponse)

Use this message to: Respond to a catalog request.

outbound

 

CWCatreqResponse_1_0.dtd

CWCatreqResponse_1_0.xsd

CWCatreqResponse_1_0.xml

E-Commerce Return Request Message (CWReturn)

Use this message to: Create a return authorization.

RETURNS; can also use CWMessageIn Web Service

inbound

 

CWReturn_1_0.dtd

CWReturn_1_0.xsd

CWReturn_1_0.xml

E-Commerce Return Response Message (CWReturnResponse)

Use this message to: Provide information on a return authorization created through the CWReturn message.

outbound

 

CWReturnResponse_1_0.dtd

CWReturnResponse_1_0.xsd

CWReturnResponse_1_0.xml

E-Commerce Order Status Message (CWOrderStatus)

Use this message to: Request summary information about an order.

ORDER STATUS/ INQUIRY; can also use CWMessageIn Web Service

inbound

 

CWOrderStatus_1_0.dtd

CWOrderStatus_1_0.xsd

CWOrderStatus_1_0.xml

E-Commerce Order Status Response Message (CWStatusResponse)

Use this message to: Respond to the CWOrderStatus message with order summary information.

outbound

 

CWStatusResponse_1_0.dtd

CWStatusResponse_1_0.xsd

CWStatusResponse_1_0.xml

XML_messages Serenade 5.0 March 2015