Utl_http package from our custom pl/sql package.

We have a requirement to invoke a thrid party Url that uses HTTPS. For this we are using the call to utl_http package from our custom pl/sql package. When we invoke the custom package form Oracle Forms it works fine. But when we try to invoke the same from ApplicationModule Class in our custom OA Framework form we get the following error.
ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line 1577
ORA-28862: SSL connection failed

Duplicate post.
ApplicationModule class in a custom OA Framework
ApplicationModule class in a custom OA Framework

Similar Messages

  • How to get changes of a custom PL/SQL package updated in ISG?

    Hi All,
    I need some help on how to change a custom PL/SQL package in ISG integration repository:
    I already uploaded my custom PL/SQL package to the integration repositoy some time ago. Now I have made some changes to PL/SQL record/table types defined in the package (added some fields and removed some others). These changed record/table types are used by a procedure I already uploaded to the integration repository. When regenerating the WSDL for my PL/SQL package in integration repository I get an error that the wrapper for respective procedure can't be found. When checking up the SQL types that were automatically generated (by JPublisher) for corresponding PL/SQL types, these generated SQL types are invalid...
    So it seems that in one case JPublisher generated an empty SQL type (with no attributes). In another case JPublisher generated the SQL type with old attribute list, so it didn't adopt the changes of corresponding PL/SQL type in the package...
    Can anybody tell me how to get the changes of a cusotm PL/SQL package updated in ISG? Or is there any possibility to first remove a whole PL/SQL package from the ISG integration repository (and getting rid of all old automatically generated SQL types), so that I can newly upload my PL/SQL package afterwards?
    Thanks
    Konrad
    Edited by: Konrad on 24.10.2011 10:51

    Thanks Daniel, for your reply...
    (-> for info: I'm a colleague of Konrad...)
    Yes, we used a higher version number - and the upload of iLDT file works fine...
    But, the problem occured when generating the WSDL...
    However, I think we have found an approach of how to get the changes of a custom PL/SQL package updated correctly in ISG:
    1. Save a copy of PL/SQL package and then delete it in the database
    2. Regenerate the WSDL for PL/SQL package in ISG (seems that all atutomatically generated JPub wrappers and SQL types are also deleted)
    3. Restart all processes
    4. Create the changed version of PL/SQL package in the database again
    5. upload of iLDT
    6. Regenerate the WSDL for PL/SQL package in ISG
    Best Regards
    Carolin

  • Calling custom pl/sql package on termination of Employee

    Hi,
    I want to call a custom pl/sql package that will create an element entry for employees, with their outstanding holiday entitlement upon termination.
    One way I have tried to do this is by personalizing the end employment form, but I get this error - ORA-00923: FROM keyword not found where expected
    from this code:
    <h5> ='declare
    l_element_entry_id NUMBER;
    l_object_version_number NUMBER;
    l_create_warning BOOLEAN;
    begin
    pay_element_entry_api.create_element_entry(p_validate => FALSE
    ,p_effective_date => (${item.period_of_service.actual_termination_date.value})
    ,p_business_group_id => 106
    ,p_assignment_id => (select assignment_id from per_all_assignments_f where person_id = ${item.period_of_service.person_id}
    and primary_flag = 'Y')
    ,p_element_link_id => 3499
    ,p_entry_type => 'E'
    ,p_input_value_id1 => 7318
    ,p_entry_value1 => (XX_PERSNS_UTILS.GetLeaveAccrual(${item.period_of_service.person_id}))
    --,p_cost_allocation_keyflex_id => ee_asg_api_rec.cost_allocation_keyflex_id
    ,p_effective_start_date => ((${item.period_of_service.actual_termination_date.value})-1)
    ,p_effective_end_date => ${item.period_of_service.actual_termination_date.value}
    ,p_element_entry_id => l_element_entry_id
    ,p_object_version_number => l_object_version_number
    ,p_create_warning => l_create_warning
    end'
    </h5>
    I also thought another way to accomplish this would be using business events but under Workflow Administrator I can see the Business Events and subscriptions but I can only search for existing set-up, I can't create my own.
    Does anyone have any ideas why this personalisation isn't working or has any other ideas of how to go about this?
    Thanks

    This is a tough solution to implement. The drawbacks of Forms Personalization, if you get it working, are that it won't be called from other areas (People Management templates, Self Service Termination etc). The drawbacks of API User Hooks are that they're not used in all places either. Finally, as mentioned, reverse termination means that you need to then backout such holiday payout entries.
    The most reliable way to do this is with an batch process, eg, concurrent program, that runs, say, daily:
    1) Find all employees physically terminated yesterday (regardless of their actual termination date)
    2) Calculate and create the holiday payout entry (if it's not already there)
    3) Find all employees who were updated yesterday and HAVE the holiday payout entry (this is the way to detect those who have been reverse terminated)
    4) Date-track purge the holiday payout entry.
    5) Consider API User Hooks to pick up late changes to absence records or anything that might affect any holiday already paid out so that you can update the holiday payout entry
    6) Configure retro to handle holiday payout for retrospective terminations, deductions for those who were paid holiday payout and later reverse terminated, and subsequent changes to the amount paid out (eg, because of late changes to absence records)

  • Movement type: moving the returnable package from one customer to another

    Hello,
    I would like to know if there exists any predefined movement type (in transaction MIGO) which would allow to move the stock of the returnable package (material type LEIH, pallets etc.) from one customer to another IN ONE STEP (now we do it in 2 steps: first we return the stock from the customer to the our location and then move it to another customer). When we sell material to the customer, the stock type for the returnable package has the mark for special stock type (''V'').
    I tryed types 301V and 309V, but the customer had to be the same. It only allows to move the pallets between different plants for the same customer.
    Best regards,
    Mojca Kukman

    Hi
    There is no such movement type. Customers always look for one-step transactions and the only way to achieve this is through ABAP!
    Normally I do this:
    Create a Z-txn for customer input and on saving create 2 material documents (as in 2-step process).
    Best regards
    Ramki

  • Getting error code 1 when calling SSIS package from a stored procedure (SQL Server 2008 R2)

    Hello,
    I am trying to execute a SSIS package from SQL Server 2008 R2 stored procedure but getting error code 1 (as per my knowledge, error code description is as below:
    0 The package executed successfully.
    1 The package failed.
    3 The package was canceled by the user.
    4 The utility was unable to locate the requested package. The package could not be found.
    5 The utility was unable to load the requested package. The package could not be loaded.
    6 The utility encountered an internal error of syntactic or semantic errors in the command line.
    Details:
    I have a stored procedure named "Execute_SSIS_Package" (see below sp) which executes 'Import_EMS_Response' SSIS package (when I execute this package directly from SQL Server BID it works fine it means package itself is correct) and calling
    it from SQL as:- EXEC Execute_SSIS_Package 'Import_EMS_Response'.
    Here I receives error code 1.
    Can anyone help me to resolve this issue please?
    Thanks in advance!
    CREATE PROCEDURE [dbo].[Execute_SSIS_Package]
     @strPackage nvarchar(100)
    AS
    BEGIN
     -- SET NOCOUNT ON added to prevent extra result sets from
     -- interfering with SELECT statements.
     SET NOCOUNT ON;
     DECLARE @cmd VARCHAR(8000)
     DECLARE @Result int
     DECLARE @Environment VARCHAR(100)
        SELECT @Environment = Waarde
     FROM  Sys_Settings
     WHERE Optie = 'Omgeving'
     --print @Environment
     SET @strPackage = '"\W2250_NGSQLSERVER\BVT\' + @Environment + '\' + @strPackage + '"'
     SET @cmd = 'dtexec /SQL ' + @strPackage +  ' /SERVER "w2250\NGSQLSERVER"  /Decrypt "BVT_SSIS" /CHECKPOINTING OFF /REPORTING E'
     --print @cmd
     EXECUTE @Result = master..xp_cmdshell @cmd, NO_OUTPUT
     --print @Result
    END

    It has something to do with the security.
    E.g. cmdshell is not enabled or the caller has not rights over the package.
    There could be a syntax error, too.
    I suggest you make the package runnable off a SQL Agent job then trigger the job from the stored proc with
    sp_start_job <job name>
    Arthur
    MyBlog
    Twitter

  • How to retrieve DB package from JDev custom context menu

    Hi everyboby,
    I have a question, sorry in advance if it sounds dumb .
    In my JDev project I declaratively added a context menu to a database package (<folder type="PACKAGE">...) . It's to say when log in to a DB and you click on a package you can see the defined custom menu.
    Here is the structure of my custom menu added in the package context menu:
    -MyMenu
         -MySubMenu
    Programmaticaly, I managed to open a JFrame by affecting MySubMenu a java class file (<item className="OpenJFrame"><title>MySubMenu</title></item> for instance) which is in charge of creating the JFrame. Now if I click on MySubMenu a window opens.
    This window simply contains a button "commit package - svn".
    There comes my struggle. The opened window would let me press the button and commit the content of the package but I can't find how to retrieve the name or even the content of the previously clicked package.
    I tried to add a listener to the button and searched for the parent but I miserably failed to access the package.
    Do you have any idea on how I can perform this?
    Thank you.

    Hi',
    I think you are trying to do this "select empName from emp where empID=$empid" and the $empid should dynamically come.
    check this http://kr.forums.oracle.com/forums/thread.jspa?threadID=674513
    -Yatan

  • Upgrade DTSX packages from VS 2010 with SQL Server 2008 to VS 2013 and SQL Server 2014

    Hello everyone,
    I’m very new to SSIS world. I’ve been assigned a task to upgrade the existing packages running in VS 2010 with SQL Server 2008 to VS 2013 and SQL Server 2014. And then submit the migration report to my client.
    On very quick search at Google, I've found the following link. It seems like I just need to open the existing SSIS project in VS 2013 and follow the wizard.
    https://msdn.microsoft.com/en-us/library/cc280547.aspx
    Can anybody please advise, are there any other things need to be taken care while doing this up gradation process?
    Please share your experience.
    Any help would be much appreciated.
    Thanks, <b>Ankit Shah</b> <hr> Inkey Solutions, India. <hr> Microsoft Certified Business Management Solutions Professionals <hr> http://ankit.inkeysolutions.com

    Hello Arthur,
    Thank you for the response.
    I just got an access of the packages. They are of VS 2008 and not 2010.
    Do you know how to upgrade VS 2008 packaged to VS 2013?
    When I tried to open the solution file in VS 2013, it says "incompatible".
    Any help would be much appreciated.
    Thanks,
    Ankit
    Thanks, <b>Ankit Shah</b> <hr> Inkey Solutions, India. <hr> Microsoft Certified Business Management Solutions Professionals <hr> http://ankit.inkeysolutions.com

  • Custom DTS package migration from BPC 4.2 ,SQL 2000 to BPC 7.0 M , SQL 2005

    Is there any changes required in the custom dts package when migration from BPC 4.2 , sql 2000 Environment to bpc 7.0 , SQL 2005/2008  Environment.
    or
    Please suggest process for migrating  custom dts package from BPC 4.2 ,SQL 2000 Envirnment to BPC 7.0 ,SQL 2005/2008 Environment

    When you say "custom dts package" that can mean many different things. What type of customization has been done?
    There are a few BPC-related features which changed from 4.2, which must be manually adjusted, if you're using those features.
    But SQL itself also changed dramatically in moving from SQL 2000 to 2005. So if your customer's packages are heavily customized around SQL 2000, this may require substantial re-work.
    The only migration process for custom DTS packages -- that I'm aware of -- is to use the SQL 2005 migration tool in SSIS, see how much it messed up, and then fix everything else that's still broken.
    But there also may be opportunities to improve the package overall. SQL 2005 has a lot of great new features in SSIS, over what was there in SQL 2000.
    I haven't started working with SQL 2008 yet, so I can't say what complexity there is in upgrading DTS packages from 2005 to 2008. From what I read in the BPC 7 release notes, it sounds like it's a very minor upgrade, compared to the jump from 2000 to 2005.

  • Error when execute a package from SQL Server Agent

    We have the next problem:
    When we execute a package from a Job of SQL Server agent, it shows the success messege, but reviewing the results, the package didnt do all the tasks.
    When we run it mannually by MSIS the package, it shows the success message and it works fine.
    The workflow of the package is :
    1) Shrink the databases (executing a sql file)
    2) Backup the databases (Back up Database task of MSIS)
    3) Rename the files to .BAK extension (by the Foreach loop container and fyle system task)
    4) Execute command to compress the it (by a .bat)
    5) Move the compress file to another location  (by another Foreach loop)
    Manually run correct, but when is a a SQL AGent Job that execute the package it does only the first 2 steps.
    we are ussing Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64) Jun 17 2011 00:54:03 Copyright (coffee) Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) 
    We are using a user with administrator privilegies
    Cheers 

    Can you check if account running package has proper access. You may need to define a proxy account for that.
    See
    http://www.databasejournal.com/features/mssql/article.php/3789881/Proxy-Accounts-in-SQL-Server.htm
    http://gqbi.wordpress.com/2014/01/30/setting-up-a-proxy-account-to-run-sql-server-integration-services-ssis-2012-packages/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Invoke oracle report 10g from database pl/sql package

    Hi
    Is there a way that i can invoke an oracle report 10g from the database pl/sql package? I am working on a requirement that needs to generate a report when one of the criteria is not met.
    Please suggest me on this.

    Thanks for the info.
    I have a scenario where i need to fetch members details like name , email address and so on from the mainframes on the oracle database. Then on the oracle database i need to check if they have a email address or not. If yes then i need to generate a notice and mail it to them. If they don't have an email address, i'll have to print that out in a some centralized location.
    By the way, the notice was developed using oracle reports 10g.
    Now i am developing a pl/sql package which will do the address validation but i didn't know how to call a oracle report to generate the notice in pl/sql procedure.
    As suggested i will try with dbms scheduler and see if that works for me.

  • Error with Data package execution from BPF or running package from custom b

    custom button.
    1.     When run package from BPF or custom button an error apear (for all users): "Subscript out of range".
    Package dynamic script
    PROMPT(SELECTINPUT,,,,"BUDGETHOLDER,CONTRACTOR,ENTITY,RPTCURRENCY,SCENARIO,VERSION")
    TASK(ZMF_BPC_LOGIC_RUN,EQU,%EQU%)
    TASK(ZMF_BPC_LOGIC_RUN,SUSER,%USER%)
    TASK(ZMF_BPC_LOGIC_RUN,SAPPSET,%APPSET%)
    TASK(ZMF_BPC_LOGIC_RUN,SELECTION,%SELECTION%)
    TASK(ZMF_BPC_LOGIC_RUN,SAPP,%APP%)
    TASK(ZMF_BPC_LOGIC_RUN,LOGICFILENAME,PAY_DEPT.LGF)
    2.     After click OK such selection screen appear.
    3.     When run package from eData menu u2013 Run package everything OK. And after running package from BPF or custom button everything become OK. (Only for user who run package from EData menu)
    4.     When Close BPC Excel and launch new BPC Excel error appear again.
    The partners have posted a Message 247960 / 2010
                                                                         created 23.03.2010 - 14:15:03 CET
    Could you please comment on the issue?

    Hi Usman,
    The solution is :
    1. Edit the files updateConfigProperties.properties and
    prependConfigProperties.properties in the installation directory:
    Replace the hostname with the value present during the initial installation.
    Note that the installation directory is the directory where SAPinst creates its log files.
    The original hostname should be reflected in the names of the profiles created by the installation
    (/usr/sap/<SID>/SYS/profile/<SID>_<Instance>_<hostname>).
    If the log files of the initial installation are still available the original hostname can also be found in the file jengine.properties in the value of the property box.number. This file is located in the installation directory the initial installation
    2. Restart the installation.
    This has to work,it worked for me.
    P.S: Give points,ok.
    Rgs
    vikas

  • SQL Package not getting created

    Hi,
    We are in process of migrating out application from wl5.1/solaris/jdk1.2.2 to wl6.1/solaris/jdk1.3.
    We are using SQL package due to performance reasons. The package definition was done
    in the weblogic.properties file for 5.1 and we tried to do the same in 6.1 config.xml
    file. We use AS400 as our DB. SQL packages are not created if I use wl6.1. Below
    is the definition we used in xml file
    WL5.1
    weblogic.jdbc.connectionPool.eracDS=\
    url=jdbc:as400:RARMS,\
    driver=com.ibm.as400.access.AS400JDBCDriver,\
    initialCapacity=30,\
    maxCapacity=50,\
    capacityIncrement=5,\
    allowShrinking=true,\
    shrinkPeriodMins=15,\
    testTable=A4TEST,\
    props=libraries=A4LIB;user=INTERNETDB;password=DBFIRST;lob threshold=1048578;extended
    dynamic=true;package=WEBL51;package library=A4LIB
    weblogic.allow.reserve.weblogic.jdbc.connectionPool.eracDS=everyone
    weblogic.jdbc.TXDataSource.eracDS=eracDS
    WL6.1
    <JDBCConnectionPool CapacityIncrement="5"
    DriverName="com.ibm.as400.access.AS400JDBCDriver"
    InitialCapacity="5" MaxCapacity="30" Name="eracDS"
    PreparedStatementCacheSize="0"
    Properties="libraries=ELARMS8;lobthreshold=1048578;user=INTERNETDB;password=DBFIRST;package
    library=ELARMS8;extended package=WEBL61" ShrinkingEnabled="false" Targets="server1dev"
    URL="jdbc:as400:DEV"/>
    <JDBCTxDataSource JNDIName="eracDS" Name="eracDS" PoolName="eracDS" Targets="server1dev"/>
    Please let me know if I am missing anything.
    Thanks
    Krish.

    Krish wrote:
    Hi,
    We are in process of migrating out application from wl5.1/solaris/jdk1.2.2 to wl6.1/solaris/jdk1.3.
    We are using SQL package due to performance reasons. The package definition was done
    in the weblogic.properties file for 5.1 and we tried to do the same in 6.1 config.xml
    file. We use AS400 as our DB. SQL packages are not created if I use wl6.1. Below
    is the definition we used in xml file
    WL5.1
    weblogic.jdbc.connectionPool.eracDS=\
    url=jdbc:as400:RARMS,\
    driver=com.ibm.as400.access.AS400JDBCDriver,\
    initialCapacity=30,\
    maxCapacity=50,\
    capacityIncrement=5,\
    allowShrinking=true,\
    shrinkPeriodMins=15,\
    testTable=A4TEST,\
    props=libraries=A4LIB;user=INTERNETDB;password=DBFIRST;lob threshold=1048578;extended
    dynamic=true;package=WEBL51;package library=A4LIB
    weblogic.allow.reserve.weblogic.jdbc.connectionPool.eracDS=everyone
    weblogic.jdbc.TXDataSource.eracDS=eracDS
    WL6.1
    <JDBCConnectionPool CapacityIncrement="5"
    DriverName="com.ibm.as400.access.AS400JDBCDriver"
    InitialCapacity="5" MaxCapacity="30" Name="eracDS"
    PreparedStatementCacheSize="0"
    Properties="libraries=ELARMS8;lobthreshold=1048578;user=INTERNETDB;password=DBFIRST;package
    library=ELARMS8;extended package=WEBL61" ShrinkingEnabled="false" Targets="server1dev"
    URL="jdbc:as400:DEV"/>
    <JDBCTxDataSource JNDIName="eracDS" Name="eracDS" PoolName="eracDS" Targets="server1dev"/>
    Please let me know if I am missing anything.
    Thanks
    Krish.Well, the URL is different, and the properties aren't the same (missing some blanks in 'lob threshold'
    etc.
    and there's no test table...
    Joe

  • Creating PL/SQL package in SQL Developer 4.0.0.12

    Hi,
    I have built a model in SQL Developer 4.0.0.12 and I want to create it's PL/SQL package.
    In ODMiner 11.1.0.4 from "Tools" > "Create pl/sql package" I can get a script for creating package and every thing is OK.
    but in SQL Developer I select "Deploy" from every node's context menu and it generates a folder containing some scripts related to every node. I don't see any relevant script for creating any package.
    How can I create relevant PL/SQL package from my workflow?
    Thank you for any help you can provide in this situation.

    Please refer to this White paper for how to generate PL/SQL package for workflow deployment:
    Oracle Data Miner (Extension of SQL Developer 4.0)
    Generate a PL/SQL script for workflow deployment
    http://www.oracle.com/technetwork/database/options/advanced-analytics/odmrcodegenwhitepaper-2042206.pdf

  • Task Quantity in Custom Reports Data Package

    Task Quantity in Custom Reports Data Package
    Using the Custom Reports Data Package how can you report on task quantity?  Neither the ServiceTaskFact nor the RequisitionTaskFact tables have quantity as a query item. 

    Hi David,
    Thanks for your question. The good news here is that this is a common use case and can be addressed using standard Cognos functionality. Here are some general instructions for you and others who might be reading this post with a similar need. These instructions are for Cognos Query Studio.
    Build your report and drag a column/fact that is unique to the record onto the work area – I used TaskID.
    Highlight the TaskID column.
    From the left side menu, click Edit Data

  • Unable to install packages from DVDROM

    Hi All,
    Dont seem to be able to add any packages from our Solaris 10 DVD .
    I've tried the following:
    cd /cdrom/sol_10_305_x86/s2/Solaris_10/Product/
    pkgadd -d . SUNWsmcmd
    It comes back with
    pkgadd: ERROR: no package associated with <SUNWsmcmd/>
    Its the same for other packages also. I've also tried spooling it to /var/spool/pkg but that fails aswell.
    Also, i can't use SMC as its not working correctly at the moment.
    Any help appreciated!
    Thanks
    Michael

    Found the problem with help from user alan_pae
    .This worked....
    pkgadd -d /cdrom/sol_10_305_x86/s2/Solaris_10/Product/ SUNWsmcmd
    Thanks
    Michael

Maybe you are looking for

  • HTML View using an iView dynamically

    Hello Visual Composer experts, I want to use a SAP Enterprise Portal iView in a VC Model. For that I use VC HTML View. In the URL I put SAP EP IView reference, for instance : http://<xxx>:50000/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fco

  • Made some changes to my pending order by phone

    I called and made some changes to a pending order I had made online but the changes do not reflect on my verizon account. The pending order on my account still shows the original order. Should I wait a little longer for the changes to be reflected, a

  • When inserting .lbi, whole page turns white.

    Good evening everyone, I hope I am putting this question in the correct place, if not, my apologies, please just let me know where I should go. Here's my problem: I have created a library (.lbi) file for my navigation menu that way I only need to upd

  • Rdf file with obiee works???

    hi, Does rdf file of ebs suite works with obiee 10g? If it works, can anyone explain it?

  • No right rear audio

    Here's the story.  I got my first FSR board last week and had the computer together ASAP.  I installed XP Pro and loaded the drivers from the MSI CD right after I updated to 1.8 bios.  Everything was going very well until I tested out the 5.1 system