DBA Data[Home] [Help]

APPS.XNP_MESSAGE dependencies on XNP_XML_UTILS

Line 763: xnp_xml_utils.decode(p_body_text,'MESSAGE_CODE',

759:
760: l_msg_header.message_id := p_message_id ;
761:
762: IF p_message_code is null THEN
763: xnp_xml_utils.decode(p_body_text,'MESSAGE_CODE',
764: l_msg_header.message_code) ;
765: ELSE
766: l_msg_header.message_code := p_message_code ;
767: END IF ;

Line 1511: xnp_xml_utils.decode (p_body_text, 'HEADER', l_header) ;

1507: -- performance fix
1508: -- First get the header and then decode the header
1509: -- to get the other fields.
1510:
1511: xnp_xml_utils.decode (p_body_text, 'HEADER', l_header) ;
1512:
1513: xnp_xml_utils.decode (l_header, 'OPP_REFERENCE_ID',
1514: p_msg_header.reference_id) ;
1515:

Line 1513: xnp_xml_utils.decode (l_header, 'OPP_REFERENCE_ID',

1509: -- to get the other fields.
1510:
1511: xnp_xml_utils.decode (p_body_text, 'HEADER', l_header) ;
1512:
1513: xnp_xml_utils.decode (l_header, 'OPP_REFERENCE_ID',
1514: p_msg_header.reference_id) ;
1515:
1516: -- get their reference ID for tracking and accounting
1517:

Line 1518: xnp_xml_utils.decode (l_header, 'REFERENCE_ID',

1514: p_msg_header.reference_id) ;
1515:
1516: -- get their reference ID for tracking and accounting
1517:
1518: xnp_xml_utils.decode (l_header, 'REFERENCE_ID',
1519: p_msg_header.opp_reference_id) ;
1520:
1521: xnp_xml_utils.decode (l_header, 'MESSAGE_CODE',
1522: p_msg_header.message_code) ;

Line 1521: xnp_xml_utils.decode (l_header, 'MESSAGE_CODE',

1517:
1518: xnp_xml_utils.decode (l_header, 'REFERENCE_ID',
1519: p_msg_header.opp_reference_id) ;
1520:
1521: xnp_xml_utils.decode (l_header, 'MESSAGE_CODE',
1522: p_msg_header.message_code) ;
1523:
1524: xnp_xml_utils.decode (l_header, 'VERSION',
1525: p_msg_header.version ) ;

Line 1524: xnp_xml_utils.decode (l_header, 'VERSION',

1520:
1521: xnp_xml_utils.decode (l_header, 'MESSAGE_CODE',
1522: p_msg_header.message_code) ;
1523:
1524: xnp_xml_utils.decode (l_header, 'VERSION',
1525: p_msg_header.version ) ;
1526:
1527: xnp_xml_utils.decode (l_header, 'CREATION_DATE',
1528: l_creation_date) ;

Line 1527: xnp_xml_utils.decode (l_header, 'CREATION_DATE',

1523:
1524: xnp_xml_utils.decode (l_header, 'VERSION',
1525: p_msg_header.version ) ;
1526:
1527: xnp_xml_utils.decode (l_header, 'CREATION_DATE',
1528: l_creation_date) ;
1529:
1530: p_msg_header.creation_date := xnp_utils.canonical_to_date(
1531: l_creation_date) ;

Line 1533: xnp_xml_utils.decode (l_header, 'SENDER_NAME',

1529:
1530: p_msg_header.creation_date := xnp_utils.canonical_to_date(
1531: l_creation_date) ;
1532:
1533: xnp_xml_utils.decode (l_header, 'SENDER_NAME',
1534: p_msg_header.sender_name) ;
1535:
1536: xnp_xml_utils.decode (l_header, 'RECIPIENT_NAME',
1537: p_msg_header.recipient_name) ;

Line 1536: xnp_xml_utils.decode (l_header, 'RECIPIENT_NAME',

1532:
1533: xnp_xml_utils.decode (l_header, 'SENDER_NAME',
1534: p_msg_header.sender_name) ;
1535:
1536: xnp_xml_utils.decode (l_header, 'RECIPIENT_NAME',
1537: p_msg_header.recipient_name) ;
1538:
1539: END decode_xnp_msgs ;
1540:

Line 1673: xnp_xml_utils.decode(p_msg_text, 'MESSAGE_CODE',

1669: x_error_message := 'NO_ERRORS' ;
1670:
1671: l_queue_name := g_xnp_schema || '.' || p_qname ;
1672:
1673: xnp_xml_utils.decode(p_msg_text, 'MESSAGE_CODE',
1674: l_msg_header.message_code) ;
1675:
1676: IF (l_msg_header.message_code IS NULL) THEN
1677: x_error_code := xnp_errors.g_invalid_msg_code ;

Line 1684: xnp_xml_utils.decode(p_msg_text, 'REFERENCE_ID',

1680: END IF ;
1681:
1682: xnp_message.get_sequence(l_msg_header.message_id) ;
1683: l_msg_header.direction_indr := 'I' ;
1684: xnp_xml_utils.decode(p_msg_text, 'REFERENCE_ID',
1685: l_msg_header.reference_id) ;
1686: xnp_xml_utils.decode(p_msg_text, 'OPP_REFERENCE_ID',
1687: l_msg_header.opp_reference_id) ;
1688: l_msg_header.creation_date := SYSDATE ;

Line 1686: xnp_xml_utils.decode(p_msg_text, 'OPP_REFERENCE_ID',

1682: xnp_message.get_sequence(l_msg_header.message_id) ;
1683: l_msg_header.direction_indr := 'I' ;
1684: xnp_xml_utils.decode(p_msg_text, 'REFERENCE_ID',
1685: l_msg_header.reference_id) ;
1686: xnp_xml_utils.decode(p_msg_text, 'OPP_REFERENCE_ID',
1687: l_msg_header.opp_reference_id) ;
1688: l_msg_header.creation_date := SYSDATE ;
1689: xnp_xml_utils.decode(p_msg_text, 'SENDER_NAME',
1690: l_msg_header.sender_name) ;

Line 1689: xnp_xml_utils.decode(p_msg_text, 'SENDER_NAME',

1685: l_msg_header.reference_id) ;
1686: xnp_xml_utils.decode(p_msg_text, 'OPP_REFERENCE_ID',
1687: l_msg_header.opp_reference_id) ;
1688: l_msg_header.creation_date := SYSDATE ;
1689: xnp_xml_utils.decode(p_msg_text, 'SENDER_NAME',
1690: l_msg_header.sender_name) ;
1691: xnp_xml_utils.decode(p_msg_text, 'RECIPIENT_NAME',
1692: l_msg_header.recipient_name) ;
1693: xnp_xml_utils.decode(p_msg_text, 'VERSION',

Line 1691: xnp_xml_utils.decode(p_msg_text, 'RECIPIENT_NAME',

1687: l_msg_header.opp_reference_id) ;
1688: l_msg_header.creation_date := SYSDATE ;
1689: xnp_xml_utils.decode(p_msg_text, 'SENDER_NAME',
1690: l_msg_header.sender_name) ;
1691: xnp_xml_utils.decode(p_msg_text, 'RECIPIENT_NAME',
1692: l_msg_header.recipient_name) ;
1693: xnp_xml_utils.decode(p_msg_text, 'VERSION',
1694: l_msg_header.version) ;
1695:

Line 1693: xnp_xml_utils.decode(p_msg_text, 'VERSION',

1689: xnp_xml_utils.decode(p_msg_text, 'SENDER_NAME',
1690: l_msg_header.sender_name) ;
1691: xnp_xml_utils.decode(p_msg_text, 'RECIPIENT_NAME',
1692: l_msg_header.recipient_name) ;
1693: xnp_xml_utils.decode(p_msg_text, 'VERSION',
1694: l_msg_header.version) ;
1695:
1696: x_msg_id := l_msg_header.message_id;
1697:

Line 2063: XNP_XML_UTILS.INITIALIZE_DOC;

2059: XDP_UTILITIES.WRITE_TABLE_TO_CLOB(p_source_table => xdp_utilities.g_message_list,
2060: p_dest_clob => xdp_utilities.g_clob,
2061: x_error_code => x_error_code ,
2062: x_error_description => x_error_message );
2063: XNP_XML_UTILS.INITIALIZE_DOC;
2064:
2065: WF_EVENT_T.INITIALIZE(l_event);
2066:
2067: l_event.PRIORITY := p_priority;