Hi All,
I have scenario File to Web services.Where in via file channel we are polling files and then transfer it to webservices post mapping.
Issue : We have free text in the XML file. And The same needs to replaced by a URL.
E.g.: If in the text value is : /Kunal/PI we have to replace the same with : http://www.sap.com/Kunal/PI
And post that we have to do mapping.
Need any java class code to do the same which search the value : /Kunal/PI in the file and replace all by : http://www.sap.com/Kunal/PI
as I am not that proficient in Java : SAP PI Version : PI 7.1.
Or is there is any other way the same can be done.
As its a free text so the values are coming as paragraph/sentence so we cant use concatenate in graphical mapping as we are receiving all the free text in a single field. So we have to search for the whole free text and do the replace function as mentioned above. And post that will call mapping.
Requesting all Gurus for help in the same.
Thanks in advance.