Using arguments to invoke an excel method from PL/SQL with Oracle COM

Hello Gentlemen,
I has been trying to export an excel sheet to a PDF file format using “ExportAsFixedFormat” method, with no success or error message.
Moreover, I tried to use “PrintOut” method, if I use it with no parameters/arguments it executed without errors and display the sheet to an application installed in my PC (“SnagIt”), if I try to use it with an argument to assign a printer for it, I got this error message “PrintOut method of Workbook class failed xlmain11.chm”.
I believe I have a problem with using arguments, and I don’t know how to use it in a proper way; the code I used is listed below for your review and your kind help, thank you a lot, and I appreciate so much your helpful feedback.
Best regards,
Nabil
List 01 – using “ExportAsFixedFormat” method
==============================
ORDCOM.InitArg();
ORDCOM.SetArg('xlTypePDF','XlFixedFormatType');
ORDCOM.SetArg('E:\ TestDelete.pdf','BSTR');
ORDCOM.SetArg('xlQualityStandard','BSTR');
ORDCOM.SetArg('True','BOOL');
ORDCOM.SetArg('False','BOOL');
ORDCOM.SetArg('True','BOOL');
dbms_output.put_line('WorkSheetToken................WorkBookToken........'||WorkBookToken);
i := ORDCOM.Invoke(WorkBookToken, 'ExportAsFixedFormat', 6, DummyToken);
List 02 – using “PrintOut” method:
======================
ActivePrinter := 'Macromedia FlashPaper';
ORDCOM.InitArg();
ORDCOM.SetArg(activeprinter,'BSTR');
i := ORDCOM.Invoke(WorkBookToken, 'PrintOut', 1, DummyToken);

Hello,
Any help please? I believe I have a problem with using arguments, and I don’t know how to use it in a proper way; the code I used is listed above for your review and your kind help, thank you a lot, and I appreciate so much your helpful feedback.
Best regards,
Nabil

Similar Messages

  • How to invoke a Web Service from PL/SQL with Complex Type as  input.

    Hello,
    I am trying to invoke a web service from PL/SQL using the UTL_DBWS package.
    The web service expects a complex type as input (defined below):
    <xs:complexType name="MsgType">
    <xs:sequence>
    <xs:element name="sender" type="xs:string"/>
    <xs:element name="messageId" type="xs:string"/>
    <xs:element name="messageType" type="xs:string"/>
    <xs:element name="dateSent" type="xs:date"/>
    </xs:sequence>
    </xs:complexType>
    How to construct input to this in PL/SQL Procedure?
    Has any body tried this before?
    An exmaple will be helpful.
    Thanks

    Dear,
    I have read your article, it is useful for me. But I cannot Apply to my case. Please kindly help me. Thank you.
    When running, the error occurs:
    1:39:31 Execution failed: ORA-20000: soapenv:Server.userException - org.xml.sax.SAXParseException: Attribute name &quot;password&quot; associated with an element type &quot;user&quot; must be followed by the &apos; = &apos; character.
    My webservice Url: http://abc.com.vn:81/axis/ABC_WS_TEST.jws?wsdl
    I make PL/SQL (similiar as your example)
    FUNCTION INVOKESENDMT
    RETURN VARCHAR2
    AS
    l_request soap_api.t_request;
    l_response soap_api.t_response;
    l_return VARCHAR2(32767);
    l_url VARCHAR2(32767);
    l_namespace VARCHAR2(32767);
    l_method VARCHAR2(32767);
    l_soap_action VARCHAR2(32767);
    l_result_name VARCHAR2(32767);
    p_zipcode VARCHAR2(160);
    BEGIN
    --p_zipcode:='''TEST'' ; ''TEST'';''84912187098'';''84912187098'';''0'';''8118'';''1'';''000001'';''ThuNghiem'';''''';
    p_zipcode:='TEST';
    -- Set proxy details if no direct net connection.
    --UTL_HTTP.set_proxy('myproxy:4480', NULL);
    --UTL_HTTP.set_persistent_conn_support(TRUE);
    -- Set proxy authentication if necessary.
    --soap_api.set_proxy_authentication(p_username => 'TEST',
    -- p_password => 'TEST');
    l_url := 'http://abc.com.vn:81/axis/ABC_WS_TEST.jws';
    l_namespace := 'xmlns="' || l_url || '"';
    l_method := 'sendMT';
    l_soap_action := l_url || '#sendMT';
    l_result_name := 'sendMTResponse';
    l_request := soap_api.new_request(p_method => l_method,
    p_namespace => l_namespace);
    soap_api.add_parameter(p_request => l_request,
    p_name => 'user password sender receiver chargedflag servicenumber messagetype messageid textcontent binarycontent',
    p_type => 'xsd:string',
    p_value => p_zipcode);
    l_response := soap_api.invoke(p_request => l_request,
    p_url => l_url,
    p_action => l_soap_action);
    l_return := soap_api.get_return_value(p_response => l_response,
    p_name => l_result_name,
    p_namespace => l_namespace);
    RETURN l_return;
    END;

  • Can I use the iPad to access excel programmes from my pc

    Can I use the iPad to access excel programmes from my pc

    There are a number of apps in the iTunes App Store that allow you to view/edit/create Excel spreadsheets on the iPad. Three of the most populare ones are :
    Apple's Numbers - http://itunes.apple.com/gb/app/numbers/id361304891?mt=8
    Documents To Go - http://itunes.apple.com/gb/app/documents-to-go-office-suite/id317117961?mt=8
      'premium' version' - http://itunes.apple.com/gb/app/documents-to-go-premium-office/id317107309?mt=8
    QuickOffice HD - http://itunes.apple.com/gb/app/quickoffice-pro-hd/id376212724?mt=8

  • Does iTunes use Internet Explorer to access the internet from a PC with Windows Vista?

    Does iTunes use Internet Explorer to access the internet from a PC with Windows Vista?

    Are you using Windows XP or Windows Vista?
    Did you remove iTunes and the other Apple software also, and then reinstall iTunes.
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    Did you try to put the iPhone into recovery mode?

  • OLAP data from MS SQL to Oracle

    Hi,
    I am currently using Microsoft SQL server 2000 as our datawarehouse with Analytic services(OLAP data).
    We are thinking of migrating to Oracle 10g. By using Migration Workbench, will it migrate my 3 dimensional data(OLAP) from MS SQL to Oracle (OLAP) ?
    Thank you.
    Best Regards,
    Ian Ho

    This could happen if you are using improper LKM
    So depending on your source and staging database you choose the corresponding LKM
    for example:
    If you are using MS SQL Server as your source and Oracle database as the staging database, then you should be using lKM SQL to Oracle

  • Help me please to migrate from MS SQL to Oracle

    Hi all,
    we are in process of migration from MS SQL to Oracle.
    Please help me to perform the same in Oracle:
    select number+1 as rowid,number*6+1 as rowbeg,number*6+6 as rowend 
    from master.dbo.spt_values
    where type='P'
    Our Oracle version:
    select * from v$version
    BANNER                                                                         
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production   
    PL/SQL Release 11.2.0.2.0 - Production                                         
    CORE 11.2.0.2.0 Production                                                     
    TNS for 64-bit Windows: Version 11.2.0.2.0 - Production                        
    NLSRTL Version 11.2.0.2.0 - Production                                         
    5 rows selected.

    996831 wrote:
    Here is another solution without "connect by":
    select 1 as rnum, 1 as rowbeg, 6 as rowend from dual
    union all
    select rownum+1 as rnum,rownum*6+1 as rowbeg,rownum*6+6 as rowend
    from all_objects
    1
    1
    6
    2
    7
    12
    3
    13
    18
    4
    19
    24
    5
    25
    30
    6
    31
    36
    7
    37
    42
    (et cetera).
    This needs the user to have access on all_objects view and it will limit the result upto the numbers of objects returned by the all_objects view.

  • Send mail from PL/SQL with an attachment

    Hi,
    Can any body help me on how to send a mail from PL/SQL with an attachment which is located on a unix system path.
    This is an urgent requirement in my current project. Any quick reply would be greatly appreciated.
    Thanks
    Kumar.

    Quick reply (too bad you didn't mention your DB-version):
    Check the docs @ http://tahiti.oracle.com regarding packages UTL_SMTP and UTL_MAIL
    Check http://asktom.oracle.com/pls/asktom/asktom.search?p_string=%22mail+attachment%22
    Check http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html
    Check http://www.oracle-base.com/articles/10g/PlsqlEnhancements10g.php#UTL_MAIL

  • How to invoke Application Module method from entity object methods

    Hi,
    We have an existing Application Module which provides some validation logic. We are using OperatingBinding or getting the Application Module instance from the bindings and then invoking the app module methods in the view controller project.
    But in our current scenario, We need to invoke the application module method from the setAttribute method in the entity object when ever an entity attribute value is changed . I believe we can call createRootApplicationModule method to create application module instance. But this may lead to performance overhead.
    Can you please suggest, if there is any alternative to invoke the application module method inside the business components.
    What is the best way to create

    We have a pricing service, which was developed as a separate application. We need to invoke the pricing service with the change in certain attributes of the entity object and update some of the attributes of the current entity object. At present we are handling these calls to the pricing service in the ui layer in the valueChangeListener.
    But we would like to move this service call into setAttribute method as we are unable to prevent the call to the service if the model validations fail. I am looking for the best possible approach for invoking the service calls from the entity objects.
    Thanks and Regards,
    S R Prasad

  • Oracle BI EE 11g – Action Framework - Invoke a Java Method from Action links

    Hello All,
       I have a requirement to save OBIEE 11g report into shared drive. I have created a EJB by using the below link and successfully deployed the application in server(bi_server1) .
    http://www.rittmanmead.com/2010/09/oracle-bi-ee-11g-action-framework-java-ejbs-and-pdf-watermarks/
    When Im trying to call Invoke a Java method, it is showing "No Content" . Can anybody please share with me the sample "ActionFrameworkConfig.xml" file used for Invoke a Java method.
    My OBIEE version is : 11.1.1.7.131017
    Thanks.

    1. check your t3 port no, in my case it's 7001.
    so i changed "<jndi-url>t3://localhost:9704</jndi-url>" to "<jndi-url>t3://localhost:7001</jndi-url>"
    2. if you run obiee 11.1.1.6.0 above, you don't need below.
    <credentialmap>oracle.bi.actions</credentialmap>
    so please drop this line.
    3. restart your server and check there's no error log when loading ActionFrameworkConfig.xml.
    Good Luck !!!

  • Generate documents(word,Excel,PowerPoint) from Document Templates with Security Markings programmatically

    Hi
    It is required to create office document (can be word, Excel, PowerPoint etc) from predefined template with security markings programmatically within SharePoint Document libraries..
    help with example source and references appreciated.
    Best

    Hi,
    According to your post, my understanding is that you want to create a document based on a predefined template.
    When we create a predefined template, actually the template is bound to the content type, we can retrieve it using its url.
    web.Lists[YourList].ContentTypes[yourContentTypeId].DocumentTemplateUrl
    Then we can retrieve the predefined template as an SPFile, and use the
    OpenBinary() method to get the byte[].
    There is an article about this topic, you can refer to it.
    http://nickgrattan.wordpress.com/2008/12/08/code-for-creating-new-documents-based-on-a-content-type-and-template/
    More reference:
    http://sharepoint.stackexchange.com/questions/22253/how-do-i-create-a-new-document-in-a-document-library-according-to-a-template-in
    http://sharepoint.stackexchange.com/questions/60506/programmatically-create-a-new-document-based-on-a-content-type-template
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How to pass arguments to a Unix shell script from PL/SQL?

    We want to run a Linux shell script from PL/SQL (10g). This is our code to run the script only and it works fine.
    dbms_scheduler.create_job
              job_name=>'RUN_LINUX_SCRIPT_' || v_job_name,
              job_type=>'EXECUTABLE',
              job_action=>'/vol0/FileLoadDir/Bank/DATA_FILES/spell_check.sh',
              enabled=>TRUE,
              auto_drop=>FALSE
            );Now we have a requirement to pass 2 arguments to the .sh file. In the .sh file the 2 arguments are defined as $1 and $2.
    I used this method.
    dbms_scheduler.create_job
              job_name=>'RUN_LINUX_SCRIPT_' || v_job_name,
              job_type=>'EXECUTABLE',
              job_action=>'/vol0/FileLoadDir/Bank/DATA_FILES/spell_check2.sh',
              --job_action=>'/vol0/FileLoadDir/Bank/DATA_FILES/spell_check2.sh /vol0/FileLoadDir/Bank/DATA_FILES/ebill2.fmt_form_strings_.txt /vol0/FileLoadDir/Bank/DATA_FILES/abcdefghij.txt',
              --job_action=>'#!/bin/bash spell /vol0/FileLoadDir/Bank/DATA_FILES/ebill2.fmt_form_strings_.txt > /vol0/FileLoadDir/Bank/DATA_FILES/abcde.txt',
              number_of_arguments => 2,
              enabled=>FALSE,
              auto_drop=>FALSE,
              comments => 'Testing by Channa'
          DBMS_SCHEDULER.SET_JOB_ARGUMENT_VALUE (
            job_name                => 'RUN_LINUX_SCRIPT_' || v_job_name,
            argument_position           => 1,
            argument_value          => '/vol0/FileLoadDir/Bank/DATA_FILES/ebill2.fmt_form_strings_.txt');
          DBMS_SCHEDULER.SET_JOB_ARGUMENT_VALUE (
            job_name                => 'RUN_LINUX_SCRIPT_' || v_job_name,
            argument_position       => 2,
            argument_value          => '/vol0/FileLoadDir/Bank/DATA_FILES/abcdefghij.txt');
          DBMS_SCHEDULER.enable (name => 'RUN_LINUX_SCRIPT_' || v_job_name);But I get an error saying:
    STANDARD_ERROR="/vol0/FileLoadDir/Bank/DATA_FILES/spell_check2.sh: line 4: read: `/vol0/FileLoadDir/Bank/DATA_FILES/ebill2.fmt_form_strings_.txt': not a valid identifier
    /vol0/FileLoadDir/Bank/DATA_FILES/spell_check2"

    Check this post:
    pass parameter from PL/SQL to Unix "as is"

  • Creating excel sheet from pl/sql

    Hi,
    I need to generate an excel sheet and write the result of a query into it from pl/sql .
    Is it possible?
    any idea pls.
    cheers
    RRK

    You can use the following method --
    Write the following code in the emp.sql
    set serveroutput on
    set verify off
    set feedback off
    set long 400000
    set pagesize 0
    set lin 1000
    set markup html on spool on
    spool c:\Emp.xls
    select     *
    from emp;
    spool off
    set markup html off spool off
    set verify on
    set feedback onAnd, then run it with the following command and see-
    satyaki>
    satyaki>select * from v$version;
    BANNER
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
    PL/SQL Release 9.2.0.6.0 - Production
    CORE    9.2.0.6.0       Production
    TNS for IBM/AIX RISC System/6000: Version 9.2.0.6.0 - Production
    NLSRTL Version 9.2.0.6.0 - Production
    satyaki>
    satyaki>
    satyaki>@C:\emp.sql;
    <p>
    <table border='1' width='90%' align='center' summary='Script output'>
    <tr>
    <th scope="col">
    EMPNO
    </th>
    <th scope="col">
    ENAME
    </th>
    <th scope="col">
    JOB
    </th>
    <th scope="col">
    MGR
    </th>
    <th scope="col">
    HIREDATE
    </th>
    <th scope="col">
    SAL
    </th>
    <th scope="col">
    COMM
    </th>
    <th scope="col">
    DEPTNO
    </th>
    </tr>
    <tr>
    <td align="right">
          7369
    </td>
    <td>
    SMITH
    </td>
    <td>
    CLERK
    </td>
    <td align="right">
          7902
    </td>
    <td>
    17-DEC-80
    </td>
    <td align="right">
           800
    </td>
    <td align="right">
    </td>
    <td align="right">
            20
    </td>
    </tr>
    <tr>
    <td align="right">
          7499
    </td>
    <td>
    ALLEN
    </td>
    <td>
    SALESMAN
    </td>
    <td align="right">
          7698
    </td>
    <td>
    20-FEB-81
    </td>
    <td align="right">
          1600
    </td>
    <td align="right">
           300
    </td>
    <td align="right">
            30
    </td>
    </tr>
    <tr>
    <td align="right">
          7521
    </td>
    <td>
    WARD
    </td>
    <td>
    SALESMAN
    </td>
    <td align="right">
          7698
    </td>
    <td>
    22-FEB-81
    </td>
    <td align="right">
          1250
    </td>
    <td align="right">
           500
    </td>
    <td align="right">
            30
    </td>
    </tr>
    <tr>
    <td align="right">
          7566
    </td>
    <td>
    JONES
    </td>
    <td>
    MANAGER
    </td>
    <td align="right">
          7839
    </td>
    <td>
    02-APR-81
    </td>
    <td align="right">
          2975
    </td>
    <td align="right">
    </td>
    <td align="right">
            20
    </td>
    </tr>
    <tr>
    <td align="right">
          7654
    </td>
    <td>
    MARTIN
    </td>
    <td>
    SALESMAN
    </td>
    <td align="right">
          7698
    </td>
    <td>
    28-SEP-81
    </td>
    <td align="right">
          1250
    </td>
    <td align="right">
          1400
    </td>
    <td align="right">
            30
    </td>
    </tr>
    <tr>
    <td align="right">
          7698
    </td>
    <td>
    BLAKE
    </td>
    <td>
    MANAGER
    </td>
    <td align="right">
          7839
    </td>
    <td>
    01-MAY-81
    </td>
    <td align="right">
          2850
    </td>
    <td align="right">
    </td>
    <td align="right">
            30
    </td>
    </tr>
    <tr>
    <td align="right">
          7782
    </td>
    <td>
    CLARK
    </td>
    <td>
    MANAGER
    </td>
    <td align="right">
          7839
    </td>
    <td>
    09-JUN-81
    </td>
    <td align="right">
          2450
    </td>
    <td align="right">
    </td>
    <td align="right">
            10
    </td>
    </tr>
    <tr>
    <td align="right">
          7788
    </td>
    <td>
    SCOTT
    </td>
    <td>
    ANALYST
    </td>
    <td align="right">
          7566
    </td>
    <td>
    19-APR-87
    </td>
    <td align="right">
          3000
    </td>
    <td align="right">
    </td>
    <td align="right">
            20
    </td>
    </tr>
    <tr>
    <td align="right">
          7839
    </td>
    <td>
    KING
    </td>
    <td>
    PRESIDENT
    </td>
    <td align="right">
    </td>
    <td>
    17-NOV-81
    </td>
    <td align="right">
          5000
    </td>
    <td align="right">
    </td>
    <td align="right">
            10
    </td>
    </tr>
    <tr>
    <td align="right">
          7844
    </td>
    <td>
    TURNER
    </td>
    <td>
    SALESMAN
    </td>
    <td align="right">
          7698
    </td>
    <td>
    08-SEP-81
    </td>
    <td align="right">
          1500
    </td>
    <td align="right">
             0
    </td>
    <td align="right">
            30
    </td>
    </tr>
    <tr>
    <td align="right">
          7876
    </td>
    <td>
    ADAMS
    </td>
    <td>
    CLERK
    </td>
    <td align="right">
          7788
    </td>
    <td>
    23-MAY-87
    </td>
    <td align="right">
          1100
    </td>
    <td align="right">
    </td>
    <td align="right">
            20
    </td>
    </tr>
    <tr>
    <td align="right">
          7900
    </td>
    <td>
    JAMES
    </td>
    <td>
    CLERK
    </td>
    <td align="right">
          7698
    </td>
    <td>
    03-DEC-81
    </td>
    <td align="right">
           950
    </td>
    <td align="right">
    </td>
    <td align="right">
            30
    </td>
    </tr>
    <tr>
    <td align="right">
          7902
    </td>
    <td>
    FORD
    </td>
    <td>
    ANALYST
    </td>
    <td align="right">
          7566
    </td>
    <td>
    03-DEC-81
    </td>
    <td align="right">
          3000
    </td>
    <td align="right">
    </td>
    <td align="right">
            20
    </td>
    </tr>
    <tr>
    <td align="right">
          7934
    </td>
    <td>
    MILLER
    </td>
    <td>
    CLERK
    </td>
    <td align="right">
          7782
    </td>
    <td>
    23-JAN-82
    </td>
    <td align="right">
          1300
    </td>
    <td align="right">
    </td>
    <td align="right">
            10
    </td>
    </tr>
    <tr>
    <td align="right">
          9898
    </td>
    <td>
    Erwin
    </td>
    <td>
    Adventur
    </td>
    <td align="right">
          7369
    </td>
    <td>
    17-AUG-07
    </td>
    <td align="right">
          5000
    </td>
    <td align="right">
           230
    </td>
    <td align="right">
            20
    </td>
    </tr>
    <tr>
    <td align="right">
          7006
    </td>
    <td>
    Gopal
    </td>
    <td>
    Player
    </td>
    <td align="right">
          7369
    </td>
    <td>
    17-AUG-07
    </td>
    <td align="right">
          5000
    </td>
    <td align="right">
           230
    </td>
    <td align="right">
            20
    </td>
    </tr>
    </table>
    <p>
    satyaki>Regards.
    Satyaki De.

  • Invoking XML Publisher Report from PL/SQL

    Hi,
    I have a PL/SQL procecedure which invokes the Concurrent Request for the XML Publisher Report. This one finishes with a warning and I get 'Unable to publish output' when I try to view the output. Exact Error: "Unable to find the published output for this request "
    But if I run the same report using Concurrent program, the Report executes with no error. Also the desired output is coming. I am not sure where I am doing wrong in code.
    My code which invokes the XML Publisher Report (from PL/SQL package)is something like this:
    declare
    x boolean;
    l_no_of_copies varchar2(45);
    l_printername varchar2(45);
    l_print_style varchar2(45);
    l_result boolean;
    y number;
    begin
    x := fnd_request.add_layout (template_appl_name => 'XXTMG', template_code => 'XXT_5001_BOL_T', template_language => 'EN', template_territory => 'US', output_format => 'XML');
    l_no_of_copies := fnd_profile.VALUE ('XXTMG_SH_BOL_REPORT_NO_OF_COPIES');
    l_printername := fnd_profile.VALUE ('XXTMG_SH_BOL_REPORT_PRINTER');
    l_print_style := NULL; --For setting the Printer Options
    l_result := fnd_request.set_print_options (l_printername, l_print_style, l_no_of_copies, TRUE, 'N');
    l_result := fnd_request.add_printer (l_printername, 0);
    y := fnd_request.submit_request ('XXTMG', 'XXT_5001_BOL', '', TO_CHAR (SYSDATE, 'YYYY/MM/DD HH24:MI:SS'), FALSE, 'CH-120079') ;
    end;
    Please let me know where I might be going wrong
    Thanks

    Hi Sumit,
    You can try with this code:
    exec dbms_application_info.set_client_info(org_id)
    exec fnd_global.APPS_INITIALIZE(user_id,resp_id,appl_id);
    declare
    x boolean;
    l_no_of_copies varchar2(45);
    l_printername varchar2(45);
    l_print_style varchar2(45);
    l_result boolean;
    y number;
    begin
    x := fnd_request.add_layout ('XXTMG' --template_appl_name 
              ,'XXT_5001_BOL_T' --template_code
              ,'en' --template_language 
         ,'US' --template_territory
         ,'XML' --output_format
    if (x=TRUE) then
    y := fnd_request.submit_request (
                        'XXTMG'           --application 
                        ,'XXT_5001_BOL'      --program
                        ,SYSDATE          --start_time
                        ,FALSE               --sub_request
                        ,'CH-120079'          --argument1 (Program's Parameter)
    if y>0 then
              dbms_output.put_line('Request ID '||y);
    end if;
    end if; --if (x=TRUE) then
    end;
    Make sure that program has only one input parameter. If program has other parameters then you can pass those parameters like argument1, argument2... etc.
    Now you can see this submited request in your application using your user id. If you able to see your request in concurrent request then you can add printer parameters in this programs.
    You don't need to pass all 100 parameters.
    I am executing many programs/reports using this code.
    Thanks
    Ravi
    [email protected]
    Message was edited by:
    Ravi Tripathi

  • Using sockets with java from PL/SQL in Oracle 8.1.7 DBA

    Hey all,
    I've been struggling for a couple of weeks now with a problem. I wrote a framework around a toolkit which makes socket connections to another server. I am attempting to use the framework from within a PL/SQL script, which is calling the framework class files which have been loaded into Oracle 8.1.7 database. The problem seems to be if I grant all permissions, or socket permissions for all hosts/ports, or even the ones I know about are being used, I get a hang when trying to connect. The funny thing is, using the toolkit, if I invoke their classes directly within code written from Oracle's code editor, it will work.
    I suspect there is
    a) Some hidden permission issue
    b) A bug in the sockets implementation Oracle is using for their JVM.
    Can anyone offer insight to this problem?
    Thanks,
    Dave Blake
    [email protected]

    Hello,
    I'm trying to investigate the same thing.
    I want to make a soap-client with PL/SQL with 8i 8.1.6.0.0
    Did you succeed some additional information ??
    I tried to run the following example:
    http://www.oracle.com/technology/tech/webservices/htdocs/samples/dbwebservice/DBWebServices_PLSQL.html
    but it only works with 9i.
    With 8i the errors encountered were : XMLTYPE undefined
    Perhaps if we find the definition of XMLTYPE and we process it to 8i we'll be able to run the example ??
    thank's

  • Writing Excel Document from PL/SQL

    Sample code :
         if p_doc_type = 'E' then --display in excel format
              owa_util.mime_header(ccontent_type => 'application/vnd.ms-excel');
              owa_util.HTTP_HEADER_CLOSE;
    (p_doc_type ='E' ) (p_doc_type is the name of the radio button,
    E=excel and H=html for the value )is coming from a radio button
    which allows the user to choose to have the format of the query
    seen in Excel or Html.. For some reason the information is able
    to be seen in Html, but when the user select the radio button to show the
    query in Excel, does not work, query still displays in HTML. Please help,
    hit a complete Brick Wall. Do I need to input any libraries or any
    meta tags for the browser
    to know to show the query/information in Excel format?

    You can write ActiveX COM components and use Oracle COM Automation too. I plan to do some experiments later in the summer.

Maybe you are looking for

  • How can I connect mini to headphone amplifier?

    I used to use windows to play my music when I sit in front of computer and use my headphone. My FLAC music is saved in an external hard drive. I use Foobar 2000 player to play FLAC. Between my headphone amplifier and window mobo is optical cable. Now

  • ITunes won't open from 7.5 or later from a 7.6 upgrade..How can I fix this?

    Same problem as previous people have posted....can't open any Libraries of iTunes because it says "it was made with a newer version"(7.6) I trashed 7.6 and downloaded 7.5. Still can't open iTunes. How an I open these files????? What can I get rid of

  • Dynamically creating pages when the form is rendered to the user

    Hi exeprts I am trying to find out a way in which my livecycle designer form will be able to create a new pages based on a certain field value which is a part of xfa.data.datasets. Say I have to generate the payslip of 5 employee - My form should be

  • How to run a report as Web Layout

    I've just created a simple report and I've run it as Paper Layout. All works well. If I try to run it as Web Layout, it waits for a while and then nothing happens. As for Oracle Form I've never had such problems, so when I run a form, soon the form g

  • Connecting to PAPI Process Service when using LDAP

    We have Oracle BPM 10.3 set up with using LDAP as the directory for participants. In order to connect to the PAPI process service we want to use a system id that is a non user but set up in LDAP. How do we do this? Is there any special role or securi