Hi Gurus,
I used receiver mail adapter in my scenario.
I created the outbound Message Type as follows.
Mt_mail
From 0..1
To 0..1
Subject 0..1
Message 0...unbounded
and inbound Message Type is the mail XSD which I downloaded from SAP Service Marketplace.
Mail 1..1
encoding
Subject 0..1
From 0..1
To 0..1
Content 0..unbounded
The payload after mapping is follows.
<ns1:Mail xmlns:ns1=@http://sap/com/xi/XI/Mail/30>
<Subject>Status 64..error while posting idoc</Subject>
From>yyyyy.com
<Content>you are receiving this mail as theer is a problem in the idoc</Content>
<Content />
<Content>Idoc number</Content>
<Content>PONumber12345</Content>
<Content>Date yyyymmdd</Content>
<Content>HHMMSS</Content>
</ns1:Mail>
The error occurred in the channel is below.
Delivery of mesage to the application using Mail_http://sap.com/xi/XI/System failed due to
com.sap.aii.af.ra.ms.api.RecoverableException: com.sap.aii.messaging.util.XMLScanException expecting end tag:
Mail,but found { } Content at state 1.
Can you please help resolving this error.
Thanks,
Jay.