DBA Data[Home] [Help]

APPS.ECX_STANDARD dependencies on WF_EVENT

Line 63: p_event in out nocopy WF_EVENT_T)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Line 612: i_inevent wf_event_t;

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

Line 613: i_outevent wf_event_t;

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

Line 707: i_event wf_event_t;

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

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

1010: global variable for ecx_utils.g_event or create a local instance.
1011: **/
1012: begin
1013: -- Initialize the Event before using it.
1014: wf_event_t.initialize(ecx_utils.g_event);
1015: ecx_utils.g_event := Wf_Engine.GetItemAttrEvent(itemtype, itemkey,'ECX_EVENT_MESSAGE');
1016: exception
1017: when others then
1018: if ecx_utils.g_event is null

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

1016: exception
1017: when others then
1018: if ecx_utils.g_event is null
1019: then
1020: wf_event_t.initialize(ecx_utils.g_event);
1021: end if;
1022: end;
1023:
1024:

Line 1152: i_event wf_event_t;

1148: parameter4 varchar2(240);
1149: parameter5 varchar2(240);
1150: event_name varchar2(240);
1151: event_key varchar2(240);
1152: i_event wf_event_t;
1153: aname varchar2(30);
1154: evt_name varchar2(30);
1155: atype varchar2(8);
1156: aformat varchar2(240);

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

1259: Populate the Parameters in the original event Object being passed. if it is null , initialize and create
1260: a new Instance and populate the variables
1261: if i_event is null
1262: then
1263: wf_event_t.initialize(ecx_utils.g_event);
1264: else
1265: ecx_utils.g_event := i_event;
1266: end if;
1267: **/

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

1266: end if;
1267: **/
1268:
1269: /* Always initialize ecx_utils.g_event before using it */
1270: wf_event_t.initialize(ecx_utils.g_event);
1271: if i_event is not null
1272: then
1273: ecx_utils.g_event := i_event;
1274: End If;

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

1377: ecx_utils.i_errbuf,
1378: null,null,p_party_type
1379: );
1380:
1381: -- Following part is needed only when getxmltp is used with wf_event.send
1382: -- set ecx_utils.g_event with the envelope information. This will later be used
1383: -- by the queue handler to enqueue on ECX_OUTBOUND
1384: ecx_utils.g_event.addParameterToList('PARTY_TYPE', p_party_type);
1385: ecx_utils.g_event.addParameterToList('PARTYID', p_party_id);

Line 1562: i_evt wf_event_t;

1558: parameter4 varchar2(240);
1559: parameter5 varchar2(240);
1560:
1561: /* Variabledeclarations for Bug 2120165*/
1562: i_evt wf_event_t;
1563: i_param_name varchar2(30);
1564: i_param_value varchar2(2000);
1565: counter number ;
1566: /* End of changes for bug 2120165*/

Line 1570: i_event wf_event_t;

1566: /* End of changes for bug 2120165*/
1567:
1568: event_name varchar2(240);
1569: event_key varchar2(240);
1570: i_event wf_event_t;
1571: aevent_name varchar2(240);
1572: aname varchar2(30);
1573: evt_name varchar2(30);
1574: atype varchar2(8);

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

1639: Populate the Parameters in the original event Object being passed. if it is null , initialize and create
1640: a new Instance and populate the variables
1641: if i_event is null
1642: then
1643: wf_event_t.initialize(ecx_utils.g_event);
1644: else
1645: ecx_utils.g_event := i_event;
1646: end if;
1647: **/

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

1646: end if;
1647: **/
1648:
1649: /*Always initialize ecx_utils.g_event before using it */
1650: wf_event_t.initialize(ecx_utils.g_event);
1651: if i_event is not null
1652: then
1653: ecx_utils.g_event := i_event;
1654: End If;

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

1956:
1957: p_parameter_list := ecx_utils.g_event.parameter_list;
1958: if p_parameter_list is not null
1959: then
1960: i_string := wf_event.getValueForParameter('#CONTEXT',p_parameter_list);
1961: if i_string is not null
1962: then
1963: i_start_pos := instrb(i_string,':',1,1);
1964: parentitemtype := substr(i_string,1,i_start_pos-1);

Line 2009: from_system := wf_event.local_system_name;

2005: from_agent := ecx_utils.g_event.from_agent.name;
2006: from_system := ecx_utils.g_event.from_agent.system;
2007: else
2008: -- Use the Local System
2009: from_system := wf_event.local_system_name;
2010: end if;
2011:
2012: if ecx_utils.g_event.to_agent is not null
2013: then

Line 2018: from_system := wf_event.local_system_name;

2014: to_agent := ecx_utils.g_event.to_agent.name;
2015: to_system := ecx_utils.g_event.to_agent.system;
2016: else
2017: -- Use the Local System
2018: from_system := wf_event.local_system_name;
2019: end if;
2020: end if;
2021:
2022: exception

Line 2058: i_from_system := wf_event.local_system_name;

2054: if ecx_utils.g_event.from_agent is not null
2055: then
2056: i_from_system := ecx_utils.g_event.from_agent.system;
2057: else
2058: i_from_system := wf_event.local_system_name;
2059: end if;
2060:
2061: return i_from_system||':'||i_eventname||':'||i_eventkey;
2062: