on 08-18-2009 1:37 PM
Hi Experts,
Mine is SOAP to File scenario. i'm getting attachemnts in SOAP channel, i'm using the payloadSwapBean to swap the main doc with this attachemnt in my receiver file adapter and the attachemnt content should go to the file. but i'm getting this error in adapter engine 'MP: Processing local module localejbs/AF_Modules/PayloadSwapBean Warning Swap: message is empty or has no payload '
in file adapter module configuration, what should i give for swap.keyName? i tried with payload-name, content-type - all of them leading to same warning message above.
the content of the message taken from the adapter engine is:
--SAP_4A8ABB9075B066E9E10000009B7D1E4D_END
content-id: <soap-4A8ABB8F75B066E9E100*** sap.com>
Content-Type: text/xml; charset=utf-8
<SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'><SOAP:Header> . . . </SOAP:Body></SOAP:Envelope>
--SAP_4A8ABB9075B066E9E10000009B7D1E4D_END
content-id: att-605bf2608bdf11deb447***sap.com
content-type: text/plain;charset=Cp1251
1000001,"Z001","RU �������� ����","2999901553","20090803",25,0,"20090804",2999901553,""
1000002,"Z001","RU �������� ����","2999901549","20090803",25,0,"20090804",2999901549,""
--SAP_4A8ABB9075B066E9E10000009B7D1E4D_END
content-id: payload-60662b908bdf11de861b0****sap.com
content-type: text/xml;charset=utf-8
<?xml version="1.0" encoding="UTF-8"?>
<ns0:InboundOrder xmlns:ns0="http://________"><FileName>headers.txt</FileName></ns0:InboundOrder>
SAP_4A8ABB9075B066E9E10000009B7D1E4D_END
i strongly feel the issue must be with the swap.KeyName that i'm giving.
can anybody help me in this?
Regards,
Rashmi
Hi,
Check the order of the module(organization) in you Communication channel. The PayloadSwapBean must be before CC module default.
Regards
Ivan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Rashmi,
Check the order of the processing sequence in the modules that you have configured in the CC.
It should be in the following pattern:-
PROCESSING SEQUENCE
Module Name -- localejbs/AF_Modules/PayloadSwapBean
Module Key -- SwapAttachment
Module Name -- CallSapAdapter
Module Key -- 0
MODULE CONFIGURATION
Module Key -- SwapAttachment
Parameter Name -- swap.keyName
Parameter Value -- Content-Type
Module Key -- SwapAttachment
Parameter Name -- swap.keyValue
Parameter Value -- application/txt
Let us know if you still face any trouble.
regards,
Neetesh
Edited by: Neetesh Raj on Aug 18, 2009 10:01 AM
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.