cancel
Showing results for 
Search instead for 
Did you mean: 

In Receiver Mail Adapter ,how to ignore SOAP Header attachment

Former Member
0 Kudos

HI Folks,

Am using Receiver Mail Adapter and am getting 2 attachments.

1. one is Soap header which contains Control records

2. payload

I want only Payload as attachment and need to ignore SOAP Header(AT00001.xml).

The configuration is as below:-Trasport protocol : SMTP

                                            Message Protocol: XIALL

Please provide Inputs.

Thanks & Regards

Ashok Reddy

Accepted Solutions (0)

Answers (1)

Answers (1)

gagandeep_batra
Active Contributor
0 Kudos

Hi AShok,

Can you explain your scenario

Who is sender and is mapping involve or not?

Regards

GB

Former Member
0 Kudos

Hi Gagandeep,


Scenario: File------>mail( Bypass scenario)

i had posted file in FTP and am getting attachment properly but aditionally am getting ATT00001.xml as SoapHeader.this i need to ignore.

PFB Module Parametrs i used:

localejbs/AF_Modules/MessageTransformBean   LocalEnterpriseBean    transform

Modulekey                      Parameterattribute                        value

transform                      Transform.ContentDisposition            attachment;filename=”Pocr_860.txt”

transform                     Tansform.ContentType                       text/plain

Regards

Ashok

gagandeep_batra
Active Contributor
0 Kudos

Hi Ashok

How you picking the file as source side you can ignore while picking the file you can use Exclusion mask

Regards

GB

Former Member
0 Kudos

Hi Gagandeep,

But we are posting  xxxxx.txt file,in this case ATT00001.xml file is generated by Mail adapter.

Regards

Ashok

gagandeep_batra
Active Contributor
0 Kudos

Hi Ashok..

I am not getting your scenario

As you said you scenario is File to Mail(Bypass) means you have to pick the file and send a mail with attachment right?

Regards

GB

Former Member
0 Kudos

Hi Gagandeep,

Exactly.

Regards

Ashok


iaki_vila
Active Contributor
0 Kudos

Hi Ashok,

Try with the XIPAYLOAD protocol option, the XIALL option generate that file in order to transport a XI message over some mail gateways.

Regards.

gagandeep_batra
Active Contributor
0 Kudos

you can use payloadswap bean for that

Former Member
0 Kudos

Hi Inaki Vila,

Yep I checked with this option but If we use XIPAYLOAD,we get attachment as Sub-Mail attachment(means in Mail we will get another mail as attachment,in that mail we can see the attachment).

But i want attachment directly in mail,not in sub mail.

If you have any inputs to resolve this,please provide me.

Thanks in advance.

Regards

Ashok

iaki_vila
Active Contributor
0 Kudos

Hi Ashok,

Go ahead with Gagandeep Batra recommendation. Example in Michal's blog:


Regards.