cancel
Showing results for 
Search instead for 
Did you mean: 

swapping by content-description

Former Member
0 Kudos

Hi, I was trying a file to mail scenario, where I wanted to changed the mail content using PayloadSwapBean

but got error as

Swap: swapping by content-description ? Test

Swap: no matching payload found

i have set parameters as:

swap.keyName content-description

swap.keyValue Test

Can somebody explain what exactly have to be passed to solve this issue.

Thanks

Newa

Accepted Solutions (0)

Answers (3)

Answers (3)

shweta_walaskar2
Contributor
0 Kudos

Hello Newa,

Are you working on XI3.0 or PI7.1?

In PI7.1, parameter name has changed from content-description to payload-name. Can you please try this:

swap.keyName payload-name

swap.keyValue Test

Kindly let us know if it works.

Thanks.

Best Regards,

Shweta

Former Member
0 Kudos

hi Shewta,

Im working in PI 7.0, i tried using content-description but no change can you please what to be done.

Thanks

Newa

shweta_walaskar2
Contributor
0 Kudos

Hello Newa,

Please don't use content-description.Kindly replace it with payload-name and try.

Thanks.

Best Regards,

Shweta

Former Member
0 Kudos

Hi Shweta,

I treid as you have suggested but got error as

Swap: swapping by payload-name ? Test

Swap: no matching payload found

I maintained the parameters as:

swap.keyName payload-name

swap.keyValue TEST

Please suggest as what else to be maintained.

Thanks

Newa

shweta_walaskar2
Contributor
0 Kudos

Hello Newa,

Can you please use following parameters:

swap.keyName payload-name

swap.keyValue MailAttachment-1

Let us know the outcome.

Thanks.

Best Regards,

Shweta

former_member472138
Active Contributor
Former Member
0 Kudos

Hi Shweta,

I tried just as you have suggested now getting error as follows.

Swap: swapping by payload-name ? MailAttachment-1

Swap: no matching payload found

Suggest me as what is expected to maintian.

Thanks

Newa

former_member472138
Active Contributor
0 Kudos

Here is a step by step procedure for FILE TO MAIL scenario, I feel you set the module parameters correctly but some thing else is wrong.

[LINK|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0a27c01-26b0-2c10-bd8a-94498efa7ff6?quicklink=index&overridelayout=true]

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0a27c01-26b0-2c10-bd8a-94498efa7...

Regards

Pothana

Edited by: Pothana Yadav on May 19, 2011 1:47 PM

former_member463616
Contributor
0 Kudos

Hi,

Enter the module name /AF_Modules/PayloadSwapBean before the module name of the adapter.

Module Type, enter Local Enterprise Bean.

Please see the below link, it might be useful to you.

/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step

Regards,

P.Rajesh

Former Member
0 Kudos

Hi,

Can somebody tell me as how to resolve this error.

Thanks

Newa