Integration Technologies - JDE1 (MOSC)

MOSC Banner

JDE ORCH: XML parser in Groovy script is throwing error when multiple namespaces are present in tags

edited Mar 7, 2025 7:37PM in Integration Technologies - JDE1 (MOSC) 2 commentsAnswered

Hi Team,

I am trying to parse XML file via Groovy script in JDE orchestration. Script works fine for normal XML tags and parse the tags successfully. I also have few namespaces prefixed tags. Eg: <sh:standard>

Inorder to handle the namespaces scenario (<sh:standard>), we used single quotes in Groovy but still throws below error.

Sample XML:

<order xmlns:sh="ard">

<sh:standard>GS1</sh:standard>

</order>

Attached the code snippet used to parse the above sample xml.

Please throw some light inorder to correct the code snippet when multiple namespaces are encountered.

Thanks in Advance.

Regards,

Natarajan Sivaswamy.

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

Popular JDEdwards Tags

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center