cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with mail adapter

Former Member
0 Kudos

Hi All,

We have a scenario to send an xml file as attachment and archive the same xml file into archive folder. We are sending the file through mail adapter and archiving it using J2SE adapter engine.

Till now everything is working fine but when we added the <b>Doctype</b> in xml file,

<b><!DOCTYPE BOL SYSTEM "BOL 705 V1 R5 P.dtd"></b>

our mail adapter is giving the below parse exception but <b>J2SE adapter</b> is able to archive the file into specified folder without any error.

<b>Mail: error occurred: com.sap.aii.messaging.util.XMLScanException: java.lang.NullPointerException; nested exception caused by: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: </ expected(:main:, row:4, col:15)(:main:, row=4, col=15) -> com.sap.engine.lib.xml.parser.ParserException: </ expected(:main:, row:4, col:15)</b>

Please let me know if anyone has face similar situation.

Thanks,

Alok

Accepted Solutions (0)

Answers (2)

Answers (2)

stefan_grube
Active Contributor
0 Kudos

Sender and receiver adapters work independently.

Therefore the sender adapter archieves the message even when the receiver states error.

Regards

Stefan

Former Member
0 Kudos

HI,

See the below links

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter

/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address

/people/sravya.talanki2/blog/2005/08/18/triggering-e-mails-to-shared-folders-of-sap-is-u

/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure

/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter

Regards

Chilla..