I'm in the middle of transfering over an application from a .NET stack to JAVA stack (both environments are hosted by OutSystems).

Under the new Java envirnoment, I'm not getting the same result from XmlToRecordList action. I created a test page in the original environment to test the extension and had it working perfectly. The same page on the Java stack is giving me 'unexpected format. You should have only one root element named <RecordList>' error on the same exact XML and same Code.

In the XmlToRecordList parameters, I tried passing both 'True' and 'False' for 'BypassRootRecordListNode' with no difference.

If I wrap the xml with <RecordList> tags (something that's not required in the .NET version), I don't get the error, but here's the problem: How can I have different Structures with the same 'RecordList' name?

Also, I thought maybe the BypassRootRecordListNode was meant as a work around to the above problem, so if I wrapped the xml with <RecordList>, it would not ignore that node when deserializing it into a specific Structure...that doesn't seem to happen either. Previous posts arent' really clear on this, what needs to be done? Any help is appreciated! Thanks!

That fixed it. I went ahead and Changed the default value of RecordListMode attribute directly in Integration Studio so as to not mess with it in Studio. Thanks for the quick turnaround and updated xif, Ricardo! Very much appreciated!

I'm in the middle of transfering over an application from a .NET stack to JAVA stack (both environments are hosted by OutSystems).

Under the new Java envirnoment, I'm not getting the same result from XmlToRecordList action. I created a test page in the original environment to test the extension and had it working perfectly. The same page on the Java stack is giving me 'unexpected format. You should have only one root element named <RecordList>' error on the same exact XML and same Code.

In the XmlToRecordList parameters, I tried passing both 'True' and 'False' for 'BypassRootRecordListNode' with no difference.

If I wrap the xml with <RecordList> tags (something that's not required in the .NET version), I don't get the error, but here's the problem: How can I have different Structures with the same 'RecordList' name?

Also, I thought maybe the BypassRootRecordListNode was meant as a work around to the above problem, so if I wrapped the xml with <RecordList>, it would not ignore that node when deserializing it into a specific Structure...that doesn't seem to happen either. Previous posts arent' really clear on this, what needs to be done? Any help is appreciated! Thanks!

Hi Marco,

I am facing the same issue. Did you get it resolved? If yes, can you please tell me how do I fix this?