Exchanging cXML documents through cXML Channel

IBM® webMethods B2B facilitates exchanging the cXML documents over the cXML channel. Exchanging the documents involves receiving, processing, and sending the response to the sender using the cXML out channel. The process starts when the sender sends the document from their system. Upon receipt of the document, IBM webMethods B2B processes the document according to the predetermined processing rule configured by the receiver, subsequently sending the response to the sender.

User Roles and Privileges

For Sender

  • Any B2B platform.

For Receiver

  • IBM webMethods B2B instance with administrator privileges.
  • IBM webMethods Integration instance with administrator privileges. Receiver needs IBM webMethods Integration instance only when they call for an integration and invoke the flow service.

Before You Begin

  • Create the cXML inbound and cXML outbound channels for the partners.
  • Create profiles for partners to facilitate document exchange.
  • Associate the cXML inbound and cXML outbound channels with the newly created partners.
  • Create a partner user and associate the partner user with the newly created partner profiles.
  • Inform the partners to share their cXML inbound channel endpoint URLs along with partner user credentials with the business partners with whom they want to exchange the business documents.
  • Set the cXML out channel as the preferred outbound channel for the transacting partners.
  • The content type for the cXML document must be text/xml.

Use Case

In this use case, ABC Corporation, a manufacturer of industrial equipment wants to exchange cXML documents with XYZ Distributors, a distributor of industrial supplies. On receiving the purchase order, XYZ Distributors calls for an integration to change the user status and invokes the synchronous flow service.

  1. Initiation of Purchase Order: ABC Corporation's procurement system generates a purchase order for the required components in cXML format.

  2. Transmission of cXML Document: ABC Corporation sends the cXML document containing the purchase order details over the cXML channel to XYZ Distributors.

  3. Receipt and Processing by XYZ Distributors:

  • Upon receiving the cXML document, IBM webMethods B2B recognizes and validates it.
  • IBM webMethods B2B processes the document as per the specified processing rule.
  • XYZ Distributors invokes the synchronous flow service and calls for an integration to IBM webMethods Integration to change the user status to accepted_wmio.

    NOTE Ensure that the Flow service is enabled to be invoked over HTTP in IBM webMethods Integration.

  • The user status gets updated and can be viewed on the transaction Attributes page.
  • The response from IBM webMethods Integration is received stating Wmio integration execution (sync) is successful.

Next Steps

For the successful completion of the use case, ensure that all the B2B assets you create on the IBM webMethods Integration and IBM webMethods B2B product instances are in enabled state.