on 12-24-2007 10:44 AM
Does any codeing is required after adding payloadswapbean in the adpater module in sender mail adpter ?
I had to use PayloadSwapBean module twice in the modle configuration and hence solved the problem.
Thanks..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Even i restarted my J2ee server but it didnt help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ya Chirag that was a typo error..
The error is:
exception caught during processing mail message [4]com.sap.aii.af.mp.processor.ModuleProcessorException: Error during processing local bean: localejbs/AF_modules/PayloadSwapBean caused by: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at AF_modules, the whole lookup name is localejbs/AF_modules/PayloadSwapBean.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No. Only some configurations are required
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks...but I hve checked both these blogs.
Prateek can you please teel which configurations you are talking about ( are you talkin about the Michal's blog ?)
i am getting the follwoing error :
exception caught during processing mail message18; com.sap.aii.af.mp.processor.ModuleProcessorException: Error during processing local bean: localejbs/AF_modules/MessageTransformBean caused by: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at AF_modules, the whole lookup name is localejbs/AF_modules/MessageTransformBean.
Please suggest.
FYI, I have done the follwoing configuration in the module of sender mail adpater:
1 localejbs/AF_modules/PayloadSwapBean Local Enterprise Bean TRANSFORM
2 sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean Local Enterprise Bean mail
and the following in the module configuration:
TRANSFORM swap.keyName Content-Disposition
TRANSFORM swap.keyName Content-Description
TRANSFORM swap.keyName Content-Type
TRANSFORM swap.keyValue attachment;filename="10424_SPR.txt"
TRANSFORM swap.keyValue 10424_SPR
TRANSFORM swap.keyValue .txt
Hi,
There is some possibility of PayloadSwapBean error,
it may come
1. XI 3.0 Adapter Framework provides a standard module for replacing the
application payload with one of the other payloads in the message. The
new application payload can be selected based on its payload attributes
(payload-name, payload-description) or its content attributes
(content-type, content-disposition, content-description, etc).
2. The payload swapping module (PayloadSwapBean) in the XI 3.0 Adapter Framework may not find the new main payload if this payload is placed at the first entry (assuming the old main payload is placed not at the first entry).
This problem occurs, when one uses two swapping modules to switch back and forth the main payload. For example, when the first swapping module is used to switch the main payload typically placed at the first entry to another one, this new main payload is processed using another module, and then the second swapping module is used to switch back the main payload to the original payload placed at the first entry.
When this problem occurs, the message monitor shows
Swap: no matching payload found
So please check or set
1. [Module Name]
AF_Modules/PayloadSwapBean
[Module Parameters]
The following parameters are used for this module
swap.keyName the name of a supported attribute.
swap.keyValue the value of a partial string that is required
to appear.
The supported attributes (swap.keyName) include the payload attributes
such as payload-name, payload-description and any content attributes
such as content-type, content-disposition, content-description, etc.
2. Import the appropriate archive for SAP Exchange Infrastructure XI 3.0 as described in the NetWeaver 04 Support Package stack guide.
The archive and the guide are available on the SAP Service Marketplace
under the link "SP-stacks -> SAP NetWeaver -> SAP NetWeaver 04" ie
Apply patch
XI ADAPTER FRAMEWORK 3.0
Support Package 12, patch Level 3 (SAPXIAF12P_3.SCA)
or
Support Package 13, patch Level 1 (SAPXIAF13P_1.SCA)
if you are using higher, then check out for the first solution.
Also refer this sap note for other details. SAP Note 746393.
Hope this will help you.
regards
Aashish Sinha
PS : reward points if helpful
HI,
I think u have refer the michal web log for config?
Can u please try with is :
swap.keyName payload-name
swap.keyValue <Name of the Payload>
You can find the name of the payload that you want to set as the main payload in the XI
message monitor (SXMB_MONI).
Also check the configuration from the below link:
I think there is a porblem in maintaining the proper values in module.
Thnx
Chirag
Yes Chirag,.....i have gone through each and every blog available on sender mail adpater on sdn ( includ Michal's).
I am not sure of this <Name of the Payload>
I can not see any processed message in SXMB_MONI, so can you tell me what can be the name of payload. Also, i have posted every configuration i have maintained in adapter module in this thread, please check.
Thanks,
Priya
Hi,
If this issue is not resolved, can you please tell me what errors you getting now else close this thread.
For you info
The swap module is denoted in our scenario with the module key swap. It has two parameters from the MIME header. They are
Swap.keyName where the attribute of the payload is entered
Swap.keyValue which holds the value of the attribute
The MessageTransformBean module is used to describe the payload. The various MIME content fields used to describe the payload are
Transform.ContentDisposition with parameters attachment | inline refers to how the payload shows up in the mail
Transform.ContentDescription which gives the file description
Transform.ContentType which specifies the type of the payload
The MessageTransformBean and PayloadSwapBean are standard modules provided by SAP and their functionality is explained clearly in the below supporting documents.
Reference pages:-.
1. http://help.sap.com/saphelp_nw2004s/helpdata/en/2e/bf37423cf7ab04e10000000a1550b0/frameset.htm
2. http://help.sap.com/saphelp_nw2004s/helpdata/en/57/0b2c4142aef623e10000000a155106/frameset.htm
3. /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
Hope this will help you to clarify your doubts if any.
Regards
Aashish Sinha
PS : reward points if helpful
HI Priya,
Please refer the blog and help for the same:
/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
http://help.sap.com/saphelp_nw04/helpdata/en/2e/bf37423cf7ab04e10000000a1550b0/frameset.htm
Thnx
Chirag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
26 | |
10 | |
9 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.