# Table of contents:

# Introduction

Errors ("faults") in the Simple Object Access Protocol are special types of responses.

# Server/Response

# soap:Envelope

This element has three attributes:

There may be one optional attribute:

# soap:Body

This element only contains one child:

# soap:Fault

This element contains two elements and two optional elements, all of which are in the empty namespace:

# detail (Address Book Service and Contact Sharing Service)

This version of this element contains three children which are in the http://www.msn.com/webservices/AddressBook namespace:

This version of this element optionally supports only one child in the http://www.msn.com/webservices/AddressBook namespace:

This version of this element also contains only one child which is in the empty namespace:

# detail (Schematized Storage Service)

This version of this element contains three children which are in the http://www.msn.com/webservices/storage/v1 namespace:

# detail (Offline Instant Message service)

This version of this element contains two children which are in the http://messenger.msn.com/ws/2004/09/oim/ namespace:

# Examples

# Basic fault

HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=utf-8
Content-Length: 235

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope
	xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
	<soap:Body>
		<soap:Fault>
			<faultcode>soap:Client</faultcode>
			<faultstring>Example error.</faultstring>
			<faultactor>http://example.com/services/example.asmx</faultactor>
		</soap:Fault>
	</soap:Body>
</soap:Envelope>

# Address Book Service

HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=utf-8
Content-Length: 1034

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope
	xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
	<soap:Body>
		<soap:Fault>
			<faultcode>soap:Client</faultcode>
			<faultstring>Full sync required.  Details: Delta syncs disabled.</faultstring>
			<faultactor>http://www.msn.com/webservices/AddressBook/ABFindAll</faultactor>
			<detail>
				<errorcode
					xmlns="http://www.msn.com/webservices/AddressBook"
				>FullSyncRequired</errorcode>
				<errorstring
					xmlns="http://www.msn.com/webservices/AddressBook"
				>Full sync required.  Details: Delta syncs disabled.</errorstring>
				<machineName
					xmlns="http://www.msn.com/webservices/AddressBook"
				>yellows111</machineName>
				<additionalDetails>
					<originalExceptionErrorMessage>Full sync required.  Details: Delta syncs disabled.</originalExceptionErrorMessage>
				</additionalDetails>
			</detail>
		</soap:Fault>
	</soap:Body>
</soap:Envelope>

# Offline Instant Messaging service

HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=utf-8
Content-Length: 868

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope
	xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
	<soap:Body>
		<soap:Fault>
			<faultcode
				xmlns:q0="https://messenger.msn.com/ws/2004/09/oim/"
			>q0:AuthenticationFailed</faultcode>
			<faultstring>Exception of type System.Web.Services.Protocols.SoapException was thrown.</faultstring>
			<faultactor>https://ows.messenger.msn.com/OimWS/oim.asmx</faultactor>
			<detail>
				<TweenerChallenge
					xmlns="http://messenger.msn.com/ws/2004/09/oim/"
				>ct=1,rver=1,wp=FS_40SEC_0_COMPACT,lc=1,id=1</TweenerChallenge>
				<LockKeyChallenge
					xmlns="https://messenger.msn.com/ws/2004/09/oim/"
				>12345678901234567890</LockKeyChallenge>
			</detail>
		</soap:Fault>
	</soap:Body>
</soap:Envelope>