Gateway error messages

The Gateway JSP page (which includes the XML Gateway DTC) returns a status message in the HTTP header when it returns a response document to the e-Commerce Extension for MeC. The Extension then interprets the status message and embeds it in the response document as dictated by the iXML 2.0 format specification (see The iXML document format). The e-Commerce Extension might furthermore add its own messages to track errors occurring in the MEC itself.

Each error message is assigned a number. see numbers and specific error messages in the tables below.

Status code ranges are listed in the following table:

Range Meaning
2xx Success
4xx Permanent error. Client should not retry. The error is such that the request cannot be accepted as-is.
5xx Transient error. Client should retry.

The specific status codes are listed in the table below.

Code Meaning and resolution
200 OK—the Gateway was able to execute this request.
204 No response data—the Gateway has no response data of the type requested.
400 Unknown error while processing request
401 Illegal request XML
402 Illegal request XML parameters
403

Business object method not exposed as XML Gateway method

To resolve: mark the Gateway enable check box of the method in the Infor e-Commerce Development Studio

404 Business object method call failed
405 Could not instantiate business object
406 Internal error while adding parameters
407 Internal error while accessing Resultset
408

Access to requested object or method not allowed

To resolve: Enable the method for the Gateway_All segment in the Business Center

409 Internal error while executing Gateway method
410

Login failed

To resolve: check the user name and password in the header of the XML request document

411 Failed to instantiate a LoginContext
412

Business object not exposed for XML Gateway

To resolve: mark the Gateway enable check box of the method in the Infor e-Commerce Development Studio

450 Document type not supported - The Gateway does not support the particular request.
500 Internal server error - The Gateway was unable to complete the request.
501 Internal server error - The e-Commerce plug-in was unable to communicate with the application gateway.