XML workflow
XML document exchange proceeds as follows:
- An XML request document is generated by a customers’ system and submitted to MEC URL via HTTP.
 - MEC receives the document and applies any needed schema validation and or XSL transformations needed to create an iXML request document.
 - 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.
 - The XML Gateway creates a new session based on credential information included in the request document.
 - 
        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 .
 
 - 
              
 - If the request is valid, the XML Gateway executes the command and business object method specified in the request document.
 - The XML Gateway receives output from the business-object method, generates a response document and returns it to the e-Commerce Extension for MEC.
 - 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.
 - 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.