cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to remove the recordsetName in the target payload?

Former Member
0 Kudos

Hello Everyone,

My input payload is

<?xml version="1.0" encoding="UTF-8"?>

<ns0:MT_Input xmlns:ns0="http://***********">

   <Record>

      <Fname/>

      <Lname/>

      <DOJ/>

      <Unit/>

      <JobLevel/>

      <TotExpYrs/>

   </Record>

</ns0:MT_Input>

I want my target payload to be

<?xml version="1.0" encoding="UTF-8"?>

<ns0:MT_Input xmlns:ns0="http://***********">

      <Fname/>

      <Lname/>

      <DOJ/>

      <Unit/>

      <JobLevel/>

      <TotExpYrs/>

</ns0:MT_Input>

I dont want the recordsetName to appear in the payload. Does it require any modifications to be done in the Content Conversion part?

Is it possible? If so, please guide me.

Thanks and Regards,

Sowmya

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

In FCC add the parameter  ignoreRecordsetName    true

Regards

Venkat

Former Member
0 Kudos

Hello Sawmya,

You can achieve this by removing <Records> tag from your target structure like below -

MT_Input

      <Fname/>

      <Lname/>

      <DOJ/>

      <Unit/>

      <JobLevel/>

      <TotExpYrs/

Regards,

Ashish

Former Member
0 Kudos

Hi Venkat,

I dont want to see the header Record in the payload when i see it in the SXMB_MONI. I want my payload to be free of Record. Can i do that??

Thanks,

Sowmya

Former Member
0 Kudos

Hi Sowmya,

As suggested by venkatesh you can remove Record adding the parameter igonoreRecordsetName.  Please try that let us know.

Thanks,

Satish.

Former Member
0 Kudos

Sowmya,

Have you tried as i suggested above?

Regards,
Ashish

Former Member
0 Kudos

Hi Ashish,

Yes, I tried. But I am still getting the Record header in my payload.

former_member201264
Active Contributor
0 Kudos

Hi Sowmya,

You can achive this by using XSLT mapping extra in your Operation Mapping.

Sreeni.

Former Member
0 Kudos

Sowmya,

I asked you to remove Record xml tag from target structure.

If this tag itself is not present in the structure than how come can it come in output.

Can you share your target structure & output XML/

Regards,
Ashish

Former Member
0 Kudos

Sowmya,

I asked you to remove Record xml tag from target structure.

If this tag itself is not present in the structure than how come can it come in output.

Can you share your target structure & output XML/

Regards,
Ashish

Former Member
0 Kudos

Hi Sowmya,

Try the below

Use FCC as below .Let me know if it doesn't work.

RecordSet Name  Record

Recordset Strcture  Record,1

Record.fieldNames  Fname,Lname,DOJ,....

Record.fieldSeparator  ,

Record.endSeparator  'nl'

ignoreRecordsetName true

Regards

Venkat


former_member201264
Active Contributor
0 Kudos

Hi Sowmya,

Use this link for example.

http://dev.ektron.com/blogs.aspx?blogmonth=6&blogyear=2007&blogid=252   and check the 4th and 5th rows in the table.  I did the same for one of my requirement.

Regards,

Sreeni.

Former Member
0 Kudos

Hi Ashish,

My input payload is  :

<?xml version="1.0" encoding="UTF-8"?>

<ns0:MT_Input xmlns:ns0="************">

   <Record>

      <Fname/>

      <Lname/>

      <DOJ/>

      <Unit/>

      <JobLevel/>

      <TotExpYrs/>

   </Record>

</ns0:MT_Input>

My output payload is  :

<?xml version="1.0" encoding="UTF-8"?>

<ns0:MT_Output xmlns:ns0="***********">

   <Record>

      <Name/>

      <ExpMnth/>

      <Unit/>

      <JobLevel/>

      <TotExpMnth/>

   </Record>

</ns0:MT_Output>

Without actually removing the Record from the output payload, is there any way by which i can avoid the display of Record in the SXMB MONI??

I want the payload to be like below in SXMB MONI

<?xml version="1.0" encoding="UTF-8"?>

<ns0:MT_Output xmlns:ns0="***********">

      <Name/>

      <ExpMnth/>

      <Unit/>

      <JobLevel/>

      <TotExpMnth/>

</ns0:MT_Output>

In the CC, my parameters are

RecordsetStructure       Record,1

Record.fieldNames        Fname,Lname,DOJ,Unit,JobLevel,TotExpYrs

Record.fieldSeparator    ,

ignoreRecordsetName   true

iaki_vila
Active Contributor
0 Kudos

Hi Sowmya,

Is your receiver channel, a File channel?, i suppose that the answer is yes, then you should take into account that the monitoring is only for debug processes, in production systems must be disabled if you dont want to spend a lot of recurses. Therefore, the problem in the payload monitoring is senseless because only technicians should have access.

Regards.