A method, system, and program for managing network errors communicated in
a message transaction with error information using a troubleshooting
agent. A network facilitates message transactions between a requester and
a responder for facilitating web services. When a non-application
specific error occurs in relation to a particular message transaction,
such as a network error, a protocol layer assigns an error code and
either the requester or responder encodes the error code in the body of
an envelope added to the particular message transaction. In particular,
the message transaction is an XML message with a Simple Object Access
Protocol (SOAP) envelope encoded with the error code to which the XML
message is then attached. The error encoded message transaction is
forwarded to a troubleshooting agent. The troubleshooting agent
facilitates resolution of the non-application specific error and returns
a descriptive message indicating the resolution of the non-application
specific error to at least one of the requester and the responder.