Skip to Content
0
May 04, 2017 at 06:44 AM

Java Mapping for SOAP sender text to xml requirement

199 Views

The requirement is third party server is sending text file using SOAP adapter as attachments. We can't use File adapter or any other adapter apart of SOAP adapter due to third party server limitation.

The file need to be picked up by PO using SOAP attachments and need to be mapped to SAP idoc.

Due to soap sender , we need to use Java mapping here to convert text document to XML. Can anyone please provide java mapping for below file -

44,20160203,63584,23600004,3
45,20140303,1101032,23600004,3

There can be N number of lines starting from 44 or 45 or 46.

Target XML fields one can name as A,B,C,D,E under node MessageDetails.

Regards