cancel
Showing results for 
Search instead for 
Did you mean: 

PROXY TO MAIL WITH ATTACHMENT

durgarao1
Explorer
0 Kudos
314

Hi

We have a interface PROXY to MAIL scenario. From abap, proxy is coming to PI  with attachment and we need to pass this as an attachment with same name to MAIL.

In receiver communication channel, I unabled the check box Use Packages and Keep attachment.

But While testing I am getting below

due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint  [null "null"]; nested exception caused by: java.lang.NullPointerException: while trying to invoke the method com.sap.aii.af.sdk.xi.lang.Binary.toString() of a null object returned from com.sap.aii.af.sdk.xi.mo.Attachment.getData().

Please suggestion me to go further and any adapter module is require

Thanks,

Durga

View Entire Topic
arunneerolil
Contributor
0 Kudos

Try selecting XIPAYLOAD as the message protocol and select Keep Attachments

regards,

Arun

durgarao1
Explorer
0 Kudos

I Used XIPAYLOAD protocol only.

regards,

Durga

arunneerolil
Contributor
0 Kudos

Durga,

Do you have any working scenarios with the SMTP server.

This issue could be due to PI to SMTP server connectivity/settings in the SMTP server. PI server should be allowed to act as SMTP relay.

regards,

Arun