I am working on a scenario where in I recieve the Payload from a web service.The payload consists of 2 parts one is the xml document and the second is the attachment (image,PDF,..).When I monitor the messages in sxmb_moni I find 2 payloads as shown below.
Payloads attachment-1 ( image/jpeg ) MainDocument ( text/xml;charset=utf-8 )
I have a file server on the reciever side and I want 2 files to be created on the target side i.e., one the xml file and the second the attachment.
Can anyone help me how can I handle the 2 payloads either in mapping or during configuration.
Is it possible to handle the attachments in mapping(XSLT or Java) and how?
Thanks in advance.