Previous Topic: XML Response Attribute Mappings for Java Proxy (Classic Style) and COM ProxiesNext Topic: View to XML Mapping


Error XML

An error response from a server named “MYPSTEP1” in an XML document looks like this:

<?xml version=”1.0”?>
<MYPSTEP1	xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
		xsi:noNamespaceSchemaLocation="MYPSTEP1.xsd">
	<error>
		…..
	</error>
</MYPSTEP1>

The XML Schema for errors is referenced the same way as for the requests and responses. The error element contains sub-elements that contain specific error information. The following table lists the sub-elements that may be present in an error element.

Note: Not all error elements may be present at any given execution. The proxies return a different set of elements, as different information is available to each programming language when the error is detected.

Sub-element Name

Description

COM Proxy

.Net Proxy

Java Proxy

Java Classic Proxy

number

The error number

X

 

 

 

type

A brief description/name of the error

 

X

X

X

description

The error message text

X

X

X

X

trace

Any trace or debug information available

 

X

X

X