210: begin
211: if (l_procedureEnabled) then
212: ecx_debug.push(i_method_name);
213: end if;
214: xmlparser.parseCLOB(ecx_utils.g_parser,i_payload);
215: if (l_procedureEnabled) then
216: ecx_debug.pop(i_method_name);
217: end if;
218: exception
432: when others then
433: raise ecx_utils.program_exit;
434: end;
435:
436: i_doc := xmlparser.getDocument(ecx_utils.g_parser);
437:
438: /** Assign it to the Global XML Document **/
439: ecx_utils.g_xmldoc := xmlDOM.makeNode(i_doc);
440:
448: ecx_inbound.process_xml_doc (i_doc,i_map_id, i_header_id, i_rcv_tp_id,
449: i_xmldoc, l_parseXML);
450: end if;
451:
452: xmlparser.freeparser(ecx_utils.g_parser);
453: if(ecx_utils.dom_printing = false and ecx_utils.structure_printing = true) -- xmltoxml different dtds.
454: then
455: xmlparser.freeparser(ecx_utils.g_inb_parser);
456: end if;
451:
452: xmlparser.freeparser(ecx_utils.g_parser);
453: if(ecx_utils.dom_printing = false and ecx_utils.structure_printing = true) -- xmltoxml different dtds.
454: then
455: xmlparser.freeparser(ecx_utils.g_inb_parser);
456: end if;
457:
458: if (ecx_utils.dom_printing or (ecx_utils.structure_printing and l_parseXML)) then
459: if(l_statementEnabled) then
474: ecx_debug.log(l_statement,'XML is not validated by the parser.',i_method_name);
475: end if;
476: end if;
477: --for bug 5609625
478: xmlparser.freeparser(ecx_utils.g_parser);
479: if(ecx_utils.dom_printing = false and ecx_utils.structure_printing = true) -- xmltoxml different dtds.
480: then
481: xmlparser.freeparser(ecx_utils.g_inb_parser);
482: end if;
477: --for bug 5609625
478: xmlparser.freeparser(ecx_utils.g_parser);
479: if(ecx_utils.dom_printing = false and ecx_utils.structure_printing = true) -- xmltoxml different dtds.
480: then
481: xmlparser.freeparser(ecx_utils.g_inb_parser);
482: end if;
483: ---end of 5609625
484:
485: if (l_procedureEnabled) then