Notification Procedure error

Hi,
Oracle 8.1.7.3 Enterprise Edition.
/* Create Message Object */
CREATE type aq.Message_typ as object (
Subject VARCHAR2(30),
Text VARCHAR2(80));
/* Create Q Table. */
EXECUTE dbms_aqadm.create_queue_table (
Queue_table => 'aq.Test16_09_tab',
Multiple_consumers => TRUE,
Queue_payload_type => 'aq.Message_typ');
/* Create queue: */
EXECUTE dbms_aqadm.create_queue (
Queue_name => 'aq.Test16_09_q',
Queue_table => 'aq.Test16_09_tab');
/* Start a queue */
EXECUTE dbms_aqadm.start_queue (
queue_name => 'aq.Test16_09_q');
/* Create notification Procedure */
CREATE OR REPLACE PROCEDURE PR_NOTIFICATION (CONTEXT RAW, REGINFO SYS.AQ$_REG_INFO, DESCR SYS.AQ$_DESCRIPTOR,
                              PAYLOAD RAW, PAYLOAD1 NUMBER)
AS
DEQUEUE_OPTIONS DBMS_AQ.DEQUEUE_OPTIONS_T;
MESSAGE_PROP DBMS_AQ.MESSAGE_PROPERTIES_T;
MESSAGE_HDL RAW(16);
BEGIN
/* code */
NULL;
END;
When I attempt to compile the callback procedure an error is thrown asking to declare SYS.AQ$_REG_INFO. It simply doesn't exist when I look at DBA_OBJECTS in the SYS schema.
Any ideas as to what's happened would be greatly appreciated.
Thanks

This is what it says on my system:
SQL> show user
USER is "SYS"
SQL> desc AQ$_REG_INFO
Name Null? Type
NAME VARCHAR2(128)
NAMESPACE NUMBER
CALLBACK VARCHAR2(4000)
CONTEXT RAW(2000)
SQL> select object_name, object_type from all_objects where object_name = 'AQ$_REG_INFO' ;
OBJECT_NAME OBJECT_TYPE
AQ$_REG_INFO TYPE
1 row selected.
I think you are missing the GRANT on this TYPE to the user under which you are compiling the callback
procedure.

Similar Messages

  • I Don't know how to use SBO Transaction Notification  procedure

    Hi all
    I don't know how to use SBO Transaction Notification  procedure
    can any body give me description why we use,where we use,how we use some example
    Awaiting soon reply
    Rajkumar G.

    example is for testing, if on delivery is filled ref no of vendor or not
    if @object_type = '20'  and (@transaction_type= 'A' or @transaction_type= 'U')
    begin
         if 1 = (select count(docentry) from opdn with(nolock) where docentry =@list_of_cols_val_tab_del and (numatcard is null or len(numatcard) = 0) )
         begin
              select @error =1
              select @error_message = 'vendor ref no isnt filled'
         end
    end
    next example is for creating BP as vendor and testing, if dont begin for specific sign
    if @object_type = '2' and @transaction_type= 'A'
    begin
    if left(@list_of_cols_val_tab_del, 1) = N'x' or left(@list_of_cols_val_tab_del, 1) = N'X'
         begin
              if 1 = (select count(cardcode) from ocrd where cardcode = @list_of_cols_val_tab_del and cardtype in ('S', N'S') )
                   begin
         select @error =1
              select @error_message = 'Vendor code cannot begin to X sign.'
    end
         end
    end
    is it clear?

  • Database procedure error

    Hi everyone,
    I have form which has two database procedures in key commit trigger. If any error occurs while executing the second database procedure
    I dont want to save the form and first database procedure values. Can anyone please tell me how to pass the database procedure error to
    form so that it can stop the saving of form and first database procedure .
    Thanks in advance for any reply.

    Dear all,
    Thanks for your kind reply.
    I have tried using DBMS_ERROR_CODE in ON-ERROR trigger. My code appears like this.
    create or replace procedure_name(parmeters) as --- This is a database procedure;
    begin
    procedure_body;
    exception
    when others then
    Raise_application_error(-20025,'Error Message');
    end;
    In form in ON_ERROR trigger I have declared like this:
    IF DBMS_ERROR_CODE = -20025 THEN      
    MESG('Error in Insertion');
    Raise form_trigger_failure;
    END IF;
    I am not getting error message that I declared in ON_ERROR trigger instead I am getting error message from raise_application_error statement.
    Could anyone please guide me exactly how to catch the database procedure in form level so that I can stop exceution of the form.

  • NotifyCB notification procedure not being called.

    Hi.
    I'm running on an 11g (11.2.0.2.0) database and trying to get my notification procedure called in advanced queues.
    I followed the example by asktom here:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:8760267539329
    I completed the same steps except for the creation of the table he inserts his de-queued message into (instead I redirected the insert to another pre-existing table).
    Everything works fine upto a point. The message is placed into the queue ( and I can query on it to confirm it's there)
    However the dequeue routine ins't being called.
    I've included logging code into it and confirmed it's not being called.
    Is there an extra step that needs to be performed to enable the de-queue routine to be called ?
    Regards,
    Greg.

    Hi Paul.
    Thanks for staying with me on this.
    Currently, my job_queue_processes is set as:
    select value from v$parameter where name='job_queue_processes';
    14The sql queries you have are slightly different from the doc id, so hadn't run them before.
    The first returned no result, so I checked entries in dba_scheduler_jobs and found no lower(job_actions) records that were like '%register_driver%'.
    Should an entry be there at least? If so, is that part of a normal install of the database where AQ is concerned ?
    As for the second query, no results either.
    With that in mind, I checked entries in sys.aq_srvntfn_table_1 to look for the msgid of the message that was enqueued.
    I can confirm my message is listed in my app_queue_tablename (which in my code is AQ_MESSAGE_QTAB) however,
    it's not listed at all iin sys.aq_srvntfn_table_1 (I checked by outputing the msgid parameter of the dbms_aq.enqueue call and looked for that)
    Would the %register_driver% dba_scheduler_jobs entry have created that record in sys.aq_srvntfn_table_1 if it was there and running?
    Regards,
    Greg.
    EDIT: I can't see any trace files being generated nor any items in the alert log when a message is enqueued.
    As for the emon process, sorry I'm not sure what that is. I see it mentioned on the metalink site but wasn't sure what it was.
    EDIT2: I'll be away for the next 2 weeks so thank you for your help albeit I wont be able to respond until then.
    Edited by: Greg Block on 27/06/2012 14:55

  • Notification result error: 3138 #NORESULT

    Hi all!
    I get this error, when I choose a result for a notification at the admin site and try to submit it:
    3138: Action cannot be performed on this notification: #NORESULT
    The notification activity has a result type with five result codes driven into different activities.
    The message has the same result type as the notification activity.
    I also tried calling this:
    Wf_Notification.SetAttrText(nid => 82,
    aname => 'RESULT',
    avalue => 'TEST5');
    Wf_Notification.Respond(nid => 82,
    respond_comment => 'bla',
    responder => 'OWF_MGR');
    It gave the same error at Respond.
    What does this error mean? How can I solve this problem?
    Thanks in advance.

    try increasing it to 250 and try again.
    Item type has a max length of 8 and item key has a max > length of 240.Shame on me. :) I corrected, but the error message remains.
    Error: 3138: Action cannot be performed on this notification: #NORESULT
    Error Stack:
    Wf_Engine_Util.Execute_Notification_Callback(RESPOND, TEST, ABC0124_03, 14361, 120:OWF_MGR)
    Wf_Engine.CB(RESPOND, TEST:ABC0124_03:14361, :OWF_MGR:120::)
    Wf_Notification.Respond(120, OWF_MGR)
    Wfa_Html.SubmitResponse(120)

  • AppleScript "Syntax Error" notification without errors

    Hello everyone and sorry for my bad english. I'm using OS X 10.6.2. I want to learn AppleScript, but every time when I try to run code I get notification "Syntax Error", but there isn't any error:
    display dialog "Hello, world!"
    Same thing with every code. What can be a problem?

    Your script runs fine for me on 10.9, however you don't seem to be targeting any application, it's not an issue, but you can find some weirdness when you run the script in the editor vs as an Application, script or service etc.
    tell application "Finder"
      display dialog "Hello, world!"
    end tell
    Try the above, see if that works - Finder should 'come to the front', you can 'compile' the script in the editor which should help confirm the syntax is correct. Are you using AppleScript Editor?
    It's worth checking you are using the correct quote types (straight lines vs curly ones), especially when pasting from the web…
    Bad
    Good
    There are a few tutorials around, see if they can help…
    http://www.instructables.com/id/Simple-Applescript-Tutorial/
    Macscripter seems to be helpful too
    http://macscripter.net
    P.S. 10.6.2 is a very old version, 10.6.8 is the later version (more stable) use software update to get that installed, it may fix some weird bugs that cause issues like this, run Software update several times until it stops giving you more fixes.

  • Where can i find plsql callback procedure error

    I am using Oracle 11.2.0.3.
    I have registered a callback procedure to my queue (point to point persistent message queue). Is the error from callback procedure stored somewhere?
    I did see some entries to  SYS.AQ_SRVNTFN_TABLE_1 , which is exception table for notification queue but it did not had ORA error of why my callback procedure failed?
    DECLARE    reginfo    SYS.AQ$_REG_INFO;    reg_list  SYS.AQ$_REG_INFO_LIST;
    BEGIN    reginfo :=      sys.AQ$_REG_INFO ('NOTIFY_Q',                        DBMS_AQ.NAMESPACE_AQ,                        'plsql://sp_callback,                        HEXTORAW ('FF'));  
    reg_list := sys.AQ$_REG_INFO_LIST (reginfo);  
    DBMS_AQ.REGISTER (reg_list => reg_list, reg_count => 1);  
    COMMIT
    ; EXCEPTION 
      WHEN OTHERS    THEN    
    DBMS_OUTPUT.put_line (DBMS_UTILITY.FORMAT_ERROR_STACK);
    END;
    Thanks.

    I want to know what error is thrown by call back procedure. Right now, only option i have is to log  exception into a table. I wanted to know if oracle already logs the exception from callback procedure somewhere or if i can configure my callback to do so.

  • Interactive Form with Guided Procedure Error

    Hi,
    I have a guided procedure with a callable object defined to send an email with an attached interactive form. When I execute the guided procedure I keep getting the following error. I have setup the smtp setting under caf/eu/gp/model according to the Configuring GP for Interactive Forms guide.
    The mail communication for client application id:0768334F5EF53307986C90435843D119 is not registered. Please contact Bounced Mails administrator:<>
    Also note if I have a guided procedure just to send a email notification without an adobe interactive form it works fine.
    We are using adobe 8.0 and netweaver 7.0 sp12.
    Any help would be appricated.
    #1.5 #760960013002006A00000046000BE05C00044AFDAF9A1C6D#1208353340136#com.sap.caf.eu.gp.model.fnd.mail.MCFMailSenderImpl#sap.com/tcwddispwda#com.sap.caf.eu.gp.model.fnd.mail.MCFMailSenderImpl#samuelpo#74##quail_JSD_72617150##664e0c400bb511dd826f760960013002#SAPEngine_Application_Thread[impl:3]_2##0#0#Error#1#/System/Server#Plain###The mail communication for client application id:0768334F5EF53307986C90435843D119 is not registered. Please contact Bounced Mails administrator:<>
    com.sap.caf.eu.gp.mail.cf.client.registration.ClientNotRegisteredException: The mail communication for client application id:0768334F5EF53307986C90435843D119 is not registered. Please contact Bounced Mails administrator:<>
         at com.sap.caf.eu.gp.mail.cf.core.exceptionhandling.MailCFExceptionHandler.throwClientNotRegisteredException(MailCFExceptionHandler.java:327)
         at com.sap.caf.eu.gp.mail.cf.core.registration.impl.MailCommunicationTimerTasksRegistry.checkRegistration(MailCommunicationTimerTasksRegistry.java:303)
         at com.sap.caf.eu.gp.mail.cf.core.service.impl.MailCFService$4.send(MailCFService.java:201)
         at com.sap.caf.eu.gp.model.fnd.mail.MCFMailSenderImpl.sendMail(MCFMailSenderImpl.java:153)
         at com.sap.caf.eu.gp.model.iforms.preproc.FormPreprocessor.execute(FormPreprocessor.java:652)
         at com.sap.caf.eu.gp.model.co.background.impl.BackgroundCOExecutorImpl$CallableObjectExecutor.run(BackgroundCOExecutorImpl.java:126)
         at com.sap.caf.eu.gp.model.co.background.impl.BackgroundCOExecutorImpl.execute(BackgroundCOExecutorImpl.java:368)
         at com.sap.caf.eu.gp.ui.dt.comp.cotest.VTest.executeBackgroundCO(VTest.java:711)
         at com.sap.caf.eu.gp.ui.dt.comp.cotest.VTest.onActionExecute(VTest.java:373)
         at com.sap.caf.eu.gp.ui.dt.comp.cotest.wdp.InternalVTest.wdInvokeEventHandler(InternalVTest.java:259)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: java.lang.Exception
         ... 39 more

    Hi,
    I also have a similar issue where i have to validate whether the user submitting the offline form is an user who has authorisation ( a table storing user credentails) .
    Were you able to solve this issue of security in offline form.
    Appreciate if you can throw some light.
    Regards
    Jayesh

  • Notification Priority Error

    Hello Team
    While creating quality Notification QM01 (Any type) I enter the priority type (1-Very High,2-High, 3-Medium,4-Low) . I expect system to recalculate the dates based on priority instead system gives me following error
    "Unit missing in the check table
    Message no. IM455
    Diagnosis
    The unit entered is not contained in Table T006.
    Procedure
    Inform your system administrator."
    Is there a config I need to do to avoid this error.
    Appreciate your help.
    Thanks
    Gaurav

    Dear Gaurav,
    Priority type which you have defined please check that. I think while defining Define Priorities for Each Priority Type you not defined SD unit and saved directly or you taken that unit which have different settings.
    If you have selected Unit than go into T-Code: CUNI there you check your unit settings or simple create new charactersitics.
    Regards,
    Kaushal Rai

  • Calling the Java Method in PL/SQL Java Stored procedure errors out

    Hi,
    I could not find a suitable thread to post my PL/SQL question so iam posting it here.........
    I have written a java class by name XYZ which has a method ABC for which there are 9 arguements being passed and its a VOID method.
    This java class has been loaded into ORACLE using DBMS_JAVA.LOADJAVA pkg, Now this class is being called in the oracle as a JAVA Stored procedure...... When ever im trying to call the procedure it throws the following error
    ORA-29531: no method
    *Cause:    An attempt was made to execute a non-existent method in a
    Java class.
    *Action:   Adjust the call or create the specified method.
    The code snippet as follows
    JAVA CODE:
    Class xyz
    public static void Abc (String hostName,
    int port,
    String serviceURL,
    String soapAction,
    int timeOut,
    String wsUser,
    String wsPasWd,
    String keyStore,
    String keyStorePasWd)
    //method implementation
    JAVA STORED PROCEDURE:
    create OR REPLACE procedure ABC_JAVA_SP_CALL
    (p_hostname in varchar2, p_port in number, p_serviceurl in varchar2, p_soapaction in varchar2, p_timeout in number, p_wsuser in varchar2, p_wspasswd in varchar2, p_ks_path in varchar2, p_ks_passwd in varchar2)
    as
    language java
    name 'xyz.Abc(java.lang.String, int, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String, java.lang.String)';
    When i try to call
    declare
    p_hostname varchar2(100);
    p_port number;
    p_serviceurl varchar2(100);
    p_soapaction varchar2(100);
    p_timeout number;
    p_wsuser varchar2(100);
    p_wspasswd varchar2(100);
    p_ks_path varchar2(100);
    p_ks_passwd varchar2(100);
    begin
    //SP which returns the values for the required parameters.
    comppkg.getvcsinfo(
    p_hostname,
    p_port ,
    p_serviceurl,
    p_soapaction,
    p_timeout,
    p_wsuser,
    p_wspasswd,
    p_ks_path,
    p_ks_passwd
    Layer7_icengc_ws_tes(p_hostname,
    p_port ,
    p_serviceurl,
    p_soapaction,
    p_timeout,
    p_wsuser,
    p_wspasswd,
    p_ks_path,
    p_ks_passwd);
    end;
    This thing ends up with
    29531. 00000 - "no method %s in class %s"
    *Cause:    An attempt was made to execute a non-existent method in a
    Java class.
    *Action:   Adjust the call or create the specified method.
    Im not understanding what wrong am i doing
    pls help
    Edited by: madhusudan on Feb 12, 2013 8:07 PM

    Hello,
    there is the forum {forum:id=65} for questions about using Java within Oracle.
    Regards
    Marcus
    Edited by: Marwim on 13.02.2013 07:56
    I could not find a suitable thread to post my PL/SQL question so iam posting it here.........You got the hint to the correct forum alread in another thread {message:id=10837976}
    And if you think this is not related to Java but PL/SQL, then you should ask in {forum:id=75}

  • Execute procedure error (Native SQL)

    Hi experts,
    I create a procedure
      EXEC SQL.
        create or replace procedure update_zsmadiprinc
        is begin
                              ( p_codigo         in  number(5),
                                p_ano            in  varchar2(4),
                                p_doc_vlr_princ in  varchar2(10)
                                p_subrc       out number ) is begin
          update T_INTERF_RESSARC_FORNEC_R3
          set   ano_doc              = p_ano,
                NUM_DOC_VALOR_PRINC  = p_doc_vlr_princ,
          where cod_interf_ressarc_fornec_r3 = p_codigo;
          if sql%found then
            p_subrc := 0;
          else
            p_subrc := 4;
          end if;
        end;
      ENDEXEC.
    and execute it
      EXEC SQL.
        execute procedure update_zsmadiprinc
                         (in  :wa-cod_interf,
                          in  :wa-ano_doc,
                          in  :wa-num_doc_valor_princ,
                          out :vg_subrc)
      ENDEXEC.
    But when i execute the procedure, shows dump error:
    Database error text........: "ORA-06550: line 1, column 7:#PLS-00905: object
    UPDATE_ZSMADIPRINC is invalid#ORA-06550: line 1, column 7:#PL/SQL:   
    Statement ignored#"                                                        
    Triggering SQL statement...: "CLOSE "                                       
    Internal call code.........: "[DBDS/NEW DSQL]"                              
    Please check the entries in the system log (Transaction SM21).              
    I comment all source, and the error is the same.
    When i create the procedure, no erros are show.
    I changed the name of the procedure, the type of parameters, and now i comment all and the error always is the same!!!! Can you help me!!! I need to finish this urgently!
    Thanks in advance
    Message was edited by:
            RP

    It is not possible to create a procedure, then, i just execute sql direct.
    thanks

  • How to set up internet explorer notification script error on Imac

    Trying to set up script error notification on my Imac when using internet explorer pages - where / how do I set this up for my Imac?

    IE has not been supported by Microsoft on a Mac for years....  I have no clue what you are trying to do.
    Barry

  • Procedure error.

    Hello,
    I tried to create a procedure without any errors, but while executing I get error.
    ======================================================
    create or replace procedure pod_connect
    as
    v_date date;
    v_hldg_cusip fund_holding_d.hldg_instrument_id%TYPE;
    v_hldg_ticker instruments.ticker%TYPE;
    v_hldg_sedol instruments.sedol%TYPE;
    v_hldg_type funds.fund_typ_cd%TYPE;
    v_d_date date;
    cursor c1 is select hldg_cusip from temp_raw_fund_holdings;
    begin
    select date_value
    into v_date from ude_cycle_data_dates where date_type_code = 'CYCLE';
    insert into temp_raw_fund_holdings
    ( fund_id, fund_name, fund_dt, fund_cusip, hldg_cusip, hldg_shares, hldg_price, hldg_mv, hldg_pct, user_id, load_dt, change_dt, gnrd_src_id, snap_dt)
    select f.instrument_id,
    null,
    '13-apr-2006',
    i.cusip,
    f.hldg_instrument_id,
    f.hldg_shares,
    f.hldg_prc,
    f.hldg_mkt_val,
    f.hldg_pct,
    f.last_mod_id,
    f.d_date,
    f.d_date,
    11, -- it is numeric value and not null.
    f.d_date
    from fund_holding_d f,
    (select * from instruments where ticker in ('FSCFX', 'FINFX') ) i
    where (f.instrument_id = i.instrument_id )
    and f.d_date = v_date;
    FOR c1_rec IN c1
    LOOP
    select ticker, sedol into v_hldg_ticker, v_hldg_sedol from instruments
    where instrument_id = c1_rec.hldg_cusip;
    update temp_raw_fund_holdings
    set hldg_ticker = v_hldg_ticker,
    hldg_sedol = v_hldg_sedol where hldg_cusip = c1_rec.hldg_cusip;
    END LOOP;
    end;
    Procedure created.
    SQL> exec procedure pod_connect;
    BEGIN procedure pod_connect; END;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00103: Encountered the symbol "PROCEDURE" when expecting one of the
    following:
    begin case declare exit for goto if loop mod null pragma
    raise return select update while with <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> <<
    close current delete fetch lock insert open rollback
    savepoint set sql execute commit forall merge
    <a single-quoted SQL string> pipe
    <an alternatively-quoted SQL string>
    =========================
    Any help would be greatly appreciated.

    Please format your code next time for better readability using standard UBB notation: [pre] and [/pre].
    Execute your procedure in SQL*Plus:
    exec pod_connect;

  • SSRS Calling a Stored Procedure error : PLS-00306: wrong number or types of arg...

    Hi,
    My Problem is when im adding dataset with stored procedure, im getting this error.
    I Can access database, 
    Could not create a list of fields for the query. Verify that you can connect to the data source and that your query syntax is correct.
    ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'PROCEDURE_NAME' ORA-06550: line 1, column 7: PL/SQL:
    Statement ignored
    stored procedure is simple select :
    CREATE OR REPLACE PROCEDURE [PROCEDURE_NAME](L_CURSOR out SYS_REFCURSOR)
    is
    Begin
    open L_CURSOR for
    SELECT [columnname] FROM
    [tablename]
    End;
    Configuration Details:
    DB: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64biOracle Developer Tools for Visual Studio Copyright (c) 2005,2014 SQL Server Data Tools Type: Oracle , Data Provider : .Net Framework Data Provider For Oracle

    The answer is of inside question. It is about provider. Change my provider ODTwithODAC for 10g (my database version). And problem resolved.
    Thank you for your helps,
    Regards,
    Arda

  • ORABPEL-11809 - call a stored procedure - error in OUT parameter

    Hi all.
    I have a problem in a BPEL process that calls a stored procedure.
    I create a Partner Link that calls a stored procedure in the database. That procedure returns a type that is a table (is defined as a type of the database).
    When I deploy the process I have the following error:
    <messages>
    - <input>
    - <WC01_Pesquisa_Ut_InputVariable>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="InputParameters">
    - <InputParameters xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/IGIF/WC01/PESQUISA_UT/">
    <P_NIR xmlns="">
    165968274
    </P_NIR>
    <P_NOME_COMPLETO xmlns="">
    carla diogo
    </P_NOME_COMPLETO>
    <P_SEXO xmlns="">
    Feminino
    </P_SEXO>
    <P_DATA_NASC xmlns="">
    2007-03-01
    </P_DATA_NASC>
    <P_NATURALIDADE xmlns=""/>
    </InputParameters>
    </part>
    </WC01_Pesquisa_Ut_InputVariable>
    </input>
    - <fault>
    - <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    - <part name="code">
    <code>
    17002
    </code>
    </part>
    - <part name="summary">
    <summary>
    file:/oracle/product/10.1.3/SOA/Integration10131/bpel/domains/default/tmp/.bpel_SaudeIdentificarCidadao_5.0_e3768f57d137443e1ba52d4a6d809426.tmp/WC01_Pesquisa_Ut.wsdl [ WC01_Pesquisa_Ut_ptt::WC01_Pesquisa_Ut(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'WC01_Pesquisa_Ut' failed due to: Error registering an out parameter.
    An error occurred when registering parameter PESQUISA_UT as an out parameter of the IGIF.WC01.PESQUISA_UT API. Cause: java.sql.SQLException: Io exception: Connection reset [Caused by: Io exception: Connection reset]
    ; nested exception is:
         ORABPEL-11809
    Error registering an out parameter.
    An error occurred when registering parameter PESQUISA_UT as an out parameter of the IGIF.WC01.PESQUISA_UT API. Cause: java.sql.SQLException: Io exception: Connection reset [Caused by: Io exception: Connection reset]
    Check to ensure that the parameter is a valid IN/OUT or OUT parameter of the API. Contact oracle support if error is not fixable.
    </summary>
    </part>
    - <part name="detail">
    <detail>
    Internal Exception: java.sql.SQLException: Io exception: Connection resetError Code: 17002
    </detail>
    </part>
    </remoteFault>
    </fault>
    </messages>
    The code of the XSD created when I create the partner link is:
    <schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/IGIF/WC01/PESQUISA_UT/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/IGIF/WC01/PESQUISA_UT/"
    elementFormDefault="unqualified" attributeFormDefault="unqualified">
    <element name="InputParameters">
    <complexType>
    <sequence>
    <element name="P_NIR" type="decimal" db:index="1" db:type="NUMBER" minOccurs="0" nillable="true"/>
    <element name="P_NOME_COMPLETO" type="string" db:index="2" db:type="VARCHAR2" minOccurs="0" nillable="true"/>
    <element name="P_SEXO" type="string" db:index="3" db:type="VARCHAR2" minOccurs="0" nillable="true"/>
    <element name="P_DATA_NASC" type="dateTime" db:index="4" db:type="DATE" minOccurs="0" nillable="true"/>
    <element name="P_NATURALIDADE" type="string" db:index="5" db:type="VARCHAR2" minOccurs="0" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    <element name="OutputParameters">
    <complexType>
    <sequence>
    <element name="PESQUISA_UT" type="db:TABELA_DE_IDS" db:index="0" db:type="Array" minOccurs="0" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    <complexType name="TABELA_DE_IDS">
    <sequence>
    <element name="PESQUISA_UT_ITEM" type="decimal" db:type="NUMBER" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
    </sequence>
    </complexType>
    </schema>
    Any ideia?
    Thanks in advance.
    Carla

    I'd suggest that you turn on xml validation on the bpel boundaries to make sure that the xml being passed to the adapter is valid. You do this by logging in to bpel console, go to Manage Domain, at the bottom of the Configuration tab, set validateXml to true.
    Then see if it is an xml validation issue - in which case you will have to fix your maps to make sure it is valid indeed.
    Assuming your XML is valid and you are still seeing this error, couple of follow up questions:
    - are you using synonyms ?
    -- note that synonyms are not supported completely by the adapter at this time.
    - could you spell out where your types/sp-pkg resides and what are you connecting as at runtime ?
    -- just to keep things simple enough to debug, i'd do everything as just one user and slowly go to a scheme that you desire.
    HTH

Maybe you are looking for

  • Payment Processing Tab function in PO

    Dear Friends, In Purchase order at header payment processing tab is there. Cab any one explain me how it works.?? can i make its use to make retention money of vendor , how we can do it?? Regards, Mahesh.

  • Digital camera not recognised on iMac

    Hi Yesterday I connected my canon digital ixus camera to my iMac and copied over some photos, via usb, no problem. Today I am trying to do exactly the same but the camera is not seen at all. Nothing has changed, and I have used the same procedure as

  • Missing Files. LR 1.1.

    All of a sudden I've got 590 'Missing Files'. All from the same folder. None are marked with a '?'. No folders are 'Red Flagged'. When using 'Show in Explorer', the files are shown to exist, in the relevant folder, exactly as they should. So they're

  • _X11TransSocketINETConnect: Can't get address for /tmp/launch-lxMumo/

    I use the X11-based consed package for DNA sequence assembly. It worked fine on my old G4. When I switched over to a MacBook, with 10.5, I tested it and it seemed OK, but after updating to 10.5.1, when I try to launch the program, I get the following

  • Dimension Formulas in NW

    Hello All, I am trying to implement account dimension formulas for the calculation of ratios, but while it is processing successfully, I am not seeing any results. A couple of questions: 1. Do dimension hierarchies have to be qualified in NW as it do