empty pdf report created by web service-solved

Hi, I'm testing the web service for BI Publisher with a data source xml and evn if I get no error in jdeveloper, I get a blank report. Can we see something wrong with my call to the webservice?

Public Shared Sub main (String [] args) {}
try {}
bip_webservice.proxy.PublicReportServiceClient myPort = new bip_webservice.proxy.PublicReportServiceClient ();
System.out.println ("calling" + myPort.getEndpoint ());
String username = "cbashyb";
Password String = 'test ';
String reportAbsolutePath = "/ ~cbashyb/Contract contract renewal/Renewal.xdo";
Test runReport
ReportRequest repRequest = new ReportRequest();
repRequest.setReportAbsolutePath (reportAbsolutePath);
repRequest.setAttributeTemplate ("Contract_Renewal_Upgrade");
repRequest.setAttributeFormat ("pdf");


ReportResponse repResponse = new ReportResponse();
repResponse = myPort.runReport (repRequest, username, password);
String contentType = repResponse.getReportContentType ();
System.out.println (ContentType);
Byte [] baReport = repResponse.getReportBytes ();
FileOutputStream fio = new FileOutputStream ("C:\\Documents and Settings\\cbashyb\\My Documents\\XML Publisher\\renewal letter\\Brian.pdf");
FIO. Write (baReport);
FIO. Close();

Published by: user647407 on December 9, 2008 08:47

Set this,

repRequest.setSizeOfDataChunkDownload(-1);

You should be able to download the data.

Tags: Business Intelligence

Similar Questions

  • Error when creating a Web Service reference. ORA-29273: HTTP request failed ORA-12535: TNS:operation expired

    I have a need to call a web service from an APEX application, so I thought I'd try to experience everything first call a web service that is accessible to the public from W3Schools.  The URL of the WSDL that I use is:

    http://www.w3schools.com/webservices/TempConvert.asmx?WSDL

    The 1st thing I try in APEX is to create a Web Service based on the above URL reference.  Problem is that I get the following error:

    ORA-29273: HTTP request failed ORA-12535: TNS:operation expired

    Any ideas?

    I even tried with some other URL WSDL and always the same exact error.

    Thanks in advance.

    Hello

    Maybe your database server have firewall that blocks to internet connection?

    Kind regards
    Jari

  • Create the web service for foreign service composite of soa

    Hello

    only a few things to know.

    Worth better tick: copy wsdl and its dependend in the project artifacts?

    Which option to choose in Participation of the Transaction?

    Tryng to create a Web service to call a service proxy on OSB.

    Thank you.

    Fairlie

    Fairlie,

    Here you can find details on the transaction of participation parameter values - http://docs.oracle.com/cd/E25054_01/dev.1111/e10224/sca_bindingcomps.htm.

    This setting basically said if the appeal service should participate in the transactions of the process (if there is). If you want to keep the transactionality between the process and the OSB service, you'd better direct soa user liaison who takes in charge transactions. If you the OSB is transactionless, you can leave it blank.

    With respect to the WSDL, I would avoid the copy, but you should interest you when you deploy your process between different environment, for example, test, and production. In this case, you provide the configuration level to replace the URL of the WSDL for production test.

    See you soon,.

    Anatoli

  • How to create a Web services to an external service and deploy to weblogic

    Hello

    I am trying to create a Web service for the wsdl
    http://ABR.business.gov.au/abrxmlsearch/ABRXMLSearch.asmx?WSDL
    who will help me to validate the number of the NBA.

    And I would like to create a war file and deploy it to a weblogic server,
    But the server is running behind the firewall,
    I could run the webservice of jdeveloper, but when deploy us in weblogic server
    the Web service does not work,

    We need to give the parameter in the Web service itself or the proxy details must exist in the weblogic proxy server?

    Thank you.

    With respect,
    Kali.
    OSSI.

    Kali,

    IMO, it would be preferable to apply the proxy settings on a global scale.

    I can't see a specific proxy settings page on my weblogic instance. Perhaps, you must add the properties of the JAVA virtual machine directly in the weblogic startup script.

    Edit: For a server JVM Arguments can be configured in the WLS console-> choose the server and go to Configuration-> start server.

    Published by: BijeshKrishnadas on October 18, 2010 21:01

  • Cannot create the web service stored procedure.

    I can create more web services is by right clicking on the package of the stored procedure in the db connection. This good worked before and I cannot explain why I can't see this option. Grateteful for tips on why it has stopped working.

    '2009' is what Oracle said.

    John

  • Fail to create the web service with the type of data defined by the user using the jwsc Ant task!

    Hello everyone!

    I used JAXWS to create WSDL from a file of Jehovah's witnesses.

    It's my TJ:
    -----------------------------------------------------------------------------------
    package ws;

    Import javax.jws.WebService;
    Import javax.jws.WebMethod;
    ws import. MyDataType;

    *@WebService*
    * public class MyWebService {*}
    public MyWebService()
    *{*
    *}*
    *@WebMethod*
    public MyDataType MyWebMethod (MyDataType mdt)
    *{*
    * / / mdt.setS ("I got it!"); *
    return mdt;
    *}*
    *}*
    -----------------------------------------------------------------------------------


    and this is my type of data:
    -----------------------------------------------------------------------------------
    package ws;

    * public class MyDataType {*}


    String ^ s;
    public MyDataType()
    *{*

    *}*
    * public String getS() {*}
    return s;
    *}*

    * Sets public Sub (String s) {*}
    This.s = s;
    *}*
    *}*
    -----------------------------------------------------------------------------------



    and that's my Ant build.xml
    -----------------------------------------------------------------------------------
    * < by default of the project = "all" > *.
    * < property name = "weblogic.jar.classpath" value="D:/Projects/bea103/wlserver_10.3/server/lib"/ > * "
    * < taskdef name = "jwsc" classname = "weblogic.wsee.tools.anttasks.JwscTask" > *.
    * < classpath > *.
    * < path id = "weblogic.classpath" > * "
    * < pathelement path = "WEBLOGIC_HOME" / >. *
    * < fileset dir = "${weblogic.jar.classpath}" > *.
    * < include name = "weblogic.jar" / > *.
    * < / fileset > *.
    * < / path > *.
    * < / classpath > *.
    * < / taskdef > *.
    * < target name = "all" depends = "clean, build-service" / > *.
    * < name target 'clean' = > *.
    * < delete dir = "output" / > *.
    * < / target > *.
    * < name target = 'build-service' > *.
    * <!-add jwsc and related tasks here - > *.
    * < jwsc srcdir = "" destdir = "wsoutput" > * "
    * < jws file = "MyWebService.java" type = "JAXWS" / > * "
    * < / jwsc > *.
    * < / target > *.
    * <!-< target name = "deploy" > - > <! - add wldeploy task here - > <!-< / target >-> *.
    * < / project > *.
    -----------------------------------------------------------------------------------

    I have run the Ant task, but I get this error:
    -----------------------------------------------------------------------------------
    BuildFile: build.xml

    clean:

    build service:
    [jwsc] TJ: processing module /MyWebService
    [jwsc] The analysis of source files
    [jwsc] The analysis of source files
    [jwsc] 1 TJS files processing for the module /MyWebService
    * [jwsc] [JAM] WARNING: could not resolve class MyDataType *.
    [jwsc] TJ: C:\Documents and Settings\samimi\IdeaProjects\SampleWebService\src\ws\MyWebService.java valid.
    [jwsc] Treatment of the web services JAX - WS 1...
    * [jwsc] error: couldn't get TypeDeclaration for: MyDataType apt tour: 1 *...
    ...................
    BUILD FAILED
    C:\Documents and Settings\samimi\IdeaProjects\SampleWebService\src\ws\build.xml:
    19: weblogic.wsee.tools.WsBuildException: JAX - WS web services processing error
    -----------------------------------------------------------------------------------

    Please help me solve this problem.
    Thank you
    Mojir

    I tried to compile your source code and received the same exception.
    However after compiling the MyDataType.java before running the jwsc task, I was successfully able to build the service.

    Please try the ant script below and let me know the result:

    **
    *     *
    *
    *



    <>
    srcdir = "${source.dir}" "

    DESTDIR = "${Build.dir} '"
    keepGenerated = 'true '.
    classpath = "${Class.Path} '"
    Debug = 'true '.
    verbose = "false" >

         


              

    Thank you
    Sandeep

  • Problem running the report with the Web Service and BI Publisher

    Hello

    In fact, I'm trying to run a report of Bi Publisher 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 the form of Oracke.

    Everything works fine. But when I try to copy the file on the local computer is 0 length. I use the method of "getReportBytes".
    Here's 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();
    RepRes ReportResponse = new ReportResponse();

    repReq.setAttributeFormat ("pdf");
    repReq.setAttributeLocale("en-US");
    repReq.setAttributeTemplate ("sales world");
    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 performance report');

    Thanks in advance.

    Hello

    I assume you are using 10.1.3.4. Otherwise, my index is not relevant to you...

    There is a new parameter in the web service API to set the size of the segment. HéLas is by default not so, the behavior is as in versions (not size segment... the entire document at once). If you set the size of segment-1, you should get your document. So, try adding
    repRequest.setSizeOfDataChunkDownload(-1);

    concerning
    Rainer

  • Cannot create the web service proxy in jdeveloper

    Hi all

    I'm unable to create a proxy web service by using the URL of the web service (https://domains.live.com/service/managedomain2.asmx?wsdl). I get an error saying "no WSDL not could be found. I am able to open the same URL in the browser. As the web service is secured by SSL, do I need to add anything on the jdeveloper to access this web service? Help, please


    Note: The web service must be called on https

    -MJ

    Hello

    The parameters are the proxy settings that are necessary for JDeveloper to connect to external sites - other than those available in the internal intranet.
    To connect to internet/external sites, you must have for this parameter. Here, as you try to connect to the external site - Windows live, you will need these settings.

    Thank you
    Nini

  • Using PL/SQL to create a Web Service?

    Hello world:

    I have a question, I have not found in the research of wire. The light went off in my head on SOA and weakly couples services... Perl farm there, c# shut up and PL/SQL Ranch right here and so on... all the outputs of product in XML format for common use. I know that we can query results PL/SQL in XML format with some effort, but I want to know is how completely (Stepwise A - Z) create a PL/SQL web service and SOA standard. So this piece of the pie I'm missing?

    Thank you

    Preston
    See you soon!

    You are looking for something like this?

    Web Services using native Oracle XML DB

  • Is it possible to access a pdf form basic html web service?

    I was wondering if it is possible to send a request of livecycle web service and parse the returned data.

    A small example of what I think is querying a database like wolfram alpha by using their html query.

    It is in the format http://api.wolframalpha.com/v2/query?input=pi & appid = XXXX. where "pi" is the query and the XXXX is the specific user id

    The website will return an xml file.

    Anyway is to send this html with any query from a text field and the response process?

    Thank you!

    Hello

    Naseko is just using the formcalc get function and I use it to access the information to google calendar, you can also call the function get formcalc from JavaScript as described here http://blogs.adobe.com/formfeed/2009/02/calling_formcalc_functions_fro.html.

    The main problem I have is with the yellow bar message and popup message saying you want to allow access to api.wolframalpha.com (or other).  I think you can get around this by certifing the form, but I don't have access to the servre products to do so.

    Anyway, if it helps to take a look at https://workspaces.acrobat.com/?d=vFcW-9OVSm * BdV6GyFfUIg you need to change the code for the button click to specify your own appid, but the code is simple enough;

    var response = FormCalc.Function.Get ("http://api.wolframalpha.com/v2/query?appid=> & entry = capital % 20% 20australia");

    response = response.replace (/ ^<\?xml\s+version\s*=\s*(["'])[^\1]+\1[^?]*\?>/, "");

    var responseNode = xfa.datasets.createNode ("dataGroup", "response");

    responseNode.loadXML (response, false, false);

    var response = responseNode.resolveNode ("queryresult.pod. (title). Value == 'Result') ") .subpod." PlainText.Value;

    Console.println (Answer);

    If this code sends a request to 'the Australia capital' and gets an answer 'Canberra, Australian Capital Territory, Australia'

    Replace > with your appid and relating to the sample related to the workings of FormCalc.Function.Get.

    Also, expect Designer to plant a few times all operate.

    Hope this helps,

    Bruce

  • [ADF, JDev12.1.3] How to design and integrate PDF reports in my web application?

    Hallo,

    I would like to know if JDeveloper offers the functionality for creating visually (dependent or not data db) reports for which the client can see the preview and then print the PDF file.

    It would be very useful to design a report like UI (so for example drag attributes from VO instance to the report).

    Thank you

    Federico

    No, there are none of these available components. You will need to create one yourself (doable but complicated) or use another product the report design, and then call the report of your app engine to return the repost for example in pdf format. The user can to decide to print it or not. At this point, the report is already downloaded on the client as for example pdf.

    Timo

  • Report on web service

    APEX 4.0.2

    Created a RESTful web service with parameters of entry and exit. Created a region of report on the web service. It generates a SQL report with the following query
    select extractValue(value(t),'/*/op1') "op1"
         , extractValue(value(t),'/*/op2') "op2"
     from wwv_flow_collections c, 
          table(xmlsequence(extract(c.xmltype001,'/path/to/output'))) t 
    where c.collection_name = 'OUTPUT'
    1. how and when the web service is called to fill the collection?
    2. how the input parameters are passed to the web service?

    Thank you

    Create a loading before that process the header to fill the collection

  • How to plan a report BI to run daily/weekly by a call to Web Service

    Hello

    I'm a race report BI of apex via BPEL. However, I am planning the daily/weekly report by the web service call.

    When you're logged in BI Publisher, there are options to plan the report as daily/weekly, Sun, my... etc.
    But I did find the same options in the Web Service of BI Publisher, except the <>, < repeatInterval > repeatCount.

    Please inform as to schedule the report daily, weekly, monthly etc by a Web Service call.
    Here is the soap envelope that works very well to run the report immediately.

    < soapenv:Envelope xmlns:soapenv = 'http://schemas.xmlsoap.org/soap/envelope/' xmlns:pub = "http://xmlns.oracle.com/oxp/service/PublicReportService" >
    < soapenv:Header / >
    < soapenv:Body >
    < pub: scheduleReport >
    < pub: scheduleRequest >

    < pub: deliveryRequest >
    < / pub: deliveryRequest >

    < pub: reportRequest >
    PDF of < pub: attributeFormat > < / pub: attributeFormat >
    EN < pub: attributeLocale > < / pub: attributeLocale >
    defaultlayout < pub: attributeTemplate > < / pub: attributeTemplate >

    < pub: reportAbsolutePath > /myfolder/test_report3/test_report.xdo < / pub: reportAbsolutePath >
    < pub: produitLogiciels > cid:642449734574 < / pub: produitLogiciels >

    < / pub: reportRequest >

    < pub: userJobName > testjob < / pub: userJobName >
    < / pub: scheduleRequest >
    < pub: userID > administrator < / pub: userID >
    < pub: password > administrator < / pub: password >
    < / pub: scheduleReport >
    < / soapenv:Body >
    < / soapenv:Envelope >



    Thank you
    Yogi

    Published by: Yogi 20 Sep, 2010 14:47

    You must use the function 'ScheduleRequest', in which you cronExpression in it, here, you can provide your personalized schedule

  • Problem creating Web Service in 11g of PeopleSoft WSDL

    I created a Web Service in PeopleSoft (8.48 tool version 9.0) of a component based on POSITION_DATA Interface. Trying to create a web service in JDeveloper 11 g to connect to it. Create a new Web Service, Web Service Proxy type. Select the Style of logic Web JAX - RPC. Paste the WSDL (http://xxx.com:11001/PSIGW/PeopleSoftListeningConnector/CI_Z_POSITION_DATA.1.wsdl) address. Any type or style, I get the same error.

    Document: http://xxx.com:11001/PSIGW/PeopleSoftListeningConnector/CI_Z_POSITION_DATA.1.wsdl is not a wsdl file or does not have an element root "definitions" in the namespace "http://schemas.xmlsoap.org/wsdl/" or the "http://www.w3.org/2004/08/wsdl" namespace :
    at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseDefinition(WSDLReaderImpl.java:723)
    at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:661)
    at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:610)
    at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:333)
    at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:570)
    at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:548)
    at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDL(CachedWSDLReader.java:372)
    at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDL(CachedWSDLReader.java:294)
    at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.fetchWSDL(SpecifyWsdlPanel.java:1002)
    at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlAndMappingFilePanel.fetchWSDL(SpecifyWsdlAndMappingFilePanel.java:232)
    to oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$ 1.run(SpecifyWsdlPanel.java:346)
    at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:643)
    at java.lang.Thread.run(Thread.java:619)

    The WSDL looks like this. When I access them directly in Internet Explorer it says that it is active. Anyone have any ideas?
    <? XML version = "1.0"? >
    < wsdl:definitions name = "CI_Z_POSITION_DATA.1" targetNamespace = "http://xmlns.oracle.com/Enterprise/Tools/services/CI_Z_POSITION_DATA.1" xmlns:M264705. V1 = xmlns:M650531 'http://xmlns.oracle.com/Enterprise/Tools/schemas/M264705.V1 '. V1 = xmlns:M970925 'http://xmlns.oracle.com/Enterprise/Tools/schemas/M650531.V1 '. V1 = "http://xmlns.oracle.com/Enterprise/Tools/schemas/M970925.V1" xmlns:plnk = "http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap = "http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns = "http://xmlns.oracle.com/Enterprise/Tools/services/CI_Z_POSITION_DATA.1" xmlns:wsdl = "http://schemas.xmlsoap.org/wsdl/" xmlns:wsp = "http://schemas.xmlsoap.org/ws/2002/12/policy" >
    < wsp:UsagePolicy wsdl: required = "true" / >
    < plnk:partnerLinkType name = "CI_Z_POSITION_DATA_PartnerLinkType" >
    < plnk:role name = "CI_Z_POSITION_DATA_Provider" >
    < name plnk:portType = "tns:CI_Z_POSITION_DATA_PortType" / >
    < / plnk:role >
    < / plnk:partnerLinkType >
    WSDL: < types >
    < xsd: Schema elementFormDefault = "qualified" container = "http://www.w3.org/2001/XMLSchema" >
    < xsd: import namespace = schemaLocation="M970925.V1.xsd"/ "http://xmlns.oracle.com/Enterprise/Tools/schemas/M970925.V1" >
    < xsd: import namespace = schemaLocation="M650531.V1.xsd"/ "http://xmlns.oracle.com/Enterprise/Tools/schemas/M650531.V1" >
    < xsd: import namespace = schemaLocation="M264705.V1.xsd"/ "http://xmlns.oracle.com/Enterprise/Tools/schemas/M264705.V1" >
    < / xsd: Schema >
    < / wsdl: types >
    < name = "M970925. "V1 wsdl: message" >
    < wsdl:documentation > M970925 < / wsdl:documentation >
    < element wsdl: part = 'M970925. V1:Get__CompIntfc__Z_POSITION_DATA"name ="parameter"/ >
    < / wsdl: message >
    < name = "M650531. "V1 wsdl: message" >
    < wsdl:documentation > M650531 < / wsdl:documentation >
    < element wsdl: part = 'M650531. V1:Get__CompIntfc__Z_POSITION_DATAResponse"name ="parameter"/ >
    < / wsdl: message >
    < name = "M264705. "V1 wsdl: message" >
    < wsdl:documentation > M264705 < / wsdl:documentation >
    < element wsdl: part = 'M264705. V1:IBResponse"name ="parameter"/ >
    < / wsdl: message >
    < name of wsdl: portType = "CI_Z_POSITION_DATA_PortType" >
    < name of wsdl: Operation = "CI_Z_POSITION_DATA_G" >
    < wsdl:documentation > CI_Z_POSITION_DATA_G < / wsdl:documentation >
    < message wsdl: Input = 'tns:M970925. V1 "name ="M970925." V1 "/ >"
    < message wsdl: output = 'tns:M650531. V1 "name ="M650531." V1 "/ >"
    < message wsdl: Fault = "tns:M264705. V1 "name ="M264705." V1 "/ >"
    < / wsdl: Operation >
    < / wsdl: portType >
    < name of binding wsdl: Binding = "CI_Z_POSITION_DATA_Binding" type = "tns:CI_Z_POSITION_DATA_PortType" >
    < style: binding soap = transport "document" = "http://schemas.xmlsoap.org/soap/http" / >
    < name of wsdl: Operation = "CI_Z_POSITION_DATA_G" >
    < soap: operation soapAction = "CI_Z_POSITION_DATA_G.V1" style = "document" / > "
    < wsp WSU: ID = "UsernameTokenSecurityPolicyPasswordOptional" xmlns:wsu = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" >
    < ExactlyOne >
    < wsp >
    < wsp:Usage = wsse:SecurityToken "" wsp: required "xmlns:wsse ="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">"
    WSSE: UsernameToken < wsse:TokenType > < / wsse:TokenType >
    < claims >
    < SubjectName MatchType = "wsse: Exact" / >
    < UsePassword wsp:Usage = "wsp: Optional" / >
    < / claims >
    < / wsse:SecurityToken >
    < / wsp >
    < / ExactlyOne >
    < / wsp >
    < name = "M970925. "V1 wsdl: Input" >
    <: body soap encodingStyle = use "http://schemas.xmlsoap.org/soap/encoding/" = "literal" / >
    < / wsdl: Input >
    < name = "M650531. "V1 wsdl: output" >
    <: body soap encodingStyle = use "http://schemas.xmlsoap.org/soap/encoding/" = "literal" / >
    < / wsdl: output >
    < wsdl: fault name = "M264705. V1 ">
    <: error soap encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/" name = 'M264705. V1 ' use = "literal" / > ".
    < / wsdl: Fault >
    < / wsdl: Operation >
    < / wsdl: Binding >
    < wsdl:service name = "CI_Z_POSITION_DATA" >
    < wsdl:documentation > CI_Z_POSITION_DATA < / wsdl:documentation >
    < binding wsdl: port = "tns:CI_Z_POSITION_DATA_Binding" name = "CI_Z_POSITION_DATA_Port" >
    < soap: address location = "http://ORACLE_ENDPOINT" / >
    < / wsdl: port >
    < / wsdl:service >
    < / wsdl:definitions >

    Hello

    You are looking at your URL of the WSDL document, the IB PeopleSoft should contain 'Service' in its name, it seems you are using rather your IB Gateway URL.

    That's what you posted:

    -http://xxx.com:11001/PSIGW/PeopleSoftListeningConnector/CI_Z_POSITION_DATA.1.wsdl

    Try the following, and this should solve your problem.

    -http://xxx.com:11001/PSIGW/PeopleSoftServiceListeningConnector/CI_Z_POSITION_DATA.1.wsdl

    Kind regards
    Dan

  • Restore does not work in a web service that is created from an application module method

    Hello world

    I use jdeveloper 11.1.1.7.0

    I have a pl/Sql function named "InsertTest" that makes a lot of calculation and the DML operations (for example, insert and update tables) effective on many tables, while there no COMMIT in a pl/sql function.

    In a class of application module, I created a function (callDBFunction()) that calls the pl/Sql function,

    and I want to only use the result of a pl/Sql function, and at the end I restore all changes that are created in the pl/Sql function (using this.getDBTransaction () .rollback ()).

    // in application module impl class
    public void callDBFunction() {
    
      CallableStatement plsqlBlock = null;
      String statement = "BEGIN :1 := InsertTest(); END;";
      try {
      plsqlBlock = getDBTransaction().createCallableStatement(statement, 0);         
      plsqlBlock.registerOutParameter(1, OracleTypes.VARCHAR);
      plsqlBlock.executeUpdate();
      String rslt = plsqlBlock.getString(1);
    
      //..... use the result of plSql function
    
      this.getDBTransaction().rollback();  // rollback all changes
    
      } catch (SQLException e) {
      e.printStackTrace();          
      }
    }
    
    
    
    
    
    

    Then, via the tab of the Service Interface, I created a web service of the function above.

    When I test the web service and call the function, any changes made to the pl/Sql function is committed in the database.

    in fact it seems that the line "this.getDBTransaction () .rollback ()" in the code above was useless (doesn't work).

    How can I restore in this case?

    Habib

    Concerning

    If I call the function via the request module Tester, all changes rollback and it works as I hope.

    but in the case of service web when calling the function all changes are committed to database.

    This probably confirms my hypothesis that when you instantiate AM of ADFBC WS, connection has autocommit = true.

    You can try to change this with: plsqlBlock.getConnection () .setAutoCommit (false) before calling your plsql procedure.

    Dario

Maybe you are looking for

  • Why we have stupid fundamental problems with firefox?

    I have jre1.6_u31 installed on a Windows 7 and the brilliantFirefox keep telling me I need to install the plugin missing jre_1.6_u29 when I try to run an applet... a simple applet! The plugin does not appear on the Add-ons Manager then I use 'Check y

  • Photo location is incorrect.

    I noticed the location for photos I'm taking is incorrect. What is the accuracy of the location, and it is editable?

  • How to recover my windows?

    When I installed windows 8 I lost my original windows 7. Later, I found that I was using a pirated version of windows. Now, I want my windows 7 Original back. When I bought my Lenovo Ideapad Z570 it came with original windows 7. Is there anyway that

  • Computer hibernates randomly during games

    I have a Hp 2000-350us with Microsoft Windows 7 Home Premium 64 - bit Edition, Intel Pentium B950 / 2.1 GHz Dual-Core, 4 GB ram (1 x 4 GB) view bright Hd lcd, intel HD Graphics 3000 with 1.65 GB of video memory. Until recently, every time I've been p

  • Lack of WMP.

    Original title: access to Windows Media Player for Windows 7 I have Windows 7, but I am unable to find or run Windows Media Player.  I find the records for WMP, but they are empty.  What should I do?