DBA Data[Home] [Help]

APPS.ECX_STANDARD dependencies on WF_EVENT

Line 65: p_event in out nocopy WF_EVENT_T)

61:
62: procedure prepareWS(itemtype in VARCHAR2,
63: itemkey in VARCHAR2,
64: actid in NUMBER,
65: p_event in out nocopy WF_EVENT_T)
66: is
67:
68: i_ws_soapaction VARCHAR2(240) := NULL;
69: i_ws_svc_namespace VARCHAR2(240) := NULL;

Line 79: i_parameterList := wf_event_t.getParameterList(p_event);

75:
76: begin
77:
78: if (p_event is not null) then
79: i_parameterList := wf_event_t.getParameterList(p_event);
80:
81: -- Retrieve or default Web Services related event parameters if exists
82: i_ws_soapaction := Wf_Engine.GetActivityAttrText(itemtype, itemkey, actid, 'SOAPACTION', true);
83: if (i_ws_soapaction is null) then

Line 86: i_ws_soapaction := wf_event.getValueForParameter('SOAPACTION', i_parameterList);

82: i_ws_soapaction := Wf_Engine.GetActivityAttrText(itemtype, itemkey, actid, 'SOAPACTION', true);
83: if (i_ws_soapaction is null) then
84: i_ws_soapaction := Wf_Engine.GetItemAttrText(itemtype, itemkey, 'SOAPACTION', true);
85: if (i_ws_soapaction is null) and (i_parameterList is not null) then
86: i_ws_soapaction := wf_event.getValueForParameter('SOAPACTION', i_parameterList);
87: end if;
88: end if;
89: if (i_ws_soapaction is null) then
90: i_ws_soapaction := ' '; -- defaulting

Line 97: i_ws_svc_namespace := wf_event.getValueForParameter('WS_SERVICE_NAMESPACE', i_parameterList);

93: i_ws_svc_namespace := Wf_Engine.GetActivityAttrText(itemtype, itemkey, actid, 'WS_SERVICE_NAMESPACE', true);
94: if (i_ws_svc_namespace is null) then
95: i_ws_svc_namespace := Wf_Engine.GetItemAttrText(itemtype, itemkey, 'WS_SERVICE_NAMESPACE', true);
96: if (i_ws_svc_namespace is null) and (i_parameterList is not null) then
97: i_ws_svc_namespace := wf_event.getValueForParameter('WS_SERVICE_NAMESPACE', i_parameterList);
98: end if;
99: end if;
100: if (i_ws_svc_namespace is null) then
101: i_ws_svc_namespace := 'http://xmlns.oracle.com/apps/fnd/XMLGateway'; -- defaulting

Line 108: i_ws_port_operation := wf_event.getValueForParameter('WS_PORT_OPERATION', i_parameterList);

104: i_ws_port_operation := Wf_Engine.GetActivityAttrText(itemtype, itemkey, actid, 'WS_PORT_OPERATION', true);
105: if (i_ws_port_operation is null) then
106: i_ws_port_operation := Wf_Engine.GetItemAttrText(itemtype, itemkey, 'WS_PORT_OPERATION', true);
107: if (i_ws_port_operation is null) and (i_parameterList is not null) then
108: i_ws_port_operation := wf_event.getValueForParameter('WS_PORT_OPERATION', i_parameterList);
109: end if;
110: end if;
111: if (i_ws_port_operation is null) then
112: i_ws_port_operation := 'ReceiveDocument'; -- defaulting

Line 119: i_ws_hdr_impl_class := wf_event.getValueForParameter('WS_HEADER_IMPL_CLASS', i_parameterList);

115: i_ws_hdr_impl_class := Wf_Engine.GetActivityAttrText(itemtype, itemkey, actid, 'WS_HEADER_IMPL_CLASS', true);
116: if (i_ws_hdr_impl_class is null) then
117: i_ws_hdr_impl_class := Wf_Engine.GetItemAttrText(itemtype, itemkey, 'WS_HEADER_IMPL_CLASS', true);
118: if (i_ws_hdr_impl_class is null) and (i_parameterList is not null) then
119: i_ws_hdr_impl_class := wf_event.getValueForParameter('WS_HEADER_IMPL_CLASS', i_parameterList);
120: end if;
121: end if;
122: if (i_ws_hdr_impl_class is null) then
123: i_ws_hdr_impl_class := 'oracle.apps.fnd.wf.ws.client.DefaultHeaderGenerator'; -- defaulting

Line 130: i_ws_res_impl_class := wf_event.getValueForParameter('WS_RESPONSE_IMPL_CLASS', i_parameterList);

126: i_ws_res_impl_class := Wf_Engine.GetActivityAttrText(itemtype, itemkey, actid, 'WS_RESPONSE_IMPL_CLASS', true);
127: if (i_ws_res_impl_class is null) then
128: i_ws_res_impl_class := Wf_Engine.GetItemAttrText(itemtype, itemkey, 'WS_RESPONSE_IMPL_CLASS', true);
129: if (i_ws_res_impl_class is null) and (i_parameterList is not null) then
130: i_ws_res_impl_class := wf_event.getValueForParameter('WS_RESPONSE_IMPL_CLASS', i_parameterList);
131: end if;
132: end if;
133: if (i_ws_res_impl_class is null) then
134: i_ws_res_impl_class := 'oracle.apps.fnd.wf.ws.client.WfWsResponse'; -- defaulting

Line 141: i_ws_consumer := wf_event.getValueForParameter('WS_CONSUMER', i_parameterList);

137: i_ws_consumer := Wf_Engine.GetActivityAttrText(itemtype, itemkey, actid, 'WS_CONSUMER', true);
138: if (i_ws_consumer is null) then
139: i_ws_consumer := Wf_Engine.GetItemAttrText(itemtype, itemkey, 'WS_CONSUMER', true);
140: if (i_ws_consumer is null) and (i_parameterList is not null) then
141: i_ws_consumer := wf_event.getValueForParameter('WS_CONSUMER', i_parameterList);
142: end if;
143: end if;
144: if (i_ws_consumer is null) then
145: i_ws_consumer := 'ecx'; -- defaulting

Line 467: wf_event_t.initialize(ecx_utils.g_event);

463: x_from_agt wf_agent_t := wf_agent_t(null,null);
464: x_to_agt wf_agent_t := wf_agent_t(null,null);
465:
466: begin
467: wf_event_t.initialize(ecx_utils.g_event);
468: /**
469: Set the Event Data with the passed in parameters,
470: so that the Business Event can be raised.
471: **/

Line 545: map_code := wf_event.getValueForParameter('ECX_MAP_CODE',p_parameter_list);

541: -- VS - map_code = event_name WHY...Lets's discuss
542: -- map_code ect. should come from paramter list
543:
544: dbms_lob.createtemporary(p_xmldoc,true,dbms_lob.session);
545: map_code := wf_event.getValueForParameter('ECX_MAP_CODE',p_parameter_list);
546: debug_level := wf_event.getValueForParameter('ECX_DEBUG_LEVEL',p_parameter_list);
547: /** Which exception to use here for throwing the Error to BES **/
548: if (map_code is null ) then
549: wf_core.token('MAP_CODE','NULL');

Line 546: debug_level := wf_event.getValueForParameter('ECX_DEBUG_LEVEL',p_parameter_list);

542: -- map_code ect. should come from paramter list
543:
544: dbms_lob.createtemporary(p_xmldoc,true,dbms_lob.session);
545: map_code := wf_event.getValueForParameter('ECX_MAP_CODE',p_parameter_list);
546: debug_level := wf_event.getValueForParameter('ECX_DEBUG_LEVEL',p_parameter_list);
547: /** Which exception to use here for throwing the Error to BES **/
548: if (map_code is null ) then
549: wf_core.token('MAP_CODE','NULL');
550: wf_core.raise('WFSQL_ARGS');

Line 554: transaction_type := wf_event.getValueForParameter('ECX_TRANSACTION_TYPE',p_parameter_list);

550: wf_core.raise('WFSQL_ARGS');
551: end if;
552:
553: /** Everything else is optional set of parameters **/
554: transaction_type := wf_event.getValueForParameter('ECX_TRANSACTION_TYPE',p_parameter_list);
555: transaction_subtype := wf_event.getValueForParameter('ECX_TRANSACTION_SUBTYPE',p_parameter_list);
556: party_id := wf_event.getValueForParameter('ECX_PARTY_ID',p_parameter_list);
557: party_site_id := wf_event.getValueForParameter('ECX_PARTY_SITE_ID',p_parameter_list);
558: document_id := wf_event.getValueForParameter('ECX_DOCUMENT_ID',p_parameter_list);

Line 555: transaction_subtype := wf_event.getValueForParameter('ECX_TRANSACTION_SUBTYPE',p_parameter_list);

551: end if;
552:
553: /** Everything else is optional set of parameters **/
554: transaction_type := wf_event.getValueForParameter('ECX_TRANSACTION_TYPE',p_parameter_list);
555: transaction_subtype := wf_event.getValueForParameter('ECX_TRANSACTION_SUBTYPE',p_parameter_list);
556: party_id := wf_event.getValueForParameter('ECX_PARTY_ID',p_parameter_list);
557: party_site_id := wf_event.getValueForParameter('ECX_PARTY_SITE_ID',p_parameter_list);
558: document_id := wf_event.getValueForParameter('ECX_DOCUMENT_ID',p_parameter_list);
559:

Line 556: party_id := wf_event.getValueForParameter('ECX_PARTY_ID',p_parameter_list);

552:
553: /** Everything else is optional set of parameters **/
554: transaction_type := wf_event.getValueForParameter('ECX_TRANSACTION_TYPE',p_parameter_list);
555: transaction_subtype := wf_event.getValueForParameter('ECX_TRANSACTION_SUBTYPE',p_parameter_list);
556: party_id := wf_event.getValueForParameter('ECX_PARTY_ID',p_parameter_list);
557: party_site_id := wf_event.getValueForParameter('ECX_PARTY_SITE_ID',p_parameter_list);
558: document_id := wf_event.getValueForParameter('ECX_DOCUMENT_ID',p_parameter_list);
559:
560: if ecx_utils.g_event is null

Line 557: party_site_id := wf_event.getValueForParameter('ECX_PARTY_SITE_ID',p_parameter_list);

553: /** Everything else is optional set of parameters **/
554: transaction_type := wf_event.getValueForParameter('ECX_TRANSACTION_TYPE',p_parameter_list);
555: transaction_subtype := wf_event.getValueForParameter('ECX_TRANSACTION_SUBTYPE',p_parameter_list);
556: party_id := wf_event.getValueForParameter('ECX_PARTY_ID',p_parameter_list);
557: party_site_id := wf_event.getValueForParameter('ECX_PARTY_SITE_ID',p_parameter_list);
558: document_id := wf_event.getValueForParameter('ECX_DOCUMENT_ID',p_parameter_list);
559:
560: if ecx_utils.g_event is null
561: then

Line 558: document_id := wf_event.getValueForParameter('ECX_DOCUMENT_ID',p_parameter_list);

554: transaction_type := wf_event.getValueForParameter('ECX_TRANSACTION_TYPE',p_parameter_list);
555: transaction_subtype := wf_event.getValueForParameter('ECX_TRANSACTION_SUBTYPE',p_parameter_list);
556: party_id := wf_event.getValueForParameter('ECX_PARTY_ID',p_parameter_list);
557: party_site_id := wf_event.getValueForParameter('ECX_PARTY_SITE_ID',p_parameter_list);
558: document_id := wf_event.getValueForParameter('ECX_DOCUMENT_ID',p_parameter_list);
559:
560: if ecx_utils.g_event is null
561: then
562: wf_event_t.initialize(ecx_utils.g_event);

Line 562: wf_event_t.initialize(ecx_utils.g_event);

558: document_id := wf_event.getValueForParameter('ECX_DOCUMENT_ID',p_parameter_list);
559:
560: if ecx_utils.g_event is null
561: then
562: wf_event_t.initialize(ecx_utils.g_event);
563: end if;
564:
565: ecx_utils.g_event.setparameterlist(p_parameter_list);
566:

Line 581: --wf_event.addParameterToList('ECX_ERROR_TYPE', ecx_utils.error_type,p_parameter_list);

577: i_xmldoc => p_xmldoc
578: );
579:
580: -- Removed for time being as the parameters are IN type only.
581: --wf_event.addParameterToList('ECX_ERROR_TYPE', ecx_utils.error_type,p_parameter_list);
582: --wf_event.addParameterToList('ECX_LOG_FILE', ecx_utils.g_logfile,p_parameter_list);
583: --dbms_lob.freetemporary(p_xmldoc);
584: return p_xmldoc;
585: exception

Line 582: --wf_event.addParameterToList('ECX_LOG_FILE', ecx_utils.g_logfile,p_parameter_list);

578: );
579:
580: -- Removed for time being as the parameters are IN type only.
581: --wf_event.addParameterToList('ECX_ERROR_TYPE', ecx_utils.error_type,p_parameter_list);
582: --wf_event.addParameterToList('ECX_LOG_FILE', ecx_utils.g_logfile,p_parameter_list);
583: --dbms_lob.freetemporary(p_xmldoc);
584: return p_xmldoc;
585: exception
586: when others then

Line 614: i_inevent wf_event_t;

610: i_outpayload clob;
611: i_log_file varchar2(2000);
612: i_ret_code pls_integer;
613: i_errbuf varchar2(2000);
614: i_inevent wf_event_t;
615: i_outevent wf_event_t;
616: ecx_process_xml exception;
617: i_error_type pls_integer;
618: aname_error_type varchar2(30);

Line 615: i_outevent wf_event_t;

611: i_log_file varchar2(2000);
612: i_ret_code pls_integer;
613: i_errbuf varchar2(2000);
614: i_inevent wf_event_t;
615: i_outevent wf_event_t;
616: ecx_process_xml exception;
617: i_error_type pls_integer;
618: aname_error_type varchar2(30);
619: aname_log_file varchar2(30);

Line 709: i_event wf_event_t;

705: i_outpayload clob;
706: i_log_file varchar2(2000);
707: i_ret_code pls_integer;
708: i_errbuf varchar2(2000);
709: i_event wf_event_t;
710: ecx_process_xml exception;
711: i_error_type pls_integer;
712: aname_error_type varchar2(30);
713: aname_log_file varchar2(30);

Line 1020: wf_event_t.initialize(ecx_utils.g_event);

1016: global variable for ecx_utils.g_event or create a local instance.
1017: **/
1018: begin
1019: -- Initialize the Event before using it.
1020: wf_event_t.initialize(ecx_utils.g_event);
1021: ecx_utils.g_event := Wf_Engine.GetItemAttrEvent(itemtype, itemkey,'ECX_EVENT_MESSAGE');
1022: exception
1023: when others then
1024: if ecx_utils.g_event is null

Line 1026: wf_event_t.initialize(ecx_utils.g_event);

1022: exception
1023: when others then
1024: if ecx_utils.g_event is null
1025: then
1026: wf_event_t.initialize(ecx_utils.g_event);
1027: end if;
1028: end;
1029:
1030:

Line 1158: i_event wf_event_t;

1154: parameter4 varchar2(240);
1155: parameter5 varchar2(240);
1156: event_name varchar2(240);
1157: event_key varchar2(240);
1158: i_event wf_event_t;
1159: aname varchar2(30);
1160: evt_name varchar2(30);
1161: atype varchar2(8);
1162: aformat varchar2(240);

Line 1269: wf_event_t.initialize(ecx_utils.g_event);

1265: Populate the Parameters in the original event Object being passed. if it is null , initialize and create
1266: a new Instance and populate the variables
1267: if i_event is null
1268: then
1269: wf_event_t.initialize(ecx_utils.g_event);
1270: else
1271: ecx_utils.g_event := i_event;
1272: end if;
1273: **/

Line 1276: wf_event_t.initialize(ecx_utils.g_event);

1272: end if;
1273: **/
1274:
1275: /* Always initialize ecx_utils.g_event before using it */
1276: wf_event_t.initialize(ecx_utils.g_event);
1277: if i_event is not null
1278: then
1279: ecx_utils.g_event := i_event;
1280: End If;

Line 1387: -- Following part is needed only when getxmltp is used with wf_event.send

1383: ecx_utils.i_errbuf,
1384: null,null,p_party_type
1385: );
1386:
1387: -- Following part is needed only when getxmltp is used with wf_event.send
1388: -- set ecx_utils.g_event with the envelope information. This will later be used
1389: -- by the queue handler to enqueue on ECX_OUTBOUND
1390: ecx_utils.g_event.addParameterToList('PARTY_TYPE', p_party_type);
1391: ecx_utils.g_event.addParameterToList('PARTYID', p_party_id);

Line 1568: i_evt wf_event_t;

1564: parameter4 varchar2(240);
1565: parameter5 varchar2(240);
1566:
1567: /* Variabledeclarations for Bug 2120165*/
1568: i_evt wf_event_t;
1569: i_param_name varchar2(30);
1570: i_param_value varchar2(2000);
1571: counter number ;
1572: /* End of changes for bug 2120165*/

Line 1576: i_event wf_event_t;

1572: /* End of changes for bug 2120165*/
1573:
1574: event_name varchar2(240);
1575: event_key varchar2(240);
1576: i_event wf_event_t;
1577: aevent_name varchar2(240);
1578: aname varchar2(30);
1579: evt_name varchar2(30);
1580: atype varchar2(8);

Line 1649: wf_event_t.initialize(ecx_utils.g_event);

1645: Populate the Parameters in the original event Object being passed. if it is null , initialize and create
1646: a new Instance and populate the variables
1647: if i_event is null
1648: then
1649: wf_event_t.initialize(ecx_utils.g_event);
1650: else
1651: ecx_utils.g_event := i_event;
1652: end if;
1653: **/

Line 1656: wf_event_t.initialize(ecx_utils.g_event);

1652: end if;
1653: **/
1654:
1655: /*Always initialize ecx_utils.g_event before using it */
1656: wf_event_t.initialize(ecx_utils.g_event);
1657: if i_event is not null
1658: then
1659: ecx_utils.g_event := i_event;
1660: End If;

Line 1966: i_string := wf_event.getValueForParameter('#CONTEXT',p_parameter_list);

1962:
1963: p_parameter_list := ecx_utils.g_event.parameter_list;
1964: if p_parameter_list is not null
1965: then
1966: i_string := wf_event.getValueForParameter('#CONTEXT',p_parameter_list);
1967: if i_string is not null
1968: then
1969: i_start_pos := instrb(i_string,':',1,1);
1970: parentitemtype := substr(i_string,1,i_start_pos-1);

Line 2015: from_system := wf_event.local_system_name;

2011: from_agent := ecx_utils.g_event.from_agent.name;
2012: from_system := ecx_utils.g_event.from_agent.system;
2013: else
2014: -- Use the Local System
2015: from_system := wf_event.local_system_name;
2016: end if;
2017:
2018: if ecx_utils.g_event.to_agent is not null
2019: then

Line 2024: from_system := wf_event.local_system_name;

2020: to_agent := ecx_utils.g_event.to_agent.name;
2021: to_system := ecx_utils.g_event.to_agent.system;
2022: else
2023: -- Use the Local System
2024: from_system := wf_event.local_system_name;
2025: end if;
2026: end if;
2027:
2028: exception

Line 2064: i_from_system := wf_event.local_system_name;

2060: if ecx_utils.g_event.from_agent is not null
2061: then
2062: i_from_system := ecx_utils.g_event.from_agent.system;
2063: else
2064: i_from_system := wf_event.local_system_name;
2065: end if;
2066:
2067: return i_from_system||':'||i_eventname||':'||i_eventkey;
2068: