on 10-16-2007 7:13 PM
Using an Email communication channel (POP3) we are successfully processing emails with an attachment of type csv or xml.
These attachments are swapped with the Payload message then sent into an IP for processing.
The IP splits the inbound message into multiple messages (1:n) and feeds them individually into a For Each Block where we perform a transformation then a send to a JDBC adapter.
Everything works well until someone enters text into the body of the email. Then we end up with an error.
Error handling for work item 000000102646
Work item 000000102648: Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed
An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor d
An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor d
When body text is encountered we end up with two payloads:
1. Main Document (application/xml)
2. Mail Message (multipart/alternative boundary..)
We are currently at XI 3.0 Service 17 (SAPKB64017)
The mail channel for the XML attachment is configured with the following Modules:
localejbs/AF_Modules/PayloadSwapBean LEB
o swap.keyName Content-Description
o swap.keyValue MailAttachment-1
ASMA with Variable Transport Binding has been selected
Mail attributes (only keep attachments was selected)
Message Protocol XIPAYLOAD
Transport Protocol POP3
The mail channel for the CSV attachment is set up the same except it has an additional module specification for localejbs/AF_Modules/MessageTransformBean to generate an XML document from a csv attachment.
Has anybody had the same experience? Or suggestions?
Maybe the error is related to the fact that the payload is not a valid XML.
Try to send some text in body like "<test><data>abcd</data></test>" just to see if the same error occurs.
Regards,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.