Help with displaying Date from Unix seconds

My program receives seconds taken from a Unix system and must display them on my GUI. I realize I have to convert seconds to milliseconds for the Date, plus I take into consideration the timezone.
My problem is that everything works correctly for time zones from GMT -1:00 all the way to GMT -12:00, but GMT time and all the zones between GMT +1:00 to GMT +12:00 display the wrong time. It varies how many hours off it is.
Does anyone have any suggestions? I have been searching for similar issues.
here is my code:
static public String SecToTimeOfDay(long sec)
   SimpleDateFormat  dateFormat  = new SimpleDateFormat("HH:mm:ss");
   long timeZone  = java.util.TimeZone.getDefault().getRawOffset();
   int milli = 1000;
   String date;
   if (timeZone < 0)
      timeZone = timeZone * -1;
   //convert to seconds to milliseconds
   date = dateFormat.format(new java.util.Date((sec * milli) + timeZone));
   return date;
}

That is not the right way to handle time zones. Try the following and see if you're still having problems.
static public String SecToTimeOfDay(long sec){  
    SimpleDateFormat dateFormat = new SimpleDateFormat("HH:mm:ss");
    dateFormat.setTimeZone(java.util.TimeZone.getDefault());
    int milli = 1000;
    date = dateFormat.format(new java.util.Date(sec * milli));
    return date;
}

Similar Messages

  • Issue with display data from infoset

    Dear Experts,
    When I am trying to display data from BI INFOSET in (Execute in background ctrl+F2)backend it is working fine but when in try to run the execution in forground (execute F8) then the system gets hang.. and time out. could any one has this kind of experience. if so kindly let me know do i need to implement any patch or  else which way i can do work to resolve this issue.
    Thanks in advance.
    Mannu

    Hi Krishna,
    I have tried as you have suggested ie. using Tcode RSISET for displaying data but still i have the same issue.
    Could any one post any additional suggestions to follow.
    Thanks in advance,
    Mannu

  • Help with exporting data from pdf form

    I have about 100 pdf forms that I created in adobe forms central and distributed as a pdf form (rather than on the web). I am trying to export the data into a spreadsheet but when I export it, the fields are all jumbled in the csv file, as in they are not in the same order. I need to export the data all together so I'm going to the forms menu and selecting "manage form data" and then selecting "merge data files into spreadsheet". I tried exporting a single file but that gave me something really weird.
    Please help, I have a deadline next week to analyze this data and can't make sense of it once it is exported to a spreadsheet.

    Would you please share your form with me and send me one of your pdf forms and some of the csv files?
    You can share your form by doing the following:
    1. Click on the “Share” icon on the bottom left corner.
    2. Click on “Add Collaborator” on the popup menu.
    3. Enter [email protected] under “People to share with”.
    4. Set subject to "Export data from pdf form"
    5. Click the “Share” button on the bottom right of the dialog.
    Thanks
    Ken

  • Help with rescuing data from faulty disk

    Sorry the long wall of text, I wanted to explained everything as detailed as possible to not mess with the chronological order (TL; DR down below!)
    Ok, here's the thing. I have two hard drives, a ssd [sda] (for the OS [arch linux, ubuntu and win7], munchkin 240gb) and a sata 3 one ([sdc] wd, 1 tb)  that I use for everything else. A couple of weeks ago I found there were progressive, unexpected  and random behaviour particularly with windows, random freezes, no bsod, ecc... I finally found that the second hard drive was the culprit so I decided stop using a buy a new disk (while sending the faulty to RMA, since it's barely one year old, and I don't do nothing out of ordinary), I got a seagate with 1 tb.
    I honestly didn't want to mess too much about the data and wanted to save the most without wasting time, so I decided to try to clone the whole disk with dd according to the wiki (Disk Cloning). I imagined that the "bad sectors" were from the ntfs partition, so I went with that. Clearly I could get corrupt files in linux too, but my guess was that the most important data was safe, because I had been using it for the last couple of days without problems. The process ended with a lot of I/O errors, but in the end it showed the same number of `in` and `out`. I regenerated the UUID for the new cloned disk and each partition, modified the fstab and restarted (fingers crossed).
    I could log into arch linux without problems, used it for a while, restarted a second time (that windows habit that I still found hard to overcome) and everything was okay (yes I made sure I was actually on the new disk). Next was windows time, which to my surprise worked fine too, I even played a while. After patting myself in the back, I rebooted the machine thinking in how much work I would like to have done today, and there were an error that apparead on the login screen, just a ms before I pressed enter, I think I read it was referring to another partition of sda. The system got stuck in the middle of the "log in screen" and loading x with a black screen, nothing else. Waited a while, losing hope I pushed the RESET button.
    Now, it was stuck during the boot up process, after "killing rf radio" or something. It was obviously stuck somewhere else... (that message had appeared there since I built the pc) it read though that the /var partition was clean, same with the root partition, next I tried with "recovery" kernels, and each other kernel I had still in grub; but the problem persisted. Tried with ubuntu, had to change fstab again, rebooted, tried to enter, stuck on the loading screen with the big purple background. I couldn't get anything else past that, neither to get a decent log.
    I don't know why (or maybe because I was desperate) I entered the uefi/bios settings and found that the time was localtime instead utc.... weird I thought and I blamed windows (though, I had the registry hack working for a while) and imagined that I updated something that removed that *fixed* the blessed fix. Since I remember having issues with partitions not being correctly mounted once because of time issues, I thought it was a problem with the time... nope, nothing changed.
    I tried again with the recovery kernel of the ubuntu install, I could drop on the root shell, and tried to fix the clock time after remounting, same with mounting the /var partition (ubuntu doesn't use that one), it threw that "bad superblock error", but fsck ran saying the filesystem was clean and it was mount normally later. Somewhere between, I mounted the home partition, no errors, gave a quick navigation. I tried to install ntpd to follow the "troubleshoot" from the Time arch wiki page,  but HA, no internet.
    Rebooted again, and from the menu from "ubuntu recovery", allowed me to enable networking. Quite nice I thought, and pressed enter. It politely informed that I needed to mount the system (root partition) in read/write instead read-only. I happily said yes (I already had remounted the ubuntu root as rw, and worked ok), but stopped at the home partition taking about 10 minutes in "phase 2", suddenly started throwing a lot of errors, about missing inodes, files pointing nowhere, etc. It put a lot of files into lost+found directory. Oh, there it was... I thought, let's go into Arch Linux then...
    Now the system booted up quite fast, and I was welcomed by the black screen asking coldly for my login information, I wrote the credentials, pressed enter, aaaaand PAH, "/home/pablo" change directory failed: No such file or directory. HA, funny I thought, lsblk, the partition was mounted, ls -l /home/... WHAT? the folder wasn't there.
    I looked for the lost+found folder inside the home directory, and it had a lot of directories and files called DXXXXXX.RCN, and IXXXXXX.RCN and some symbolic links. The directories had files inside, the IXXXXX are actually files, ecc.
    Right now, I'm lost... I'm not scared about the data, because it's still living happily (?) on the bad disk, but I still need to recover it, so I can filter it later allowing to write zeros to the fault disk and send it for a replacement. Is there any chance to recover the data? (I rather not going into around 100 files/directories with cryptics names), or maybe use another method to "recover" the data from the previous disk? using cp or rsync? Any good experience or advice on this?
    PS.- Sorry for the epic story, I hope I don't scare readers or other fellow members.
    TL; DR
    + I have 2 disks (ssd [OS {win7, arch and ubuntu}] and sata3 [data])
    + Sata3 disk started to fail on windows (users folder it's on the sata3), arch/ubuntu never had a problem
    + I bought a new one, and I'm trying to send the old one for a RMA
    + Clone the disk according to the wiki and rebuilt the UUID
    + Change fstab to use the new cloned disk
    + Worked fine for a couple of times
    + Used windows, played, everything fine
    + Entered arch, now I couldn't it got stuck without showing any errors
        + Tried every kernel and recovery image without success
    + With Ubuntu I could drop into a root shell
        + Mounted home partition, no problems
        + Tried to activate networking, started to run fsck and threw a lot of errors (I remember I read something about "offset" not correcting) and moved files to lost+found directory
    + Arch Linux started, but I couldn't log because /home/pablo doesn't exist anymore and it seems everything lives now in the lost+found directory with weird names like DXXXXXX and IXXXXXXX
    Aftermath: I have the original data, safe (?) on the bad disk (like I said, I never had any problem in my home partition). I really don't want to be nit picky about what I can save, I'll be happy to save as much as I can, but I don't mind losing corrupt files (that's why I thought cloning with filling with zeros would be enough). I just want to ditch the bad disk and send it to wd for a replacement.
    End of TL; DR
    2014/07/29: Added a TL; DR section
    Last edited by pablox (2014-07-29 13:55:46)

    I can see three possibilities:
    1. The new HDD is broken as well.
    2. The Linux partition contained a little garbage from old HDD's errors and that confused Linux and caused it to corrupt the partition further by writing more garbage to it.
    3. The garbage from old HDD's errors contained on the Windows partition confused Windows and caused it to corrupt the Linux partition by overwriting it with garbage.
    1. Rather unlikely if the HDD is new, but still worth checking. Install smartmontools and run smartctl -a /dev/new-hdd. On the "SMART attributes" list, check if any of "Reallocated_Sector_Ct", "Reallocated_Event_Count", "Current_Pending_Sector", "Offline_Uncorrectable" have RAW_VALUE other than zero or if the "SMART Error Log" contains any entries. If the attributes are all zero and the error log is empty, everything is fine.
    2. Make new image of the old HDD. Make sure that Windows and Linux partitions don't overlap each other due to HDD read error. Run fsck on the Linux partition before mounting it to ensure that it doesn't contain errors which could lead to further errors. If it doesn't, it should be safe to mount and use it.
    3. You said that Windows partition certainly contains error. Don't run Windows and don't mount this partition in Linux without running some NTFS checker (Windows tools on some other Windows system or ntfsck on Linux) and fixing all errors contained there. Alternatively, you can reinstall Windows on the new HDD and manually copy all the files you care about that are still readable from the old HDD. BTW, don't modify anything on the old HDD, as this would likely corrupt its other contents in the same way that modifying its copy corrupted other parts of its copy.
    Last edited by mich41 (2014-07-30 22:30:11)

  • Help with displaying info from database+asp

    How can I display info from a database so that it is
    formatted into rows in a table
    here is an example of what I would like
    http://www.westerveltcollege.com/new/programs/bus_admin_computers.html
    (it is the section that show the course content)
    I know it has been code into the table but how to do this
    dymanically
    hope that makes sense to someone ;)

    To do it properly you would set up two tables. The first
    would contain the
    topics and be something like this
    topicID
    topicName
    Then you would have a second table that would hold the
    content like this
    contentID
    contentName
    topicID
    The last field links this table to the topic.
    To display them you would link the topics into a master list,
    and then pass
    the topicID to the page displaying the content and use the
    topicID as a
    filter on the content table.
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "jnc1965" <[email protected]> wrote in
    message
    news:eeot1q$db0$[email protected]..
    > nice one thanks
    >
    > now one more quetion
    > how do I set up the info in the database
    > I have serveral page for different topics and each page
    has a table like
    > mentioned above
    > I dont want to make a different colunm for each for the
    course contents
    > I would like to build one table and have each subject's
    course content in
    > a
    > column but how would I do this?
    > and still have appear like the example
    >

  • Help with Inconsistent data from NI6211

    I'm not getting very far with establishing good data transfer from an NI 6211 and don't seem to be able to pin point the issue or get confidence from DasyLab V10 to be able to look for the problem in another area.
    The NI6211 is set for period measurement and automatically uses a low frequency counter with sample on demand. The measurement range is set for 200ms to 1ms
    The Dasylab Counter Input task displays the sample on demand and block size of "1".
    I have also selected "10" as an output after timeout of 5seconds.
    I have set the module to use the Dasylab timebase and have configured all 3 timebases for 1000Hz and (tried higher and lower values) and set block sizes to 1.
    Whenever I change the timebase setting I always carry out a synchronise with MAX.
    I have been writing to a file using time deducted from data.
    With these settings I have the value "10" generated and stored in the file.
    When it says "Output after timeout (s) of:", does this mean that their has been no communication for 5seconds even though I can get time stamp information indicating only a few milliseconds have passed?
    Does time deducted information mean time deduced information (ie. time stamp from the data)
    Is there anything I need to do with A/D window? I have changed the sampling rate in there but it only appears to change the driver setting.
    Any help much appreciated.
    Thanks
    Mark..

    Additional to information in above post, the operating system is Windows Vista Home Premium with Service Pack 1.
    Could this be the underlying issue, Dasylab and Windows Vista are untested?
    Thanks

  • Need help with recovering data from a truecrypt HDD

    I have done something stupid, I have run fdisk on my truecrypt hdd by mistake, and created 2 new partition. the 1st one on 67mb and the 2sd for the rest of the hdd.
    Can someone plz help me with restoring the data? I am not really sure there to begin.

    Get testdisk.  I use Parted Magic to recover partitions with Testdisk.  So long as you can decrypt the resurrected partitions AND provided you have NOT written to those two partitions after they were fdisk'ed you should be able to recover from this mess.  I really recommend PartedMagic for this sort of thing only because it has a good interface and a lot of other tools in one place.
    Testdisk isn't hard to use and there are mini-tutorials out there if you're really stuck such as these links from our wiki:
    Testdisk and Photorec

  • Help with displaying data in advanceddatagrid

    Hi,
    I am working on flex 4.5.0 with java 5 as back end using blazeds.
    I've to display nested data in advanceddatagrid.
    Complex Person -> Person
    From the backend i am sending an ArrayList of ComplexPerson which consists of Person Object as well.
    code snippet is as follows
    ComplexPerson complexPerson = new ComplexPerson(person);
    complexPerson.setUser(person.getUser());
    complexPersonList.add(complexPerson);
    return complexPersonList;
    When i access the ArrayList on the Flex end I am able to print the number of elements in the ArrayList but when i try to print the elements within the ArrayList I get following error
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at net.sf.gilead.pojo.actionscript::LightEntity/toString()[C:\eclipse\workspace\gilead\gilea d\trunk\adapter-actionscript\src\net\sf\gilead\pojo\actionscript\LightEntity.as:55].
    So my question is
    1. how do i set a parent-child relationship between ComplexPerson and Person Object. whether i should do it java by passing some property or is there any functionality available in flex.
    2. I dont want to pass an XML from java to flex as i am using remote object.
    Could anyone please suggest what is the best way to do this?
    Thanks in advance.
    Shuja.

    Formated post here:
    http://forum.java.sun.com/thread.jspa?threadID=641779

  • Display data from CSV file in iWeb page

    Hi,
    I like to display data from a CSV file in iWeb page if a date value from CSV file matches todays value from the system. Here is an example.
    CSV data values
    01/20/2011,Sunny,87
    01/21/2011,Cloudy,100
    01/22/2011,Rainy,60
    If today's date value is 01/21/2011 the page should display 01/21/2011 Cloudy 100 in a tabular format.
    Appreciate your help in providing HTML code for this issue.
    Thanks

    I suspect there is a soft return in the excel database somewhere that can't be seen. Take the csv/txt file into notepad and look for a line that starts oddly compared to the others.
    I haven't had luck removing soft returns from excel files so I do this a rather odd way. I take the excel file into InDesign as a table, and then use find/change to replace any soft returns with nothing, then convert the text to table and then export the text out again by going export, and selecting text from the dropdown menu.
    For my money, I always save tab delimited text files from excel so that if a field does contain commas, it doesn't "trick" indesign into thinking a new field is beginning or not... instead the field delimiters are tabs and they are unlikely to have been used in the excel database.
    If you do choose to use this indesign import method of mine to clean up the database, i also noticed two things in your screengrab: first was that some fields have spaces at the start of the text... easy enough to fix with a GREP that looks for ^\s (start of a sentence followed by a space) and replace with nothing. The second thing is the T&C field that all entries (at least in the screengrab) all start the same – if all entries in the database start the same, couldn't that line be in the indesign file? Its only a small detail I know.

  • Short dump MESSAGE_TYPE_X in displaying data from BPC Virtualcube

    Hi Experts,
    I am experiencing an error when try to display data from a BPC VirtualProvider Infocube (both from Workbench and with LISTCUBE transaction).
    This kind of virtualcube is auto generated by BPC.
    When I do some kind of selection I obtain this error: MESSAGE_TYPE_X
    Short text of error message:
    System error in program SAPLRRK0 and form CHECK_KHANDLE (see long text)
    Technical information about the message:
    Message class....... "BRAIN"
    Number.............. 299
    Variable 1.......... "SAPLRRK0"
    Variable 2.......... "CHECK_KHANDLE"
    I have another BPC vitualprovider and this doesnu2019t happen.
    I would use this cube inside a multiprovider, that has a BI cube too, and get the data through a BEx query. But the query throws the error and stopped.
    I know that there could be problems with BPC structures (i.e. changes in tech name when transporting it), but at the moment I donu2019t see other solution to compare BI to BPC data.
    I went through other posts in sdn forum for this issue, but I am not able to get the exact solution,
    please help
    Thanks,
    Marco
    System version:
    BW:     701 level 0007
    BPC:     750 level 0005

    Hi Lokesh,
    I read the note you have indicated.
    For the first note 1479393: I donu2019t have hierarchies and the error appears in a different program to what is indicated in the note. This is where terminated:
    Termination occurred in the ABAP program "SAPLRRK0" - in "CHECK_KHANDLE".
    The main program was "GP4LQ7N6RS4RUB6HA69UREYGPKB ".
    In the source code you have the termination point in line 34
    of the (Include) program "LRRK0F05".
    Furthermore, there are no calculated measures nor members in the MDX statement, because I just try to display the data from the virtualcube.
    For the second 1448691: yes, it could be a performance related problem. Indeed, when I apply stronger filters, the error doesnu2019t occur and I got the data. But the system is already patched to SAPKW70107.
    So, do you have any other ideas?
    Thanks,
    Marco

  • Display data from a virtual InfoCube

    Hi experts,
    When I tryed to display data from the virtual InfoCube 0FIGL_V40, I've got a dump.
    Please help me to solve this problem.

    Dear Akshay,
    Is it possible that the problem comes from R/3 since when I check the extractor 0FI_GL_40 with the RSA3 Tcode I've got the message:
    Errors occurred during the extraction --- Message no. RJ012
    I think that the pb has been solved by switching on the business function "Reporting Financials" . Inthe SAP source System -> TA: SFW5. Turn on Reporting Financials. Then I've no pb while testing the extractor.
    Pb solved.
    Many thanks
    Youness
    Edited by: Youness NAJI on Jan 13, 2010 4:39 PM

  • Some German alphabets are replaced by # while downloading data from UNIX

    Hi,
    I have a problem when I upload the data into UNIX application server directory, the data for example the data sent to server had some characters with german alphabets 'ä'
    '2 Jahre Erw. Gewährl.-Level HW-Rep.(11L) '.
    When I try to download the data from UNIX to a .txt file, those alphabets are replaced with '#'. The above characters has a german alphabet 'ä' which was getting replaced with '#'. So the data in the downloaded file from UNIX to a txt file would appear
    '2 Jahre Erw. Gew#hrl.-Level HW-Rep.(11L) '
    I tried to rectify the OPEN DATSET statement with the statement below
    OPEN DATASET L_UNIXFILE FOR OUTPUT IN LEGACY TEXT MODE CODE PAGE '1100'
    IGNORING CONVERSION ERRORS REPLACEMENT CHARACTER ''.
    Even after incorporating the above code in my program didn't help.
    Can any one suggest me solution.
    Regards,
    Rajesh Bhogi

    Check the codepages. If characters are replaced by '#' there is no corresponding character in the target codepage.

  • Use an applet in a Jsp to display data from Oracle DB

    Hi everyone, I'm very new to java my question is:
    Is there a way to display an applet like a table within a Jsp to display data from a Oracle DB? The thing is that I would be able to show this applet only at the click of the submit button in my html form.
    Please help me any sample code are welcome
    Thank you in advance
    Fabry

    Hi,
    Why can't you use a Java Bean which takes the data from the database. Then call this bean from the JSP page using <jsp:useBean> tag.
    Ok,if you dont want a Java Bean and if you want to use an applet in a JSP file, you will have to use <jsp:plugin>tag. Here is an example
    <html><head><title> Demo Applet</title></head>
    <body bgcolor="rd">
    <% if (request.getParameter("SUBMIT") != null) {%>
    <jsp:plugin type="applet" code="DemoApplet.java" codebase="." name="Demo" height="400 with="300>
    <jsp:fallback> Plug in not supported by your browser</jsp:fallback>
    </jsp:plugin>
    </body></html>
    Hope this will help you.
    Rgds,
    Ravi Shankar

  • Problems with displaying data in Chart

    Hi, everyone
    I am stuck with displaying data in Chart. I set the minimum
    and maximum for LinearAxis of a LineChart, so the chart only
    display the data within this range. But sometimes I still need to
    keep the trend of all data even the data is out of range.
    eg, the range of verticalAxis is 0 -100 and I got data 70,
    120, 90. Neither I want to set the data 120 to 100 in order to keep
    the data point nor make the data 70 connected directly to data 90.
    All I want is to keep the shape, from 70 to 120, from 120 to 90,
    but 120 doesn't display in the chart.
    My another question is when I try to select an area of a
    chart to zoom in, how can I the get the exact area that I select to
    zoom,
    for example: I want to use exactly the result of the
    following line:
    ((firstMouseX - this.mouseX)/ this.dataRegion.width) *
    chart.dataProvider.length
    that is I don't want to use methods ceil or floor to get the
    approximate area.
    Excuse me, I got one question more. The weird things is my
    chart won't resize itself when I resize the VDividedBox or other
    containers. I set the width equals 100% wherever it needs to be.
    Just like the Flex sample - dashboard. If I open a small window at
    the very begining and then maximize the window, the chart still
    keep the small part of its container. I don't understand why.
    Sorry for too many questions.
    Hope someone can help me.
    Thanks in advance.

    Can I use the Interpolate to solve the first problem?
    But I have no idea about interpolate at all.
    Please help!

  • How configure a primavera web service to return data from the second database?

    Hi everyone,
    We have P6 with first WS deployed on a single server weblogic domain. The first WS return data from the first database instance.
    Then deployed advanced second WS on a separate weblogic domain server with a different port. Configured second WS with <WS2_INSTALL_HOME>/bin/dbconfig.sh, creating a new branch of a configuration that specifies a different second instance of the database. However, this configuration is ignored and second web services return data from the first database.
    We have one domain, which including next servers:
    Name / Host / Port / Deployments
    P6 / localhost / 0001 / P6(v8.3), p6ws1(v8.3)
    p6ws2 / localhost / 0002 / p6ws2(v8.3)
    Now we have two different file BREBootstrap.xml.
    P6 BREBootstrap.xml:
    <Database>
    <URL>jdbc:oracle:thin:@db1:1521:db1</URL>
    <UserName>pubuser</UserName>
    <Password>anycriptopass1</Password>
    <Driver>oracle.jdbc.OracleDriver</Driver>
    <PublicGroupId>1</PublicGroupId>
    </Database>
    <CfgVersion>8.330</CfgVersion>
    <Configurations>
    <BRE name="P6 Config_DB1" instances="1" logDir="anydir/P6EPPM/p6/PrimaveraLogs"/>
    </Configurations>
    p6ws2 BREBootstrap.xml:
    <Database>
    <URL>jdbc:oracle:thin:@db2:1521:db2</URL>
    <UserName>pubuser</UserName>
    <Password>anycriptopass2</Password>
    <Driver>oracle.jdbc.OracleDriver</Driver>
    <PublicGroupId>1</PublicGroupId>
    </Database>
    <CfgVersion>8.330</CfgVersion>
    <Configurations>
    <BRE name="P6 Config_DB2" instances="1" logDir="anydir/P6EPPM/ws2/PrimaveraLogs"/>
    </Configurations>
    ‘P6 Config_DB1’ and ‘P6 Config_DB2’ including Database property for 1 and 2 database respectively.
    How to configure a second web service to return data from the second database?
    Thanks in advance!
    Regards,
    Dmitry

    OK, so I got this to work this morning with Username Token Profile (with little help from Oracle Support).
    I followed your steps 1-4 but in step 2 I didn't add the -Ddatabase.instance=2 because I want to check to see if my code could swap between different instances.
    It appears for Username Token Profile to use Database Instance, you need to set it in the soap header.
    So my soap request looks like this:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
        <s:Header>
            <DatabaseInstanceId xmlns="http://xmlns.oracle.com/Primavera/P6/WS/Authentication/V1">2</DatabaseInstanceId>
            <o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
                <u:Timestamp xmlns:u='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd' u:Id='uuid-327b6ed1-b26d-4a61-81d5-e326174c1961-3'>
                    <u:Created>2014-10-23T04:28:01.152Z</u:Created>
                    <u:Expires>2014-10-23T04:29:01.152Z</u:Expires>
                </u:Timestamp>
                <o:UsernameToken u:Id='uuid-327b6ed1-b26d-4a61-81d5-e326174c1961-3' xmlns:u='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd'>
                    <o:Username>admin</o:Username>
                    <o:Password Type='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText'>password</o:Password>
                    <o:Nonce EncodingType='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary'>vJBQhCc28bAeszej7gOaiC2tVCQ=</o:Nonce>
                    <u:Created>2014-10-23T04:28:01.152Z</u:Created>
                </o:UsernameToken>
            </o:Security>
        </s:Header>
        <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
            <ReadProjects xmlns="http://xmlns.oracle.com/Primavera/P6/WS/Project/V2">
                <Field>ObjectId</Field>
                <Field>Id</Field>
                <Field>Name</Field>
                <Field>Status</Field>
                <Field>StartDate</Field>
                <Field>FinishDate</Field>
                <Field>DataDate</Field>
                <Filter>Id = 'EC00515'</Filter>
            </ReadProjects>
        </s:Body>
    </s:Envelope>
    This request pulled the project from the second instance.
    V/r,
    Gene

Maybe you are looking for

  • Pricing Procedure for harvest type of products - wheat/ corn

    Dear Gurus, I have to define a price procedure for harvest products such as wheat, corn etc... The only piece of information I have is that there is no minimum quantity and that the unit of measure is the Kilo or the Ton. Based on that, could anyone

  • HT4946 how to find out my iphone backup password

    how do i find out my iphone backup password?

  • HT2513 when i enter the date march 30 in ical it changes to march 29

    When I try to enter an event on March 30, iCal automatically enters March 29th. If I try to change the date in edit, the date reverts to the 29th. How can I force iCal to use 30/3 as a date?

  • How to Create Tab Logos?

    many websites have little logos placed next to their IP address and next to the webpage title which appears on its tab in the IE browser (such as Adobe's red and white logo). Websites which do not set any logos have the generic IE logo next to their

  • Error when checking in Activity

    Hi All, When I rebuild my webdynpro project, it builds successfully without any errors. I can also deploy and run my application. But when I checkin my Activity, I get an error: "A Context model node has to be bound to a model class ". I have checked