Web services. How can I get the error message?

Hello.
I am trying to run a report using XmlViewService. If any report has an error then executeXMLQuery returns empty result set (<rowset xmlns="urn:schemas-microsoft-com:xml-analysis:rowset"></rowset>), not the error message. How can i know if a report fails with error or it exactly return empty result set.

HI,
Open the C:\OracleBI\web\msgdb\messages\resultviewtemplates.xml file modify the
kuiNoResultsViewEditor webmessage as per your requirement...
mark if helpful/correct...
thanks,
prassu

Similar Messages

  • How can i get the error message from the thrown/raised exception?

    DB version:10gR2
    Examples for this thread taken from
    Want Stored Procs to get exectuted regardless of preceeding SPs Success or
    I have a package with several functions and procedures inside.I created a caller procedure called callProcs, which will execute various procedures within the package in the appropriate order.
    In the below example i cannot get the error message thrown from line 20
    create or replace package body mypackage
    is
    variable_proc1 number;
    variable_proc2 number;
    variable_proc3 number;
    v_result       number;
    my_exception   exception;
    procedure proc1
    is
    begin
    select 8/0 into variable_proc1 from dual;
    exception
              when others
              then raise my_exception; ----line 20
    end;
    procedure proc2
    is
    begin
    select 1 into variable_proc2 from dual;
    exception
              when others
              then
                   null;
    end;
    procedure proc3
    is
    begin
    select 3 into variable_proc3 from dual;
    exception
              when others
              then
                   null;
    end;
    Procedure caller_proc
    is
    begin
    proc1;
    proc2;
    proc3;
    v_result:=variable_proc2+variable_proc3;
    dbms_output.put_line('The output is '||v_result);
    exception
              when my_exception
              then
    dbms_output.put_line('Heyyyyy the error is '||SQLERRM); -- exception caught at line 64 of caller proc
    end;
    end mypackage;
    When i try executing the caller proc, i don't get the error. Instead i get the text User-Defined Exception as shown below
    set serveroutput on
    exec mypackage.caller_proc;
    Heyyyyy the error is User-Defined Exception
    PL/SQL procedure successfully completed.Edited by: user10633418 on Mar 10, 2009 11:30 PM

    Thank you justin.
    Sorry my earlier post was a bit ambiguous.
    I wanted the error generated at proc1 to be captured at caller proc's Exception handling section (line 64) so that i could log the error to an ERR_LOG table.
    I can actually log this error at proc1 itself like
    exception
    when others
    THEN
    error_message :='My custom message for the particular proc '||SQLERRM;
    dbms_output.put_line(error_message);
    logerror(error_message); --an autonomous error logging proc
    raise;But there is a RAISE statement in proc1's exception handling, so the exception gets propogated to caller proc's exception handling section {color:#ff0000}*and another redundant row will be created at ERR_LOG table for the same error because there is a*{color}
    logerror(error_message);--an autonomous error logging proc
    in the WHEN OTHERS section of exception handling section of the caller proc
    I want to avoid the creation of this redundant row in ERR_LOG table.

  • How can we view the error message numbers in the web ui?

    Dear all,
    How can we view the error message numbers in the web ui? It gives the error but no number.  It is possible to debug in web UI so how can we accomplish this?
    Thanks,
    FK

    Hi  Fakhan,
    You can absolutely do that.
    Check the class: CL_BSP_MESSAGES
    Also if you want to find out the exact Message Class and Message Number, go to table T100, type text in field TEXT, you will get Message Class and Message number in fields ARBGB and MSGNR respectively.
    I hope this helps.
    THanks
    Vishal

  • When I turn on messages, I can't see my messages.  All I can see is a screen with horizontal lines and a text list of addresses.  How can I get the regular message screen back?

    When I turn on Messages, I can't see my messages.  All I can see is a screen with horizontal lines.  How can I get the regular Messages screen back?

    The same is happening for me. Today I decided to reboot my PC because it was acting up a bit, go figure, and then for some reason at the same time the PC was restarting my macbook froze. I had to do a reboot with the restart button but then all that came up was a gray background and in the middle of the screen was a darker gray folder with a white question mark in the middle of it, blinking. I can't imagine why the restart would've affected my macbook. After finding information on how to fix this, I tried all of the steps that were given about using the mac OS X disk to use the first aid utility to fix it. When using the Disk Utility option whenever I select my hardrive and am in the First Aid tab, the only button I can use is the Verify Disk Permissions. The other three buttons, and namely the most important Repair Disk button, is/are not selectable (grayed out). I then tried resetting the PRAM the way they also said with the command + option + P + R and waited for the second startup sound. After that I gave the Disk Utility a second try, but still nothing. And now if I try to just reinstall the OS completely I can't even select a destination volume on the third step (Select Destination). Apparently this means i'm SOL.

  • I am running Windows 7 64Bit system and everything was working normal.  However, I am now getting an error message stating objc.dll is missing.  I've re-installed Itunes but to no avail.  How can I get this error message corrected?

    I am running Windows 7 64Bit system and everything was working normal.  However, I am now getting an error message stating objc.dll is missing.  I've re-installed Itunes but to no avail.  How can I get this error message corrected?

    See this User Tip by turingtest2
      https://discussions.apple.com/docs/DOC-6562

  • How can i see the error message?

    hi, i have written a procedure in the database 10g, with my own error, and it works. but, when my exception occurs, i want to see my ora-20000-message in the footer of the isql-screen in the same way like normal ora-errors do it. because, now the code handles the exeption, but i can not se any message.
    thx.
    (zahl1 in number, zahl2 in number)
    as
    maxvertrag number;
    ergebnis number;
    myerror exception;
    pragma exception_init(myerror, -20000);
    begin
    select max(vertragsnr) into maxvertrag from robertl.tblugovor;
    ergebnis := zahl1+zahl2+maxvertrag;
    if ergebnis>104
    then
    RAISE_APPLICATION_ERROR (-20000, 'Result is > 104!');
    end if;
    exception when myerror then
    ergebnis:=0;
    end;

    This is answered in how can i se the error message?.
    As a side note, you generally don't need to cross-post in these two fora, as many of us frequent both.
    Cheers, APC

  • I need help!!how can i resolve the error message?

         Security.addProvider(new com.sun.crypto.provider.SunJCE());
    KeyGenerator kg = KeyGenerator.getInstance("DES");
    Key key = kg.generateKey();
    Cipher cipher = Cipher.getInstance("DES");
    byte[] data = "Hello World!".getBytes();
    out.println("Original data : " + new String(data));
    cipher.init(Cipher.ENCRYPT_MODE, key);
    byte[] result = cipher.doFinal(data);
    out.println("Encrypted data: " + new String(result));
                   String temp=new String(result); //error occure here!
    cipher.init(Cipher.DECRYPT_MODE, key);
    byte[] original = cipher.doFinal(temp.getBytes()); //if replace temp.getBytes() to result,that's ok��
    out.println("Decrypted data: " + new String(original));
    error message��
    javax.crypto.BadPaddingException: Given final block not properly padded
         at com.sun.crypto.provider.DESCipher.engineDoFinal(DashoA6275)
         at com.sun.crypto.provider.DESCipher.engineDoFinal(DashoA6275)
         at javax.crypto.Cipher.doFinal(DashoA6275)
    and how can i post the key and Encrypted data to columns whose type is varchar in a table in my database,and next time to get the values from my database and translate to key to Decrypte the Encrypted data ?
    thanks!!

    I presume the no-padding error is happening when you attempt to do the decryption. This means, that in some way, you've modified the encrypted data, and the size of the data is not what the cipher object expects. You don't show all your code here, but most likely, you tried to put result into a string (temp?) and when you do your temp.getBytes(), the array of bytes you're getting back is not the same as the array called result in your post.
    Steve

  • How can I get the printed message of stored procedure in JPA

    Hi, I'm using JPA to invoke stored procedure in database, a segment of the sproc is like below:
    if @create_type != 'a1' and @create_type != 'a'
         begin
         print 'create type must be either ''a1'' if you pass in A1 ID, or ''a'' if you pass in User ID'
         select 0 as "Result"
         endI can get the 0 as the result, it means business operation failed currently, but how could I get the message of 'create type must be either ''a1'' if you pass in A1 ID, or ''a'' if you pass in User ID'?
    That information is important as it indicates why the operation failed.
    Thanks

    how can i get rows count returned by stored procedure in oracle sql developer?
    Procedures do NOT return a value - functions return a value.
    A procedure executes whatever code it contains. That code could contain many queries that produce many row counts.
    Does your procedure take one or more IN, OUT or IN OUT parameters?
    See example 8-1 for an example of executing a procedure that has an OUT parameter.
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/subprograms.htm#CHDBIEEE

  • How can we restart the  Error Messages

    Hi,
             I have a Secnario like  JDBC- To - RFC(R/3)   .. here my Receiver(R/3 system was down in particular time..  so, the messages was  not processed successfully..
    but after the R/3  server was up .. the  remaing messages are processed normally.. except the   those messages are failured in that particular time server was down..
    if  I saw in SXMB_MONI.. the message was showing  (system error--  System Error - Restart is not possible... )   so, how can we  solve this issue..
    How can we restrt the  messages  from SXMB_MONI..
    Regards
    jain

    Hi Jain,
    You cant restart the synchronous messages nor u can restart it............Hence the messages regarding synchronous issues cant be solvable.....The only way you have is to Resend the same data by again posting it in the Outbound Folder (Outbound side or sender side).........So once the sychrouns message failed means then it is unslovable ......So just follow the above mentioned way of resending the data by posting in the Out folder......................
    Reward with points if helpful
    Regards
    Sai

  • How can I customize the error message UIX STRUTS ADF

    Hi dear forum:
    I need to customize the error message?
    Error
    Id - JBO-27014: Attribute Id in AppModule.BackupsView1 is required
    Fecha - JBO-27014: Attribute Fecha in AppModule.BackupsView1 is required
    AplId - JBO-27014: Attribute AplId in AppModule.BackupsView1 is required

    Repost:
    I need to customize the error message when I insert a new row with wrong values in ADF STRUTS UIX, where can I changue the default values for the message?

  • How can I Fetch the error message from a OAF page

    Hi,
    A confirmation message is coming on the page,I want to catch the error message and depending on its value want to add some validation.
    Is that possible to fetch the error message from the page?

    is it a confirmation message or an error message ?
    Code in the OAF page would be raising an OAException with a message name defined in message dictionary.
    you would need to look at the code to understand where this is thrown from and add your validation there.
    Tapash

  • How can I get the Error place in JSP rapidly?

    The Error is:
    <h1>Error: 500</h1>
    <h2>Location: /members/subscribe.jsp</h2><b>Internal Servlet Error:</b><br><pre>javax.servlet.ServletException: No data found
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459)
         at members._0002fmembers_0002fsubscribe_0002ejspsubscribe_jsp_4._jspService(_0002fmembers_0002fsubscribe_0002ejspsubscribe_jsp_4.java:220)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
         at org.apache.tomcat.core.Handler.service(Handler.java:286)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
         at java.lang.Thread.run(Thread.java:484)
    </pre>
    <b>Root cause:</b>
    <pre>java.sql.SQLException: No data found
         at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:6212)
         at sun.jdbc.odbc.JdbcOdbc.SQLGetDataInteger(JdbcOdbc.java:3171)
         at sun.jdbc.odbc.JdbcOdbcResultSet.getDataInteger(JdbcOdbcResultSet.java:5317)
         at sun.jdbc.odbc.JdbcOdbcResultSet.getInt(JdbcOdbcResultSet.java:548)
         at members._0002fmembers_0002fsubscribe_0002ejspsubscribe_jsp_4._jspService(_0002fmembers_0002fsubscribe_0002ejspsubscribe_jsp_4.java:124)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
         at org.apache.tomcat.core.Handler.service(Handler.java:286)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
         at java.lang.Thread.run(Thread.java:484)
    </pre>
    I can not get Any Info that can help me to debug!

    You can look in the generated servlet file, somewhere in
    your webserver (tomcat?) directories:
    _0002fmembers_0002fsubscribe_0002ejspsubscribe_jsp_4.java:220
    On the line 220 there is the error.
    The root cause is:
    <b>Root cause:</b>
    <pre>java.sql.SQLException: No data found
    That should help, to find the error.
    Regards,
    Geri

  • How can i save the error message?

    In the execution of the integration process, and i get
    the mapping error as follow:
    RuntimeException in Message-Mapping transformation: Exception:[java.lang.IllegalArgumentException: Cannot cast to float. ] in class com.sap.aii.mappingtool.flib3.Stat method sum[com.sap.aii.mappingtool.flib3.Plainer@dddd08]
    <b>Now what i want is to save this message.</b>
    <b>How can i save this message?</b>
    Thank you for your advise and reading

    Hi,
       An exception name is just any string, like, "timeout"
    You usually have a control step, which waits for somethime (say a minute) and then transfers the control to exception handler, who handles the exception.
    <i>but i dont know from where i get the exception?</i>
    It not required for us to know from where the exception is raised as long as you have created an exception handler.
    The integration process, will search for the required exception handler and execute it. Make sure, that the exception handler is in one of the branches of the block.
    Hope this helps.
    Regards,
    Smitha.

  • How can I get around error message? "No installation on non-HFS disk:

    I am trying to install CS2 on my new Mac. How do I get around the following error message? "Installation onto non-HFS disk is not supported.

    Which new Mac?
    Is the hard drive PCIe-based flash storage? If so, you will probably need a newer version of AI.

  • How can I get localized Error messages for basic errors ?

    I'm running JDK 1.6
    and I wrote :
    Locale.setDefault(Locale.CANADA_FRENCH);
                    try
                    java.io.File f = new java.io.File("c:/temp/xxnonexistentx");
                    byte aa[] = new byte[2];
                    java.io.FileInputStream fis = new java.io.FileInputStream(f);
                    fis.read(aa);
                    fis.close();
                    catch (Exception e)
                        System.err.println(" Err " + e.getLocalizedMessage());
            }And I get
    Err c:\temp\xxx (The system cannot find the file specified)why do I always get the US English error message. This is really a basic error, why does it seem that there is no localized version in French ?
    I also tried with
            Locale.setDefault(Locale.GERMAN);But I always get English �ber Alles !
    WHY ?

    As a developper I prefer my error messages in my
    langage. .NET does it (if I want), I like it. Do you
    know that O'Reilly & Flanagan Java reference book
    (1500 pages) in French sells very well in France ?
    Not so much the English version.As I said, I sympathize to some extent. With this part, yes.
    End-users do see some error messages (this file not
    found is an example), you want, me and all other
    people, to translate this type of messages in how
    many languages, each separately, over and over ?If I'm an end-user I don't want to see Java error messages. Or if I must, I only want to see them in the context of "This error message occurred, please pass it on to the technical support people when you call them". So, given that, I don't care if the system only produces German messages. This part I don't sympathize with.

Maybe you are looking for

  • Encoder cc not working

    so i got after effects today and it came with encoder cc. i use the after effects and it works fine but when i try open encoder it just pops up an error saying to activate it or something so i got the .dll from after effects and put it in encoder the

  • Problems navigating between classes

    Hi again, Sorry to be such a bore; situation is as follows: 1)I have a midlet class containing an inner class where I can merrily navigate between a Form and a Canvas class 2)I've written a separate class, which also extends Canvas – not an inner – w

  • Migrate 11gR1 11.1.0.7.0 database to 11.2.0.X database on separate network

    Currently running 11.1.0.7.0 p46 Oracle single database on 2003 R2 32 bit. Need to migrate this over to different Network node running Windows Server 2008 R2 x64 64-bit OS to eventually get to new Oracle 11.2.0.X.0 database. Where do I get a full 11.

  • How do I submit a bug to apple?  Is there some kind of link?

    I just spent the last six months encoding and embedding album art to all my music/movie files using a app purchased from the app store.  All album art showed up in pre-iTunes 11 and all played just fine.  After upgrading to iTunes 11, every music/mov

  • PSE 10: Abstürze / Deaktivierung vor Neuinstallation?

    Hallo zusammen, seit einigen Tagen bereitet mir mein Photoshop Elements 10 einige Probleme. Zuerst ließ sich die Software überhaupt nicht mehr starten und der Task hängte sich im Bereich "Arbeitsbereichmodi werden geladen..." des Startbildschirms san