Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Need help in writing UDF ...

$
0
0

Hi Experts ,

 

I am new to java and i am trying to write an UDF Which will help me in order to achive the below logic

 

 

I am trying to get the append logic

 

 

If my Source xml code has below values :

 

<Header_Record>

      <Field_Length>10</Field_Length>

      <Header_Field>A123</Header_Field>

   </Header_Record>

   <Data_Record>

      <Data_Field>B123</Data_Field>

   </Data_Record>

   <Data_Record>

      <Data_Field>C123</Data_Field>

   <Trailer_Record>

      <Field>efg</Field>

   </Trailer_Record>

 

then my Target xml  message should look like this

 

<File_Record>A123B123C123efg</File_Record>

 

 

 

 

 

I am trying to send the file to Target System in a single record by appending all the records from source message .

 

kindly suggest me some UDF Codes which i can try out to achieve the logic  in ESR .

 

Regards,

Aziz khan


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>