- Previous: General Error Messages from Compass Party Host
- Up: Private Messaging APIs
- Next: Sample REST End-To-End Test Plan
EsdMessageErrorMOE Sample
Use the EsdMessageErrorMOE to send an error message back to the GMC. Notice the original message that caused a problem is included in the "<OriginalMessage>" node. An "<ErrorResponse>" node explains the problem. This example is for a DeallocateChild.
<?xml version="1.0"?>
<EsbEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.ci.org/ci/messaging/common/2011/04/">
<EsbHeader>
<SendersAppName>ConnectorToNLSFDCOffRampService</SendersAppName>
<SendersName>CI\[string]</SendersName>
<SendersTrackingId>[string]</SendersTrackingId>
<FromAddress>[string]</FromAddress>
<MessageType>http://schemas.ci.org/ci/messaging/common/2012/02/EsdMessageErrorMOE</MessageType>
<ToAddress>GMCCompass</ToAddress>
<RequestId>[string]</RequestId>
<EventSequenceNumber>nn</EventSequenceNumber>
<MessageId>[GUID]</MessageId>
<ParentMessageId>[GUID]</ParentMessageId>
<SendingNode>ConnectorToxxOffRampService</SendingNode>
<RelatesTo relationship="ReplyTo">[GUID]</RelatesTo>
</EsbHeader>
<EsbBody>
<EsdMessageErrorMOE xmlns="http://schemas.ci.org/ci/messaging/common/2012/02/">
<OriginalMessage><![CDATA[<EsbEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.ci.org/ci/messaging/common/2011/04/">
<EsbHeader>
<SendersAppName>CompassEventProcessor</SendersAppName>
<SendersName>CI\IPPass</SendersName>
<SendersTrackingId>[GUID]</SendersTrackingId>
<FromAddress>GMCCompass</FromAddress>
<MessageType>http://schemas.ci.org/ci/messaging/compass/2013/02/DeallocateChild</MessageType>
<ToAddress>[string]</ToAddress>
<RequestId>[GUID]</RequestId>
<EventSequenceNumber>nn</EventSequenceNumber>
<MessageId>[GUID]</MessageId>
<ParentMessageId>[GUID]</ParentMessageId>
<SendingNode>EsdMessageRouterEndpoint</SendingNode>
</EsbHeader>
<EsbBody>
<DeallocateChild>
<PartnerCountryCode>[string]</PartnerCountryCode>
<ChildId>[string]</ChildId>
<NeedKey>[string]</NeedKey>
<Event>Deallocation</Event>
<TransactionDate>11-10-2013</TransactionDate>
<SentDate>08-05-2014</SentDate>
<ChildType>CDSPChild</ChildType>
</DeallocateChild>
</EsbBody>
</EsbEnvelope>]]></OriginalMessage>
<ErrorResponse xmlns="http://schemas.ci.org/ci/services/common/2011/04/">
<DateTimestamp>2014-08-07T17:02:41.9751356+02:00</DateTimestamp>
<ErrorId>5ce0f632-c0a5-40c6-b62c-e9637266dd40</ErrorId>
<ErrorName>CNL.OffRamp.Exceptions.MessageDeliveryException</ErrorName>
<ServiceName>NServiceBus.Host, Version=4.6.0.0, Culture=neutral, PublicKeyToken=9fc386479f8a226c</ServiceName>
<SendersAppName></SendersAppName>
<ErrorMessage>The version of the message type is not supported. </ErrorMessage>
</ErrorResponse>
</EsdMessageErrorMOE>
</EsbBody>
</EsbEnvelope>
Docs Navigation
- Compassion API Library
- Standards Documents
- Legacy APIs (Deprecating)
- Web Services Handshake (Legacy) - Notification and Command Messages
- Public API
- Private IPG APIs
- Private REST Services
- REST Get CDSP Implementor V1
- REST Get Child Case Study V1
- REST Get Child Exit Details V1
- REST Get Child Image V1
- REST Get Child Information V1
- REST Get Community V1
- REST Get Country V1
- REST Get CSP Implementor V1
- REST Get Local Church Partner V1
- REST Get Program Implementor V1
- REST Get Project Age Groups V1
- REST Get Child Image V1 - 2015/03
- Private Messaging APIs
- Quick Start Guide
- OffRamp Prerequisites and Setup
- IP OnRamp Service Configuration
- Available Message Types
- Message and Service Relationships
- Troubleshooting
- General Error Messages from Compass Party Host
- EsdMessageErrorMOE Sample
- Sample REST End-To-End Test Plan
- SOAP Wrapper Sample for Messages to GMC
- Allocate Child Message
- Cancel Commitment Message
- Commitment Canceled Message
- Commitment Created Message
- Constituent Created Message
- Constituent Updated Message
- Constituent Upserted Message
- Create Commitment Message
- Create Constituent Message
- Create Email Message
- Create Gift Message
- Deallocate Child Message
- Depart Child Message
- Email Created Message
- Email Updated Message
- Gift Created Message
- Update Child Message
- Update Constituent Message
- Update Email Message
- Upsert Constituent Message
- Update Project Message
- Private SOAP Services
- SOAP Get Child Exit Detail 201211
- SOAP Get Child Exit Detail 201310
- SOAP Get CDSP Implementor 201309
- SOAP Get Child Image 201211
- SOAP Get Child Case Study 201310
- SOAP Get Child Case Study 201412
- SOAP Get Child Information 201211
- SOAP Get Child Information 201310
- SOAP Get Community 201309
- SOAP Get Country Information 201104
- SOAP Get Local Church Partner 201309
- SOAP Get Program Implementor 201303
- SOAP Get Program Implementor 201309
- SOAP Get Project Age Group 201309
- Service Overview
- SOAP Get CSP Implementor 201309
- SOAP Get Child Image 201503
- Private USA APIs
- Private USA Web APIs
- private cornerstone connect messaging
- private cornerstone test
- public api
0 Comments
New comments are not being accepted at this time.