PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

ople[XmlDoc].CopyRowset([RowSet], "", "") Ends Session

edited Aug 25, 2019 5:03AM in PeopleTools and Lifecycle Management - PSFT (MOSC) 3 commentsAnswered

PeopleTools Version: 8.53

The following code terminates the session when it reaches the &CopyRowSet step. No error is written to the trace log - the session just "ends"

Local Rowset &installationRS = CreateRowset(Record.INSTALLATION);

&installationRS.Fill("WHERE 1 = 1");

Local XmlDoc &xmldoc = CreateXmlDoc("");

try

   Local boolean &ret = &xmldoc.CopyRowset(&installationRS, "", "");

   WriteMessage("Return " | &ret);

catch Exception &ex1

   WriteMessage("Failure");

end-try;

The Documentation indicates that this should work:

If MessageName is not specified, this function makes the best possible XML structure given the passed rowset. Not passing the message name should only occur when using a nonrowset-based message or when using a standalone rowset.

If i instead write the rowset to an xml file, and then load that XML file as a use ParseXmlFromURL or as a string and then ParseXMLString, it works fine.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center