Problem with getting a D2K report in XML format

Hi all,
Could any body give a solution for this problem.
I have a matrix report like following:
Q_Statement_Of_Net_Assets ----> main query
|
G_Cross ----> Cross product
| CS_VALUE
| CS_NET_ASSET
| CF_COSTI
|
| --------------------------------- |
| | G_CTIF | | ------> Like this I have two more groups
| --------------------------------- |
...... |
-----------------------------------------------|
My requirement is i want to print CS_VALUE, CS_NET_ASSET, CF_COSTI values in XML report, these values i am getting in a Normal/RTF format reports.
But i am not getting in XML format report.
thanks in advance.
Vasu

Thanks Schellyc
actually I want to creat a new SOAPMessage for the very beginning like this:
try{
            MessageFactory mf = MessageFactory.newInstance();
            SOAPMessage msg = mf.createMessage();
            SOAPPart sp = msg.getSOAPPart();
            //create the header container
            SOAPEnvelope se = sp.getEnvelope();
            SOAPHeader sh = se.getHeader();
            SOAPBody sb = se.getBody();
        }catch(Throwable e) {
            e.printStackTrace();
        }and I want to get the empty header from this newly created SOAPEnvelop and add my own content into the header as well as the empty body.
I wrote the code by following the example from the jaxm api.
can anybody tell me any further information about the NullPointerException?

Similar Messages

  • Oracle reports in xml format end with stat_low = 6 stat_high = 0

    hi
    i have a problem with my reports
    i have oracle application 11.5.10.2 on linux 32 redhat 4 update 5
    after apply the RUP 6
    my character_set is :American_America.AR8MSWIN1256
    base lang American
    install lang ARABIC
    when i generate the reports in xml format i get:
    Inventory: Version : 11.5.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    ZMCINVTRREG1 module: ZMC Transaction Register Report
    Current system time is 04-AUG-2009 14:32:30
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_BREAK_ID='1'
    P_RPT_UOM='2'
    P_ORG='223'
    P_QTY_PRECISION='3'
    P_GLCC_STRUCT_NUM='50289'
    P_TXN_DATE_LO='2009/08/04 00:00:00'
    P_TXN_DATE_HI='2009/08/04 00:00:00'
    P_AUDIT_DETAIL='2'
    P_REASON_DETAIL='2'
    P_LOC_DETAIL='2'
    P_CATEGORY_DETAIL='2'
    P_SERIAL_DETAIL='2'
    P_LOT_DETAIL='2'
    P_CATG_SET_ID='1'
    P_CATG_STRUCT_NUM='101'
    -- Start of Reports Command --
    ar60runb
    P_CONC_REQUEST_ID=373985
    P_BREAK_ID='1'
    P_RPT_UOM='2'
    P_ORG='223'
    P_QTY_PRECISION='3'
    P_GLCC_STRUCT_NUM='50289'
    P_TXN_DATE_LO='2009/08/04 00:00:00'
    P_TXN_DATE_HI='2009/08/04 00:00:00'
    P_AUDIT_DETAIL='2'
    P_REASON_DETAIL='2'
    P_LOC_DETAIL='2'
    P_CATEGORY_DETAIL='2'
    P_SERIAL_DETAIL='2'
    P_LOT_DETAIL='2'
    P_CATG_SET_ID='1'
    P_CATG_STRUCT_NUM='101'
    report=/oraapp/prodappl/inv/11.5.0/reports/US/INVTRREG.rdf
    batch=yes
    destype=file
    desname=/oraapp/prodcomn/admin/out/PROD_apps/o373985.out
    desformat=XML
    -- End of Reports Command --
    Request language is :
    AMERICAN
    Request territory is :
    AMERICA
    XML_REPORTS_XENVIRONMENT is set to:
    /oraapp/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Enabling XML_REPORTS_ENVIRONMENT based environment switching
    The Character-Set of the System is:
    AR8MSWIN1256
    Environment will now switch to UTF-8 code-set.
    Parts of this log file may not display correctly
    as a result. This is an expected behavior.
    Converting parameters to UTF-8
    -- Start of Reports Command Converted to UTF-8 --
    ar60runb
    P_CONC_REQUEST_ID=373985
    P_BREAK_ID='1'
    P_RPT_UOM='2'
    P_ORG='223'
    P_QTY_PRECISION='3'
    P_GLCC_STRUCT_NUM='50289'
    P_TXN_DATE_LO='2009/08/04 00:00:00'
    P_TXN_DATE_HI='2009/08/04 00:00:00'
    P_AUDIT_DETAIL='2'
    P_REASON_DETAIL='2'
    P_LOC_DETAIL='2'
    P_CATEGORY_DETAIL='2'
    P_SERIAL_DETAIL='2'
    P_LOT_DETAIL='2'
    P_CATG_SET_ID='1'
    P_CATG_STRUCT_NUM='101'
    report=/oraapp/prodappl/inv/11.5.0/reports/US/INVTRREG.rdf
    batch=yes
    destype=file
    desname=/oraapp/prodcomn/admin/out/PROD_apps/o373985.out
    desformat=XML
    -- End of Reports Command --
    XML_REPORTS_XENVIRONMENT is :
    /oraapp/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to /oraapp/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Previous NLS_LANG Environment Variable was :
    American_America.AR8MSWIN1256
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    stat_low = 6
    stat_high = 0
    emsg:was terminated by signal 6
    *** glibc detected *** double free or corruption (!prev): 0x08bf6a78 ***
    Report Builder: Release 6.0.8.25.0 - Production on Tue Aug 4 14:32:30 2009
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter Username:
    Reset original NLS_LANG in environment as :
    American_America.AR8MSWIN1256
    Program was terminated by signal 6
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 373985.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 373985 on node APPS at 04-AUG-2009 14:32:37.
    Post-processing of request 373985 completed at 04-AUG-2009 14:32:38.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 04-AUG-2009 14:32:38
    can any one help me with it????

    hi,,,
    it seems OS package version conflict
    Please check glibc and openmotif version (its responsible for reports)
    and
    Set the environment variable MALLOC_CHECK_=0 and bounce the Concurrent Managers
    MALLOC_CHECK_ can be changed in two places :-
    1. Add this to the $APPL_TOP/custom<TWO_TASK>_<HOSTNAME>.env
    MALLOC_CHECK_=0
    Then restart the concurrent managers and retest
    2. Change it in the adovars.env file
    Again bounce the concurrent managers and retest
    THANKS (ZzZ)
    Edited by: zzz on Aug 5, 2009 8:59 AM
    Edited by: ZzZ on Aug 5, 2009 9:00 AM

  • Hi, I have a problem with getting my apple Id working for me. It's been 2 months since it happened and Apple failed to act. I can tell my story proerly, but am not sure, you guys can help, so I just copy my message to them today, I am trying to get it acr

    Hi, I have a problem with getting my apple Id working for me. It's been 2 months since it happened and Apple failed to act. I can tell my story proerly, but am not sure, you guys can help, so I just copy my message to them today, I am trying to get it across all the places around to pay their attention. This is a desperate move, so if you are not the right people to help me to get my message accross, may be you can advise where can I go.
    Thank you, and sorry for the language.
    Vitas Dijokas
    I am sorry to say that, but your security makes my life miserable – it’s been 2 months since my Apple ID account got stuck, and since then I cannot update 37 applications (to date), i.e. most of my applications. Half of them I bought. I also paid for iCloud, and it is not working. I paid money and I am stuck with old applications and no iCloud. Your security *****. Your service ***** too. It took your service 1 month to finally understand why this happened to me, and it took me tens of emails to you and 3 hours of telephone conversation to find out the reason for my problem. And the problem is still not fixed. NOT FIXED. You just leave your customer – the one who paid you money and spent so much time with you trying to help you help me – and nothing. You tell me:  “Vitas, Stick your stinky iphone in your *** and enjoy life, we do not care!” *************.
    It is ******* outrageous, and you should know that,  guys. Get into the ******* database and correct the bug. Get someone in the partners-telephone carriers company (it is Orange as carreer and Cellcom as seller of the phone)  authorized to Identify me in personal encounter in one of the branches in Israel (where I live) and make sure it is really me, and get the ******* system accept my password and let me use my phone.
    Otherwise **** off. None of my friends will get my advise to buy an iphone or any of apple products. And I think you should be very attentive to cases like this, guys. Do your work for the money we pay, or disappear. There are many others eager to take your place, and if the problem is not fixed I will eventually go to the others. My patience is lost, and as soon as I can afford another phone I will change it. AND I WILL TRY TO GIVE BAAAAAD PUBLICITY TO APPLE – I am threatening here, so ACT NOW.
    Vitas Dijokas

    Well, it seems waiting is not my strong suit..! I renamed a javascript file called recovery to sessionstore. This file was in the folder sessionstore-backups I had copied from mozilla 3 days ago, when my tabs were still in place. I replaced the sessionstore in mozilla's default folder with the renamed file and then started mozilla. And the tabs reappeared as they were 3 days ago!
    So there goes the tab problem. But again when I started mozilla the window saying "a script has stopped responding" appeared, this time the script being: chrome//browser/contenttabbrowser.xml2542
    If someone knows how to fix this and make firefox launch normally, please reply! Thank you

  • Just moved my email from entourage to Mail. Having real problems with getting my signatures to work properly. When adding in a small company logo, windows computers only receive signature as an attachment. Am sending email as Rich Text. Any ideas on a fix

    Just moved my email from Entourage to Mail. Having real problems with getting my signatures to work properly despite sending email as Rich Text.
    When adding in a small company logo to the signature, PC's / windows computers only receive signature and logo as attachments.
    I've tried all possible fixes I can find including getting a PC user to format the logo but no joy. Has anyone experienced this and any ideas on a fix gratefully received.

    Send it as html so the signature is an image source URL

  • Problems with getting my Ipod Touch to work on my Sony Bravia or any TV

    I am having problems with getting videos or movies to play on my Sony Bravia HDTV or any TV. I have a first generation Ipod Touch and I have the Apple AV Composite Cables and all I get is sound for both TV's that I tried. I read one post where some guy had a faulty Ipod that wouldn't work. Does anyone know how of something hidden or special that needs to be done or how did they fix the problem if they had the same one? Thank, ejcarlson

    Check connection, if you have a case on your Ipod the connection may not be good enough.

  • Problem with getting resized image's bytes

    I've got a problem with getting correct bytes of a newly resized image. The flow is that I retrive an image from the filesystem. Due to the fact that it is large I resize it to a 50x50px thumbnail. I can display this thumbnail in #benchmark1 (see code below). Unfortunately something's wrong with my imageToBytes funtion which returns reasonably small size of image but is totally useless - I can't make an image of it anymore so at #benchmark2 the application either crashes or keeps freezing. I saved this byte array on my disk and tried to preview under Windows how does it look but I got a message "Preview unavailabe". I did some digging in the Internet and I supposed that it's because I don't use any jpg or png encoders to save the file. Actually I think that it's not the case, as the bytes returned from method imageToBytes look weird - I cannot even make a new image of them and display it without any saving in memory.
                                  byte[] bytes = FileHandler.readFile (
                                          FileHandler.PHOTOS_PATH, fileName);
                                  Image img2 = Image.createImage (bytes, 0, bytes.length);
                                  img2 = ImageHandler.getInstance ().resize (img2);
                                                    //#benchmark1
                                  bytes = ImageUtils.imageToBytes (img2);
                                  img2 = Image.createImage (bytes, 0, bytes.length);
                                                    //#benchmark2my imageToBytes function is as follows:
         public static byte[] imageToBytes (Image img)
              int[] imgRgbData = new int[img.getWidth () * img.getHeight ()];
              byte[] imageData = null;
              try
                   img.getRGB (imgRgbData, 0, img.getWidth (), 0, 0, img.getWidth (),
                           img.getHeight ());
              catch (Exception e)
              ByteArrayOutputStream baos = new ByteArrayOutputStream ();
              DataOutputStream dos = new DataOutputStream (baos);
              try
                   for (int i = 0; i < imgRgbData.length; i++)
                        dos.writeInt (imgRgbData);
                   imageData = baos.toByteArray ();
                   baos.close ();
                   dos.close ();
              catch (Exception e)
              return imageData;
    I've run totally out of any idea what's wrong, please help!
    Edited by: crawlie on Jul 17, 2010 6:21 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hey Crawlie,
    Please note that simply writing int values into ByteArrayOutputStream will not suffice. Please have a look at the following conversion from int pixel value into byte[4]:
    public static final byte[] intToByteArray(int value) {
            return new byte[] {
                    (byte)(value >>> 24),
                    (byte)(value >>> 16),
                    (byte)(value >>> 8),
                    (byte)value
    }Good Luck!
    Daniel

  • Problem with getting iPod to work.

    I'm having a problem with getting an iPod to connect to my computers. Also I can't even really get it to run. My brother gave it to me one or two years ago and it had these problems I just didn't think of the idea of going directly to Apple to figure it out. It's a 30 GB black iPod if that helps. When I plugged it in it showed the battery symbol. When I leave it for a while it shows the Apple symbol. Then it comes up with this: http://spirrwell.webatu.com/ipod.jpg If you can help thanks in advance!
    Message was edited by: Spirrwell

    I figured out that it was a hard drive problem so I'll find a fix if not I guess I'm screwed.

  • Problem with  whitespace  then loading and saving xml

    i do not know how to handle this problem. i modifed a texteditor to send XML to a server and load XML back to the container.
    but then i do changes to the Textlayout it shows up like this --->
    Text in Container not modifed
    Text in Container modifed ---> with space beween the colorchanged string
    Text inContainersend and loaded ---> i think this has something to to with the
    TextFilter.export(_textFlow,TextFilter.TEXT_LAYOUT_FORMAT,ConversionType.XML_TYPE)
    can someone give me a hint...

    Hi,
    the link is --->
    http://www.horstmann-architekten.de/contentmanagment/SimpleEditor.html
    its a modified example of the texteditor provided by Adobe. You can send a xml to the server. and also read it from the server. You just use the xml identifer to give the xml a name.
    Try it out:
    1.  change the text and
    2.  give a XML-Identifer
         and then send it to the server. --> send to server
    3.  type in the XML-Identifer you have used and
    4.   load it from the server ---> Load from Server Button
    evering works ok exept the columns formating.
    I Think the colums Formating is not embeded in the XML as it should be. I attached the Files. (Newbie programmer)
    With best regards
    Michael Sprinzl
    --- robin.briggs <[email protected]> schrieb am Do, 17.9.2009:
    Von: robin.briggs <[email protected]>
    Betreff: Problem with  whitespace  then loading and saving xml
    An: "Michael sprinzl" <[email protected]>
    Datum: Donnerstag, 17. September 2009, 2:12
    Sounds like you have two different issues going on: (1) inline graphics aren't coming out correctly when you use the TextLineFactory, and (2) columns aren't working correctly. It's difficult for me to tell by looking at the application you link what is going wrong. One of the examples does seem to have columns working -- can you be more specific about what you're doing, and what results you are seeing? As for the inline graphics, there is a timing issue involved with using URLs, due to the asynchronous loading. See this comment in the docs for TextFlowTextLineFactory:
    Note: When using inline graphics, the source property of the InlineGraphicElement object   must either be an instance of a DisplayObject or a Class object representing an embedded asset.   URLRequest objects cannot be used. The width and height of the inline graphic at the time the line   is created is used to compose the flow.
    - robin

  • Problem with getting the little blackberry icon

    Hi the blackberry I'm using is working and up to date. I was setting up my mates blackberry 9320 but having a problem with getting the little blackberry icon to appear in the top right corner of my phone where the GMS is and signal bar and stuff its something to do with blackberry.
    I tried downloading bbm and it say associating bbm with blackberry id and constant loads with nothing happening bbm not working
    I NEED THE TINY BB ICON AT TOP RIGHT???

    Hi neal123
                            That BlackBerry icon will appear near signal bar when we activate  BIS on a 3G device. Did he activated BIS on his account. ? 
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • TS2755 I am having a problem with getting notified when I receive a call or a text.  My phone will not ring or vibrate.

    I am having a problem with getting notified when I receive a call or a text.

    Hi BigBroMAC,
    The first thing I would check is Do Not Disturb mode, as this will cause that behavior:
    iOS 6: Using Do Not Disturb
    http://support.apple.com/kb/HT5463
    If that isn't the issue, this article has slightly different symptoms but the troubleshooting would be the same:
    iPhone: Can't hear through the receiver or speakers
    http://support.apple.com/kb/TS1630
    Before you do step 10, however, I recommend resetting all settings to see if that helps.  To do that, choose Settings > General > Reset > Reset All Settings.
    I hope this helps!
    - Ari

  • Help me, I have a problem with font when export report to PDF?

    Hi everyone! Help me
    I have a problem with font when export report to PDF
    My report uses template .rtf with font Times New Roman (Unicode), language is VietNamese.
    when desige template no problem, error only happen when view report by PDF.
    Edited by: user10236405 on Oct 15, 2008 11:23 PM

    give it time to boot. the time depends on yr memory size n data. soon a process bar will appear indicating the boot process. if still this doesnt work. try formating the phone. but this ways u lose all data on the phone (unless u backed it). relax! the data on the memory card is safe.

  • I still have problems with getting my website online. I have defined my server. Then I did the test and there was a connection via FTP. I put my files on the external server and there is a connection with the external server. But when I check to see my we

    I still have problems with getting my website online. I have defined my server. Then I did the test and there was a connection via FTP. I put my files on the external server and there is a connection with the external server. But when I check to see my website online (with Firefox, Explorer, Chrome browser) I always get the message 'Forbidden, You don't have permission to access / on this server.' Can somebody help me please? I have to get my website online..Thank you!

    Hello Els,
    it's well known, that in all these cases you describe I'm not a friend of a detailed Troubleshooting (I see Nancy#s smile already).
    To be able to be independent in all this things It is one of the reasons why I prefer an external FTP program. The difficulties with which you have to fight encourage me in this opinion, not least because we always search for experts, we don't charge a "jack of all trades".
    To manage several websites or to upload my files and sometimes for the opposite way, for a necessary download from my server or to use a "a site-wide synch", I'm using FileZilla. It simply looks easier for me to keep track of all operations precisely and generate or reflect easily the desired tree structure.
    Above all, FileZilla has a feature (translation from my German FileZilla) called "compare file list". Here it's possible to use file size or modification time as a criterion. There is also the possibility to "hide identical files", so that only these files which you want to redact remain visible.
    And even if it means you have to install a new program, I am convinced that there is an advantage. Here is the link to get it and where you can read informations about how it works:
    http://filezilla-project.org/ and http://wiki.filezilla-project.org/Tutorial#Using_the_site_manager
    Mac: Mac OS X (Use: Show additional download options)
    http://filezilla-project.org/download.php
    Of course, you also need all the access data to reach your server and for MIME issues, you should contact your web host/provider.
    Good luck!
    Hans-Günter
    P.S.
    Since I use two screens, the whole thing became even more comfortable.

  • Deliver a report in XML format and save it to local file system on the server

    We have OBIEE 10.1.3.4 on Redhat linux. We want to have generate a report in XML format and saved it to the server's file system. Did not realize this is s difficult task. Basically
    1) How to create a XML report? It is not listed in the output items of a layout template.
    2) How to deliver XML the report  to local file system. Look into the Delivery section of Admin page. FTP should be the best choice, but does that means that one need to install and run ftp server on the BI server box?
    Thanks

    Hi,
    Since I still have problems on this subject, I would like to share on how it progresses.
    Currently I have a problem of timeout in step "Truncate XML Schema" with the URL that I mentioned above.
    The exact error is the following : 7000 : null : com.sunopsis.sql.l: Oracle Data Integrator TimeOut : connection with URL [...]
    The connection test is still OK.
    I tried to increase the value in the user's pref but there's no change.

  • How can i save a AWR/statspack report in xml format ??

    how can i save a AWR/statspack report in xml format ?? or is there a way...coz when creating the report it gives option for html or normal (sql or txt based file)... on 10.2.0.3

    thanks orinet....i used wat you asked me to use...it generated a .dmp file....
    sqlplus "/as sysdba"
    SQL> @$ORACLE_HOME/rdbms/admin/awrextr.sql
    i tired upload that file to orapert.com it gives me below error ...any reason why ??
    Error : File not processed because it was too small to be an Oracle statspack or bstat/estat file.
    do i need to load it up too ?? as i tried doing the below
    sqlplus "/as sysdba"
    SQL>@$ORACLE_HOME/rdbms/admin/awrload.sql
    get error while doing that....
    ERROR at line 1:
    ORA-20105: unable to move AWR data to SYS
    ORA-06512: at "SYS.DBMS_SWRF_INTERNAL", line 1760
    ORA-20107: not allowed to move AWR data for local dbid
    ORA-06512: at line 3
    the file is about 19M in size
    Edited by: user630084 on Mar 19, 2009 11:37 AM

  • Abap report in XML format

    hello all,
    i need to downloadABAP report in xml format.
    can any body help me out.
    Thanks
    chandramani

    Hi
    Use
    FM
    SAP_CONVERT_TO_XML_FORMAT
    Re: GUI_Download for XML file ?
    How to download SAP standard report output into XML format
    Re: Download data from SAP in XML format.
    regards
    pavan

Maybe you are looking for

  • ITunes, library and iPhone after PC restore

    Hi there. I had to format and restore my PC from scratch. I backed up everything, including my iTunes library and my iPhones backup (backup of a backup). Now I have installed the latest version of iTunes afresh on my restored PC and authorised my iTu

  • Can no longer print wirelessly from my IPad

    have a hp photosmart 6510  Airprint wireless printer; have pc, laptop, and IPAD connected to it; all have been working great until a few days ago when Ipad  began to not print.   now when i click the print button on my IPad one of two things happen.

  • Using cursor function in sql statement

    hi all can anyone plss explain why and when we will use cursor function in a sql statement like this and what is the difference while executing this sql statement with cursor function in comparison of a simple sql statement---- select department_name

  • Exporting Aperture photos to an external HD while keeping existing folder structure

    Hi, I have over 300gb of photos on my MBP.  I need to export the photos onto an external Hard Drive and keep the existing folder structure.  How can this be done? My source for the Aperture library is iPhoto.  I know that I can 'show package contents

  • Having problems with ios6 for iPad

    Just recently installed ios6 to my iPad witht he following problems: Cannoct connect to itunes store Cannot download any apps The new Maps app is unable to locate my current location Some Facebook features are disabled. "Tap retry" doesn't respond So