DBA Data[Home] [Help]

APPS.IBY_NETUTILS_PVT dependencies on IBY_DEBUG_PUB

Line 258: iby_debug_pub.add('In unpack_results_url');

254: l_local_nls VARCHAR2(200);
255: l_remote_nls VARCHAR2(200);
256: BEGIN
257:
258: iby_debug_pub.add('In unpack_results_url');
259:
260: -- Initialize status, errcode, errmessage to Success.
261: x_status := 0;
262: x_errcode := 0;

Line 332: iby_debug_pub.add('Exit unpack_results_url');

328: END LOOP;
329: END IF;
330: */
331:
332: iby_debug_pub.add('Exit unpack_results_url');
333:
334: EXCEPTION
335: WHEN OTHERS THEN
336: /* Return a status of -1 to the calling API to indicate

Line 357: iby_debug_pub.add('In get_baseurl');

353: p_temp_var VARCHAR2(2);
354:
355: BEGIN
356:
357: iby_debug_pub.add('In get_baseurl');
358: iby_utility_pvt.get_property(iby_payment_adapter_pub.C_ECAPP_URL_PROP_NAME,x_baseurl);
359: --dbms_output.put_line('x_return_status = '|| x_return_status);
360:
361: --Raising Exception to handle errors if value is missing

Line 375: iby_debug_pub.add('base url=' || x_baseurl);

371: IF( p_temp_var <> '?' ) THEN
372: x_baseurl := x_baseurl || '?';
373: END IF;
374:
375: iby_debug_pub.add('base url=' || x_baseurl);
376:
377: iby_debug_pub.add('Exit get_baseurl');
378:
379: END get_baseurl;

Line 377: iby_debug_pub.add('Exit get_baseurl');

373: END IF;
374:
375: iby_debug_pub.add('base url=' || x_baseurl);
376:
377: iby_debug_pub.add('Exit get_baseurl');
378:
379: END get_baseurl;
380:
381:

Line 562: iby_debug_pub.add('Enter',iby_debug_pub.G_LEVEL_PROCEDURE,l_dbg_mod);

558: l_got_resp BOOLEAN := false;
559:
560: l_dbg_mod VARCHAR2(100) := G_DEBUG_MODULE || '.post_request';
561: BEGIN
562: iby_debug_pub.add('Enter',iby_debug_pub.G_LEVEL_PROCEDURE,l_dbg_mod);
563:
564: IF (SUBSTR(p_url,1,6)='https:') THEN
565: iby_debug_pub.add('SSL url; setting wallet',
566: iby_debug_pub.G_LEVEL_INFO,l_dbg_mod);

Line 565: iby_debug_pub.add('SSL url; setting wallet',

561: BEGIN
562: iby_debug_pub.add('Enter',iby_debug_pub.G_LEVEL_PROCEDURE,l_dbg_mod);
563:
564: IF (SUBSTR(p_url,1,6)='https:') THEN
565: iby_debug_pub.add('SSL url; setting wallet',
566: iby_debug_pub.G_LEVEL_INFO,l_dbg_mod);
567:
568: iby_utility_pvt.get_property
569: (iby_security_pkg.C_SHARED_WALLET_LOC_PROP_NAME,l_walletpath);

Line 566: iby_debug_pub.G_LEVEL_INFO,l_dbg_mod);

562: iby_debug_pub.add('Enter',iby_debug_pub.G_LEVEL_PROCEDURE,l_dbg_mod);
563:
564: IF (SUBSTR(p_url,1,6)='https:') THEN
565: iby_debug_pub.add('SSL url; setting wallet',
566: iby_debug_pub.G_LEVEL_INFO,l_dbg_mod);
567:
568: iby_utility_pvt.get_property
569: (iby_security_pkg.C_SHARED_WALLET_LOC_PROP_NAME,l_walletpath);
570: l_walletpath := iby_netutils_pvt.path_to_url(l_walletpath);

Line 575: iby_debug_pub.add('starting req',iby_debug_pub.G_LEVEL_INFO,l_dbg_mod);

571: utl_http.set_wallet(l_walletpath,NULL);
572: END IF;
573: set_proxy(p_url);
574:
575: iby_debug_pub.add('starting req',iby_debug_pub.G_LEVEL_INFO,l_dbg_mod);
576: l_httpreq := utl_http.begin_request(p_url,'POST',null);
577:
578: iby_debug_pub.add('set headers',iby_debug_pub.G_LEVEL_INFO,l_dbg_mod);
579: utl_http.set_header(l_httpreq,'Accept','text/plain');

Line 578: iby_debug_pub.add('set headers',iby_debug_pub.G_LEVEL_INFO,l_dbg_mod);

574:
575: iby_debug_pub.add('starting req',iby_debug_pub.G_LEVEL_INFO,l_dbg_mod);
576: l_httpreq := utl_http.begin_request(p_url,'POST',null);
577:
578: iby_debug_pub.add('set headers',iby_debug_pub.G_LEVEL_INFO,l_dbg_mod);
579: utl_http.set_header(l_httpreq,'Accept','text/plain');
580: utl_http.set_header(l_httpreq,'Content-type',
581: 'application/x-www-form-urlencoded');
582: utl_http.set_header(l_httpreq,'Content-length',

Line 586: iby_debug_pub.add('writing body',iby_debug_pub.G_LEVEL_INFO,l_dbg_mod);

582: utl_http.set_header(l_httpreq,'Content-length',
583: TO_CHAR(length(p_postbody)));
584:
585:
586: iby_debug_pub.add('writing body',iby_debug_pub.G_LEVEL_INFO,l_dbg_mod);
587:
588: utl_http.write_line(l_httpreq,p_postbody);
589: l_sent_req := true;
590: iby_debug_pub.add('reading resp',iby_debug_pub.G_LEVEL_INFO,l_dbg_mod);

Line 590: iby_debug_pub.add('reading resp',iby_debug_pub.G_LEVEL_INFO,l_dbg_mod);

586: iby_debug_pub.add('writing body',iby_debug_pub.G_LEVEL_INFO,l_dbg_mod);
587:
588: utl_http.write_line(l_httpreq,p_postbody);
589: l_sent_req := true;
590: iby_debug_pub.add('reading resp',iby_debug_pub.G_LEVEL_INFO,l_dbg_mod);
591:
592: l_httpresp := UTL_HTTP.get_response(l_httpreq);
593: l_got_resp :=true;
594: iby_debug_pub.add('resp status code:=' || l_httpresp.status_code,

Line 594: iby_debug_pub.add('resp status code:=' || l_httpresp.status_code,

590: iby_debug_pub.add('reading resp',iby_debug_pub.G_LEVEL_INFO,l_dbg_mod);
591:
592: l_httpresp := UTL_HTTP.get_response(l_httpreq);
593: l_got_resp :=true;
594: iby_debug_pub.add('resp status code:=' || l_httpresp.status_code,
595: iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);
596:
597: BEGIN
598: LOOP

Line 595: iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);

591:
592: l_httpresp := UTL_HTTP.get_response(l_httpreq);
593: l_got_resp :=true;
594: iby_debug_pub.add('resp status code:=' || l_httpresp.status_code,
595: iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);
596:
597: BEGIN
598: LOOP
599: utl_http.read_text(l_httpresp,l_line,4000);

Line 609: iby_debug_pub.add('Exit',iby_debug_pub.G_LEVEL_PROCEDURE,l_dbg_mod);

605: END;
606:
607: UTL_HTTP.end_response(l_httpresp);
608:
609: iby_debug_pub.add('Exit',iby_debug_pub.G_LEVEL_PROCEDURE,l_dbg_mod);
610: EXCEPTION
611: WHEN OTHERS THEN
612: iby_debug_pub.add('err code=' || utl_http.get_detailed_sqlcode,
613: iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);

Line 612: iby_debug_pub.add('err code=' || utl_http.get_detailed_sqlcode,

608:
609: iby_debug_pub.add('Exit',iby_debug_pub.G_LEVEL_PROCEDURE,l_dbg_mod);
610: EXCEPTION
611: WHEN OTHERS THEN
612: iby_debug_pub.add('err code=' || utl_http.get_detailed_sqlcode,
613: iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);
614: iby_debug_pub.add('err msg=' || SUBSTR(utl_http.get_detailed_sqlerrm,1,150),
615: iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);
616:

Line 613: iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);

609: iby_debug_pub.add('Exit',iby_debug_pub.G_LEVEL_PROCEDURE,l_dbg_mod);
610: EXCEPTION
611: WHEN OTHERS THEN
612: iby_debug_pub.add('err code=' || utl_http.get_detailed_sqlcode,
613: iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);
614: iby_debug_pub.add('err msg=' || SUBSTR(utl_http.get_detailed_sqlerrm,1,150),
615: iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);
616:
617: IF (l_got_resp) THEN

Line 614: iby_debug_pub.add('err msg=' || SUBSTR(utl_http.get_detailed_sqlerrm,1,150),

610: EXCEPTION
611: WHEN OTHERS THEN
612: iby_debug_pub.add('err code=' || utl_http.get_detailed_sqlcode,
613: iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);
614: iby_debug_pub.add('err msg=' || SUBSTR(utl_http.get_detailed_sqlerrm,1,150),
615: iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);
616:
617: IF (l_got_resp) THEN
618: UTL_HTTP.end_response(l_httpresp);

Line 615: iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);

611: WHEN OTHERS THEN
612: iby_debug_pub.add('err code=' || utl_http.get_detailed_sqlcode,
613: iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);
614: iby_debug_pub.add('err msg=' || SUBSTR(utl_http.get_detailed_sqlerrm,1,150),
615: iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);
616:
617: IF (l_got_resp) THEN
618: UTL_HTTP.end_response(l_httpresp);
619: iby_debug_pub.add('close resp',iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);

Line 619: iby_debug_pub.add('close resp',iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);

615: iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);
616:
617: IF (l_got_resp) THEN
618: UTL_HTTP.end_response(l_httpresp);
619: iby_debug_pub.add('close resp',iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);
620: iby_debug_pub.add('resp status code:=' || l_httpresp.status_code,
621: iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);
622: ELSIF (l_sent_req) THEN
623: UTL_HTTP.end_request(l_httpreq);

Line 620: iby_debug_pub.add('resp status code:=' || l_httpresp.status_code,

616:
617: IF (l_got_resp) THEN
618: UTL_HTTP.end_response(l_httpresp);
619: iby_debug_pub.add('close resp',iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);
620: iby_debug_pub.add('resp status code:=' || l_httpresp.status_code,
621: iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);
622: ELSIF (l_sent_req) THEN
623: UTL_HTTP.end_request(l_httpreq);
624: iby_debug_pub.add('close req',iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);

Line 621: iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);

617: IF (l_got_resp) THEN
618: UTL_HTTP.end_response(l_httpresp);
619: iby_debug_pub.add('close resp',iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);
620: iby_debug_pub.add('resp status code:=' || l_httpresp.status_code,
621: iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);
622: ELSIF (l_sent_req) THEN
623: UTL_HTTP.end_request(l_httpreq);
624: iby_debug_pub.add('close req',iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);
625: END IF;

Line 624: iby_debug_pub.add('close req',iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);

620: iby_debug_pub.add('resp status code:=' || l_httpresp.status_code,
621: iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);
622: ELSIF (l_sent_req) THEN
623: UTL_HTTP.end_request(l_httpreq);
624: iby_debug_pub.add('close req',iby_debug_pub.G_LEVEL_ERROR,l_dbg_mod);
625: END IF;
626: RAISE;
627: END;
628: