XML workflow

XML document exchange proceeds as follows:

  1. An XML request document is generated by a customers’ system and submitted to MEC URL via HTTP.
  2. MEC receives the document and applies any needed schema validation and or XSL transformations needed to create an iXML request document.
  3. The iXML document is forwarded to the e-Commerce Extension for MEC, which breaks it down into individual business object method calls. These are submitted, one at a time, to the XML Gateway JSP page for your application, as configured in the MEC.
  4. The XML Gateway creates a new session based on credential information included in the request document.
  5. The request is validated by the XML Gateway JSP page. All requests must meet the following requirements:
    • The user account associated with the new session must be permitted to execute the requested method.

    • The requested method must be open for execution through the XML Gateway .

  6. If the request is valid, the XML Gateway executes the command and business object method specified in the request document.
  7. The XML Gateway receives output from the business-object method, generates a response document and returns it to the e-Commerce Extension for MEC.
  8. If the original request document includes more method calls, then the e-Commerce Extension for MEC generates a new request for the Gateway and holds the response document.
  9. Once all requests from the original request document have been processed, the e-Commerce Extension for MEC assembles all of the associated response documents and returns them as a single document to the customer system.