Oracle Schedule Jobs and Web Services

Please, how can i write a DBMS_SCHEDULER that wil run onces a day, calling an oracle stored procedure (the procedure also calls an ASP.NET web service). Actually, i cant write PL/SQL too well. Thanx in advance

Have a look here

Similar Messages

  • Capture DDL for Oracle Scheduled Jobs and job from DBMA_JOBS

    I have trying at this for while and now I am stuck...so I need some help or advice.
    I am doing a DB migration and I need to capture the DDL for all Oracle Scheduled Jobs as well as DBMS_JOBS. Anyone have a good way?
    I took a datapump export last week. Can I run a impdp and capture the DDL for this VIA the sqlfile parameter? If so, how? What would be the script for it. Something like this maybe (par file)?
    directory=DP_IMPORT
    DUMPFILE=dump1.dmp
    SCHEMAS=A,B,C...X,Y,Z
    LOGFILE=JOBS.LOG
    EXCLUDE=TABLE,INDEX,CONSTRAINT
    PARALLEL=4
    INCLUDE=JOBS
    ????

    Hello,
    It's JOB, see following table for possible options , I recommend you to read throught this thoroughly before starting.
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_metada.htm#BGBIEDIA
    Regards

  • SSL certificates and Web Services Usage inside Oracle Database Questions!

    We have implemented a specific business logic using PL/SQL for our client, so we open a file and process each line of this, doing something in the Database and also call a Web Services (Service1) using UTL_HTTP package. Service1 runs in a Windows 2008 Server in the DMZ as Database server.
    Service1 is already working, and we can call the service from PL/SQL without troubles.
    However, according with security client's policies they requires all Web services be consumed via https including Service1, so we must to follow the procedure established for Oracle in order to enable the calling of service1 via https from the Database.
    Our client's DBA and IT Team are concerned about two subjects before to continue to follow the certificate installation:
         - SSL Certificates:
    1- Can installed certificates in the Database put in risk the stability of the database?
              2- Can installed certificates in the Database generate performance issues?
              3- Can installed certificates reloading the Databases?
              2- Can installed certificates in the Database generate security issues?
         - Web services:
    1- Can web services calling from the Database put in risk the stability of the database?
    2- Can web services calling from the Database generate performance issues?
    3- Can web services calling from the Database generate security issues in the DMZ?
    Could you please give us any clues, about the possible negative impact related with the SSL certificates and Web Services Usage inside Oracle Database, if it’s the case this impact exists?.
    Those are the links describing the procedure mentioned above.
    1 -http://www.kotti.es/2009/11/oracle-wallet/
    DB: Oracle 9i.
    Average number of lines in file: 300
    Periodicity: Twice at day.

    Thiago:
    You are correct in that there should be no problem interacting with a Web service that has an HTTPS endpoint as long as you create a wallet and specify it when you make your UTL_HTTP calls, like the PayPal example.
    I am not aware of a PL/SQL utility to create a XMLDsig Standard message, but if you find some Java source out there that does it, you may be able to follow a technique I used for a similar use case:
    http://jastraub.blogspot.com/2009/07/hmacsha256-in-plsql.html
    Regards,
    Jason

  • The Oracle Database Programming using Java and Web services book is out

    This book http://www.amazon.com/gp/product/1555583296 shows how to build pragmatic applications using the combination of PL/SQL, Java in the database, JDBC, SQLJ, JPublisher, and Web services. It is intented for database developers, DBA, data architects, Java developers and Web services assemblers.
    My blog http://db360.blogspot.com/ and the free/sample chapter http://www.oracle.com/technology/books/pdfs/mensah_ch1.pdf will give you a feel of the content.
    Enjoy, Kuassi

    Hi Kuassi,
    Thanks for letting us know that your book is available. I have been following one of your articles about "Virtualize Your Oracle Database with Web Services". More specifically "The Database as Web Services Consumer". I think that this is an area that has in the past been under estimated as to the potential benefits.
    I am currently trying to develop a solution that consumes several interfaces with a couple of them being published web services, so an ideal solution. I have then spent the last three weeks having to read up about the architecture of Java in the database, Jpublisher and make sense of how it all works together.
    I have got very close to getting one of the web services to work but failed due to using 10gR2 where all the java & libraries has moved to version 1.5. The solution is to load the jdk1.4.2 and configure jpublisher to use this. So far so good except this is not available on some platforms, Windows - 64 bit (not itanium).
    The configuration is proving very challenging but will hopefully reap rewards.
    (Thought I would give you some background to my experience).
    Anyway my question to you is having looked at Jdeveloper it appears to do almost anything except consume services into the database, also with Java now being at version 1.5 outside the database for 10gR2 and supporting 1.4 inside, do you see some alignment of these in future database releases?
    Finally off to buy your book now as no doubt there is a huge amount more to learn.
    Kind Regards
    David O'Donnell

  • Book: Oracle Database Programming using Java and Web services

    This book http://www.amazon.com/gp/product/1555583296 shows how to build pragmatic applications using the combination of PL/SQL, Java in the database, JDBC, SQLJ, JPublisher, and Web services. It is intented for database developers, DBA, data architects, Java developers and Web services assemblers.
    My blog http://db360.blogspot.com/ and the free/sample chapter http://www.oracle.com/technology/books/pdfs/mensah_ch1.pdf will give you a feel of the content.
    Enjoy, Kuassi

    Hi Kuassi,
    Thanks for letting us know that your book is available. I have been following one of your articles about "Virtualize Your Oracle Database with Web Services". More specifically "The Database as Web Services Consumer". I think that this is an area that has in the past been under estimated as to the potential benefits.
    I am currently trying to develop a solution that consumes several interfaces with a couple of them being published web services, so an ideal solution. I have then spent the last three weeks having to read up about the architecture of Java in the database, Jpublisher and make sense of how it all works together.
    I have got very close to getting one of the web services to work but failed due to using 10gR2 where all the java & libraries has moved to version 1.5. The solution is to load the jdk1.4.2 and configure jpublisher to use this. So far so good except this is not available on some platforms, Windows - 64 bit (not itanium).
    The configuration is proving very challenging but will hopefully reap rewards.
    (Thought I would give you some background to my experience).
    Anyway my question to you is having looked at Jdeveloper it appears to do almost anything except consume services into the database, also with Java now being at version 1.5 outside the database for 10gR2 and supporting 1.4 inside, do you see some alignment of these in future database releases?
    Finally off to buy your book now as no doubt there is a huge amount more to learn.
    Kind Regards
    David O'Donnell

  • Executing a Job via Web Services using a Server Group?

    When executing a job from Designer or from the Management Console you have the option to select a specific job server or a server group.
    But when executing a job via Web Services it uses the first job server with which the repository was associated (i.e. the first job server listed in AL_MACHINE_INFO).
    Is there a way to get the job to execute using a server group instead simply choosing the first job server in the list?
    Note: We are using FIM to execute the jobs via web services and don't have access to additional parameters.

    Joe
    Here is the where you can change the server group/job server.
    - After you add the Batch/real Time job as a webservice.
    - Go to the Webservice Batch Job Attribute and from the drop down choose the "Enable job Attributes" and hit apply.
    - After this if you use the WSDL URL http://<Data Services Web Server>:<Web server Port>/DataServices/servlet/webservices?ver=2.0&wsdlxml
    - You will see the job attributes that you can change based on the allowed parameters mentioned in the documentation.
    The batch job or real time job is published without the job parameters by default. Once you enable the job attributes, remove and re publish the batch job as a web service. The application making the call to this webservice should be able to read the WSDL generated by Data services and pickup all the input and output parameters of the method.
    Refer to the Data Services Integrator guide (Chapter 3 : pages 25 - 33 ) to get the exact parameter values permitted via Data Services jobs called via web services.
    Hope this helps!
    Thanks & Regards
    Tiji

  • Best practice for integrating oracle atg with external web service

    Hi All
    What is the best practice for integrating oracle atg with external web service? Is it using integration repository or calling the web service directly from the java class using a WS client?
    With Thanks & Regards
    Abhishek

    Using Integration Repository might cause performance overhead based on the operation you are doing, I have never used Integration Repository for 3rd Party integration therefore I am not able to make any comment on this.
    Calling directly as a Java Client is an easy approach and you can use ATG component framework to support that by making the endpoint, security credentials etc as configurable properties.
    Cheers
    R
    Edited by: Rajeev_R on Apr 29, 2013 3:49 AM

  • How to integrate Oracle BI Publisher via Web Services in Oracle Forms.

    hi
    I hope you fine and happy. I think you hear about the new reporting tool (Oracle BI Publisher).
    Really it is a great tool. I need someone help me; How I can integrate Oracle BI Publisher via Web Services in Oracle Forms.
    I got the guidelines of this integration process from ORACLE.
    But, when I compile the script of publicreportserviceclient.callRunReport - the script running the report -, I get some errors in PL/SQL compiler
    http://www.oracle.com/technology/products/xml-publisher/index.html

    ==========================
    PL/SQL CODE:
    ==========================
    DECLARE
         RAISEDEXCEPTION ORA_JAVA.JOBJECT;
    REPORT_PATH VARCHAR2(200);
    PARAM_NAME VARCHAR2(200);
    PARAM_VALUE VARCHAR2(200);
    UN VARCHAR2(200);
    PW VARCHAR2(200);
    FORMAT VARCHAR2(200);
    TEMPLATE VARCHAR2(200);
    OUT_FILE VARCHAR2(200);
    OBJ ORA_JAVA.JOBJECT;
    BEGIN
    OBJ := PUBLICREPORTSERVICECLIENT.NEW();
    REPORT_PATH := '/LEARN/EMPLOYEES/EMPLOYEES.XDO';
    PARAM_NAME := 'P_DEPTNO';
    PARAM_VALUE := '50';
    UN := 'Administrator';
    PW := 'Administrator';
    FORMAT := 'PDF';
    TEMPLATE := 'Simple';
    OUT_FILE := 'C:\DevSuiteHome_1\j2ee\home\default-web-app\' || 'TEST';
    --PUBLICREPORTSERVICECLIENT.CALLRUNREPORT(OBJ,:REPORT_PATH,PARAM_NAME,:PARAM_VALUE,UN,PW,:FORMAT,:TEMPLATE,OUT_FILE);
    PublicReportServiceClient.callRunReport( REPORT_PATH,
    PARAM_NAME,
    PARAM_VALUE,
    UN,
    PW,
    FORMAT,
    TEMPLATE,
    OUT_FILE);
    WEB.SHOW_DOCUMENT('HTTP://127.0.0.1:8889/j2ee/' || 'TEST');
    END;
    ==========================
    JAVA CODE FOR callRunReport FUNCTION:
    ==========================
    public void callRunReport (String reportPath, String[] paramName, String[] paramValue, String
    username, String password, String format, String template, String outFile)
    try {
    bip_webservice.proxy.PublicReportServiceClient myPort =
    new bip_webservice.proxy.PublicReportServiceClient();
    // Calling runReport
    ReportRequest repRequest = new ReportRequest();
    repRequest.setReportAbsolutePath(reportPath);
    repRequest.setAttributeTemplate(template);
    repRequest.setAttributeFormat(format);
    repRequest.setAttributeLocale("en-US");
    repRequest.setSizeOfDataChunkDownload(-1);
    if (paramName != null)
    ParamNameValue[] paramNameValue = new ParamNameValue[paramName.length];
    String[] values = null;
    for (int i=0; i<paramName.length; i++)
    paramNameValue[i] = new ParamNameValue();
    paramNameValue.setName(paramName[i]);
    values = new String[1];
    values[0] = paramValue[i];
    paramNameValue[i].setValues(values);
    repRequest.setParameterNameValues(paramNameValue);
    else
    repRequest.setParameterNameValues(null);
    ReportResponse repResponse = new ReportResponse();
    repResponse = myPort.runReport(repRequest,username,password);
    byte[] baReport = repResponse.getReportBytes();
    FileOutputStream fio = new FileOutputStream(outFile);
    fio.write(baReport);
    fio.close();
    } catch (Exception ex) {
    ex.printStackTrace();

  • GTC Connector using SPML Format Provider and Web Services Transport Provide

    Hello All,
    Did any body create a GTC connector which uses SPML Format for Format Provider and Web Services format for Transport Provider?
    Is there any doc which talks about the same?
    I need to provision to a system over web services and I thought GTC using the above formats should be an easy approach. Am I right?
    I was trying to follow:
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e14309/devgtc.htm#BABDFDFE
    But Iam getting lost in the immerse details.
    Thanks in advance.

    Hi ,
    I tried creating one and am getting the following error while provisioning:
    SPML Response failed V2 schema validation
    Th eoracle document says :Ensure that the SPML response returned by the target system conforms to the SPML V2 standard specification
    Please help me with the same. What is it that needs to be done here.
    Thanks
    WIP

  • Apex and web services

    Hello everyone,
    I've started looking into SOAP and web services, and have used Tyler Muth's tutorial to email and FTP BI publisher reports using APEX.
    I was wondering if it is possible to create an on-screen report (i.e. an interactive report) using a web service?
    I've managed to return values to form fields using web services...I was always under the impression, from before I looked at web services, that creating an on-screen report using data from a web service was one of the main things you could do....
    Please could someone let me know if this is possible, and roughly how you'd go about doing it?
    Thank you in advance.
    Robin

    Hi Robin,
    I think I have implemented the same thing which you are trying to do
    The followinf is the response of a web service from BI Publisher. You can check the response using the statement
    select clob001 from wwv_flow_collections where where collection_name = <name_of_the_collection_u_specified_while_sending_the web_service_request>
    <getScheduledReportInfoResponse xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService">
    <getScheduledReportInfoReturn xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:JobInfo" xmlns:ns1="http://xmlns.oracle.com/oxp/service/PublicReportService">
    <ns1:burstingOption>false</ns1:burstingOption>
    <ns1:createdDate>2009-11-23T06:03:10.000Z</ns1:createdDate>
    <ns1:deliveryDescription xsi:nil="true"/>
    <ns1:deliveryParameters xsi:nil="true"/>
    <ns1:endDate xsi:nil="true"/>
    <ns1:jobGroup>administrator</ns1:jobGroup>
    <ns1:jobID>366</ns1:jobID>
    <ns1:jobName>603219960-ADMIN-Smaller result set</ns1:jobName>
    <ns1:locale>en_GB</ns1:locale>
    <ns1:reportName>Adhoc report</ns1:reportName>
    <ns1:reportParameters xsi:type="ns1:ParamNameValue">
    <ns1:multiValuesAllowed>false</ns1:multiValuesAllowed>
    <ns1:name>SORT_COLUMN_ADHOC</ns1:name>
    <ns1:values>
    <ns1:item>09-NOV-2009 07:02:00|11-NOV-2009 07:02:00|2077927020;;;;;;;;;;;;;;;;;;;;|;;;;;;;;;;;;;;;;;;;;|;;;;;;;;;;;;;;;;;;;;||||||S|B</ns1:item>
    </ns1:values>
    </ns1:reportParameters>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportSet>false</ns1:reportSet>
    <ns1:reportURL>/Navada/Normal/Adhoc report/Adhoc report.xdo</ns1:reportURL>
    <ns1:runType>Run Once Only</ns1:runType>
    <ns1:scheduleDescription xsi:nil="true"/>
    <ns1:scheduleParameters xsi:nil="true"/>
    <ns1:startDate>2009-11-23T06:03:10.000Z</ns1:startDate>
    <ns1:status>Unknown</ns1:status>
    <ns1:username>administrator</ns1:username>
    </getScheduledReportInfoReturn>
    <getScheduledReportInfoReturn xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:JobInfo" xmlns:ns2="http://xmlns.oracle.com/oxp/service/PublicReportService">
    <ns2:burstingOption>false</ns2:burstingOption>
    <ns2:createdDate>2009-11-20T13:00:44.000Z</ns2:createdDate>
    <ns2:deliveryDescription xsi:nil="true"/>
    <ns2:deliveryParameters xsi:nil="true"/>
    <ns2:endDate xsi:nil="true"/>
    <ns2:jobGroup>administrator</ns2:jobGroup>
    <ns2:jobID>365</ns2:jobID>
    <ns2:jobName>603219960-ADMIN-test again</ns2:jobName>
    <ns2:locale>en_GB</ns2:locale>
    <ns2:reportName>Adhoc report</ns2:reportName>
    <ns2:reportParameters xsi:type="ns2:ParamNameValue">
    <ns2:multiValuesAllowed>false</ns2:multiValuesAllowed>
    <ns2:name>SORT_COLUMN_ADHOC</ns2:name>
    <ns2:values>
    <ns2:item>20-SEP-2009 13:55:00|20-NOV-2009 13:55:00|01*;;;;;;;;;;;;;;;;;;;;|;;;;;;;;;;;;;;;;;;;;|;;;;;;;;;;;;;;;;;;;;||||||S|B</ns2:item>
    </ns2:values>
    </ns2:reportParameters>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportSet>false</ns2:reportSet>
    <ns2:reportURL>/Navada/Normal/Adhoc report/Adhoc report.xdo</ns2:reportURL>
    <ns2:runType>Run Once Only</ns2:runType>
    <ns2:scheduleDescription xsi:nil="true"/>
    <ns2:scheduleParameters xsi:nil="true"/>
    <ns2:startDate>2009-11-20T13:00:44.000Z</ns2:startDate>
    <ns2:status>Unknown</ns2:status>
    <ns2:username>administrator</ns2:username>
    </getScheduledReportInfoReturn>
    </getScheduledReportInfoResponse>
    I use the following query to show a report in top of this response
    select extractValue(value(t),'/*/burstingOption','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "burstingOption"
    , replace(trim(trailing 'Z' from extractValue(value(t),'/*/createdDate','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"')),'T',' ') "createdDate"
    , extractValue(value(t),'/*/deliveryDescription','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "deliveryDescription"
    , replace(trim(trailing 'Z' from extractValue(value(t),'/*/endDate','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"')),'T',' ') "endDate"
    ,replace(replace(substr(extractValue(value(t),'/*/endDate','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') ,1,(instr(extractValue(value(t),'/*/endDate','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') ,'.')-1)),'T',' '),':','-') "endDate1"
    , extractValue(value(t),'/*/jobGroup','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "jobGroup"
    , to_number(extractValue(value(t),'/*/jobID','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"')) "jobID"
    , extractValue(value(t),'/*/jobName','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "jobName"
    , substr(extractValue(value(t),'/*/jobName','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') ,(instr(extractValue(value(t),'/*/jobName','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') ,'-')+1)) "jobName1"
    , extractValue(value(t),'/*/locale','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "locale"
    , extractValue(value(t),'/*/reportName','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "reportName"
    , extractValue(value(t),'/*/reportSet','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "reportSet"
    , extractValue(value(t),'/*/reportURL','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "reportURL"
    , extractValue(value(t),'/*/runType','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "runType"
    , extractValue(value(t),'/*/scheduleDescription','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "scheduleDescription"
    , extractValue(value(t),'/*/scheduleParameters','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "scheduleParameters"
    , replace(trim(trailing 'Z' from extractValue(value(t),'/*/startDate','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"')),'T',' ') "startDate"
    , extractValue(value(t),'/*/status','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "status"
    , extractValue(value(t),'/*/username','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "username"
    from wwv_flow_collections c, table(xmlsequence(extract(xmltype.createxml(c.clob001),'//getScheduledReportInfoResponse/getScheduledReportInfoReturn','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"'))) t
    where c.collection_name = 'SCHEDULED_JOB_REPORT'
    Regards,
    Vishal

  • Requiremen​t to have email and web service.

    I have Verizon wireless and they are telling me that I am required to have the email and web service on the Blackberry and I was also told that I needed for the operation of the phone to operate as a regular phone. Is this true? I wanted them to take off the email and web service until I could get another job because I can't afford the 30.00 dollars per month but sill have the phone use as a regular phone. I was wondering if it is Blackberry or Verizon that is requiring this.

    It is Verizon requiring that. You are using their network, and they have a right to require what they wish while you use their network.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Oracle schedule jobs

    Hi Gurus,
    I need to learn more about Oracle schedule jobs, how they are configured, how they are created/deleted/stopped/started etc. Do you have some articles/books etc.
    Also very importantly we are migrating from 9i to 11g. And we have some schedule jobs in 9i. When the DB is imported from 9i to 11g, what additional steps do I need to do to schedule them Ok in the new DB.
    Thanks
    Amitava.

    hi
      you can use dbms_job package to creating,deleting and stopping job  and please refer to below link
    http://docs.oracle.com/cd/B19306_01/appdev.102/b14258/d_job.htm
    yasin

  • Problem running report with BI Publisher and Web Service

    Hello,
    I actually try to run a Bi Publisher report via the Web Service.
    I use the following documents:
    - http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e10416/bip_webservice_101331.htm
    - "How to integrate Oracle BI Publisher via Web Services in Oracke Forms"
    Everything works fine. But when I try to copy it on local computer the file is 0 length. I use the "getReportBytes" method.
    Here is the code I tried with:
    String userName = “Administrator”;
    String passWord = “Administrator”;
    System.out.println(”calling ” + myPort.getEndpoint());
    System.out.println(myPort.validateLogin(userName,passWord));
    ReportRequest repReq = new ReportRequest();
    ReportResponse repRes = new ReportResponse();
    repReq.setAttributeFormat(”pdf”);
    repReq.setAttributeLocale(”en-US”);
    repReq.setAttributeTemplate(”World Sales”);
    repReq.setReportAbsolutePath(”/Sales Manager/World Sales/World Sales.xdo”);
    repRes = myPort.runReport(repReq,userName,passWord);
    System.out.println(repRes.getReportContentType());
    byte[] binaryBytes = repRes.getReportBytes();
    OutputStream out = new FileOutputStream(”D:
    out.pdf”);
    out.write(binaryBytes);
    out.close();
    System.out.println(”Success for Run Report”);
    Thanks in advance.

    Hi,
    I assume that you use 10.1.3.4. If not, my hint is not relevant for you ....
    There's a new parameter in the web service API to set the Chunk-Size. Unfortunaltely is the default value not so, that the behaviour is like in older releases (no chunk-size ... the whole document at once). If you set the chunk size to -1, you should get your document. So try to add
    repRequest.setSizeOfDataChunkDownload(-1);
    regards
    Rainer

  • XML and Web Service Data Source Missing in Crystal Reports for VS

    I would like to use a Web Service as the data source for a Crystal Report that will be running outside of my Visual Studio application.  So setting the data source to the web service in code is not possible.  My understanding is Crystal Reports has a connection (in the Database Expert under New Connection) named XML and Web Service.  Here you can select web service and enter the WSDL URL for the web service.  However it does not appear in the list for Crystal Reports for Visual Studio.  Does this connection type come with the Visual Studio version of Crystal Reports and if not is their a way to obtain it? 
    Thank you for your assistance.

    None of the bundled versions of CR have the driver. Reason is that the driver responsible for these connections requires the Java framework and I suspect MS would not be too pleased if we installed the Java framework. The stand alone versions, since they are not part of any bundle can and do install the Java framework and the driver. Note that even the latest release of CR - CRVS2010 does not have the driver as it essentially becomes a bundle or a VS2010 plug-in.
    So, the short of it is; you have to obtain a stand-alone version of CR. I'd recommend CR 2008 (12.x) as CRXI R2 will run out of support in June of this year.
    - Ludek

  • Can't run wiki and web services at the same time?

    I'm a newbie with Lion Server, but I've been running several web sites successfully for about 6 months.  I'm up to Server 10.7.4.
    I've been trying ever since the first installation of Server to get the wiki service running.  I had absolutely no luck until I turned OFF the web service (always got the "URL does not exist" error when I tried to create a group wiki from inside the Server app).  With the web service off, it all starts up fine and I created my first wiki (woohoo).  Turning web service back on kills access to the wiki.  I don't find reference to this in any of the dicussions, and especially not in Apple's documentation.
    Are the Wiki and Web services mutually exclusive?  Or is there a way around this?
    I'm using Dyndns to provide me with sub-domains to use, and I've dedicated one of them to the wiki service.  Traffic comes in on port 8080, where my web sites are on port 80.
    Thanks for any pointers...
    edbok

    LR supports tethering using a Canon DLL and EOS Utility probably also supports tethering or at least uses something from a similar Canon DLL.  You probably cannot have two different versions of that DLL loaded at the same time, so it makes sense there are problems.

Maybe you are looking for

  • Is it possible to connect an external blue ray drive via USB with a mac mini to watch HD videos?

    Is it possible to connect an external blue ray drive to a mac mini to watch HD videos? Iy yes, what additional software / hardware is necessary?

  • Download trouble with Firefox

    I implemented download in apex application with PL/SQL process (process point On Load - Before Header). Anonymous block: declare l_blob BLOB; l_length number; begin dbms_lob.createtemporary(l_blob, false); dbms_lob.writeappend(l_blob, length('test'),

  • NVL in view: discrepancy between 10G and 11G

    Hi, I've discovered some discrepancy between 10G and 11G in a way how view deals with NVL-based column in a where clause. Here are two examples: *10G:* Connected to: Oracle Database 10g Release 10.2.0.4.0 - Production SQL> create table test_nvl (null

  • Sprite color Change on mousEnter?

    I am trying to make a sprite change color when my mouse goes over it and chage back with my mouse leaves it. I tryed on mouseEnter me sprite(1).foreColor = color(0,0,100) end mouseEnter and the sprit does change color but it does not change back. Wha

  • I have upgraded from Photoshop Elements 4.0 to 10.

    In the old system I was able to use the Print Multiples to output a print of 4 pictures of the same size on an A4 sheet. This facility is not available in version 10. There is no Print Multiples & the set print features do not output a print of this