199:
200: /* Get URL base. */
201:
202: --First check IF there is a url base defined FOR CGI - enh# 4477258
203: IF (fnd_profile.defined('APPS_CGI_AGENT')) THEN
204: fnd_profile.get('APPS_CGI_AGENT', base);
205: END IF;
206:
207: --IF CGI agent is null then check the web agent
200: /* Get URL base. */
201:
202: --First check IF there is a url base defined FOR CGI - enh# 4477258
203: IF (fnd_profile.defined('APPS_CGI_AGENT')) THEN
204: fnd_profile.get('APPS_CGI_AGENT', base);
205: END IF;
206:
207: --IF CGI agent is null then check the web agent
208: --Also set the base_type to WEB
206:
207: --IF CGI agent is null then check the web agent
208: --Also set the base_type to WEB
209: IF (base IS NULL) THEN
210: fnd_profile.get('APPS_WEB_AGENT', base);
211: base_type := 'WEB';
212: END IF;
213:
214: if (base is null) then
538:
539: node := source_node;
540: fname := source_file;
541:
542: if (fnd_profile.defined('FS_SVC_PREFIX')) then
543: fnd_profile.get('FS_SVC_PREFIX', dest_svc);
544: if (dest_svc is not null) then
545: dest_svc := substr(dest_svc || dest_node, 1, 254);
546: else
539: node := source_node;
540: fname := source_file;
541:
542: if (fnd_profile.defined('FS_SVC_PREFIX')) then
543: fnd_profile.get('FS_SVC_PREFIX', dest_svc);
544: if (dest_svc is not null) then
545: dest_svc := substr(dest_svc || dest_node, 1, 254);
546: else
547: dest_svc := 'FNDFS_' || dest_node;
552:
553: end if;
554:
555:
556: if (fnd_profile.defined('FS_SVC_PREFIX')) then
557: fnd_profile.get('FS_SVC_PREFIX', svc);
558: if (svc is not null) then
559: svc := substr(svc || node, 1, 254);
560: else
553: end if;
554:
555:
556: if (fnd_profile.defined('FS_SVC_PREFIX')) then
557: fnd_profile.get('FS_SVC_PREFIX', svc);
558: if (svc is not null) then
559: svc := substr(svc || node, 1, 254);
560: else
561: svc := 'FNDFS_' || node;
730: allow_enc := 'N';
731: end;
732:
733: if allow_enc = 'Y' then
734: fnd_profile.get('FND_NATIVE_CLIENT_ENCODING', nc_encoding);
735: if (nc_encoding is null) then
736: fnd_message.set_name('CONC', 'CONC-Cannot get profile value');
737: fnd_message.set_token('ROUTINE', 'CREATE_ID');
738: fnd_message.set_token('PROFILE', 'FND_NATIVE_CLIENT_ENCODING');
743:
744: --- Begin Shared Appltop failover code
745: begin
746:
747: if (fnd_profile.defined('FS_SVC_PREFIX')) then
748: fnd_profile.get('FS_SVC_PREFIX', fs_prefix);
749: end if;
750:
751: if (fs_prefix is null) then
744: --- Begin Shared Appltop failover code
745: begin
746:
747: if (fnd_profile.defined('FS_SVC_PREFIX')) then
748: fnd_profile.get('FS_SVC_PREFIX', fs_prefix);
749: end if;
750:
751: if (fs_prefix is null) then
752: fs_prefix := 'FNDFS_';