DateTime and Timezone

Greetings all. 
    First, of all, I am working in Business Logic 11.5.   I have a txt file sitting on a server (the server is in the Eastern Time Zone and DOES observer Daylight Saving Time) GMT-4 during the summer, GMT-5 during the winter.
My MII server is in the Easter Time Zone and DOES NOT observe Daylight Saving Time GMT-5 all year round.
I am using a GetFileList Action block to find out the Date (date node coming back is DateModified).
<h4>The date coming back shows it's timezone as GMT-5</h4>
(I'm guessing from the Mii server) when I do a
datefromxmlformat( GetFileList.FileList{/Rowsets/Rowset/Row/Date},  "MM/dd/yyyy HH:mm:ss z")
I'd like to subtrack 5 hours - I know dateaddhours(datetime, -5) - and have it return that that the timezone is now GMT-0 - that's the reason to subtract 5 -for Eastern TimeZone
<h4>ITEM 1-  but can't figure out how to get the Time Zone to change.  </h4>
<h4>ITEM 2  - The Sample output for the action shows 7 Nodes coming back I only receive 5 of them</h4>
This is mostly a Curiousity Question not a needed item
<Row>
  <Name></Name>
  <Date>This is really ModifiedDate</Date>
  <LastWriteDate></LastWriteDate>
  <LastAccessDate></LastAccessDate>
  <Size></Size>
  <ReadOnly></ReadOnly>
  <FullPath></FullPath>
</Row>
I only get back  
<Row>
  <Name></Name>
  <Date>This is really ModifiedDate</Date>
  <Size></Size>
  <ReadOnly></ReadOnly>
  <FullPath></FullPath>
</Row>
<h4>Is there anyway to get the remaining 2 nodes?</h4>
Edited by: Dennis West on Sep 8, 2008 10:33 PM

Dennis,
#2 Looks like an 11.5 bug to me (perhaps some carryover from 11.0/.NET to java conversion) - where the reference document shown by the action block in the link editor is different than what actually gets built and returned at runtime by the Runner engine.
12.0 adds the LastWriteDate back to the output, and design time and runtime match, but LastAccessDate is gone for good.
Regards,
Jeremy
Edited by: Jeremy Good on Sep 8, 2008 8:57 PM

Similar Messages

  • WebServices and Timezones

    I have .NET web services that return arrays of xml objects,
    some of which include Date/Time values (i.e. birth date). I do not
    care about timezone for these values. The server services do not
    specify any timezone in their result, they send
    "2006-01-01T00:00:00". Flex 2 builds the objects propery but
    automatically adjusts any date/time values in the objects based on
    the diff between utc and the clients computer timezone.
    How can i turn this behavoir OFF? I do not want Flex to do
    anyting with timezones, my app hadles that were it cares. I just
    want flex to give me the exact date returned form the service.
    Please Help,
    - Kelly

    Kelly, I replied to your flexcoders post with the following:
    The problem is that .NET returns the dateTime without
    timezone information, i.e. the value "1977-06-12T00:00:00" is
    missing the suffix for timezone data. If it returned
    "1977-06-12T00:00:00Z" or some other timezone info it would work
    fine. In XSD the absence of a timezone means the date/time is
    technically indeterminate by a significant range (+/- 14 hours for
    various DST worst cases I presume). Flex 2.0 interprets an XSD
    dateTime as an ActionScript Date in all cases - but without any
    timezone information it currently uses UTC to construct the date.
    We have a bug that asks us to consider a change to this behavior to
    assume the local client timezone when creating the date, but both
    of these solutions are technically arbitrary.
    Irrespective of Flex, ActionScript Dates are always displayed
    in the local timezone no matter what... there are various UTC
    helper methods to get information back in the UTC timezone.
    Your manual correction probably isn't working because you
    would have to take into account that the timezone-less dateTime has
    been interpreted in the UTC timezone but then on the default
    display of the Date it's in your local timezone. If you can't get
    .NET to include timezone information then for now I suggest sending
    a String back instead to avoid this complication.

  • OIM 11gR2 - Self Registration Locale and Timezone

    Hi,
    I would like to prepopulate locale (usr_locale) and timezone (usr_timezone) when a user registers using self registration. I created a PrePopulationAdapter, updated SelfCreateUserDataset.xml in MDS, registered the plugin containing the adapter, restarted OIM, purged cache.. but the adapter is not triggered.
    I did the exact same thing for the Role field (which was already using a prepopulation adapter OOTB and I changed the adapter class) and it worked fine.
    I'm wondering if those fields (usr_locale and usr_timezone) are not prepopulatable from self registration ?
    Is there another way of setting their value automatically (I mean nor the end user, nor the approver filling the field)  ?
    SelfCreateUserDataset.xml :
    <AttributeReference name="Role" attr-ref="Role" type="String" widget="dropdown" length="255" required="true" available-in-bulk="false" lookup-code="Lookup.Users.Role">
    <PrePopulationAdapter name="XnetRolePrepopulateAdapter" classname="fr.xxx.XnetRolePrepopulateAdapter"/>
    </AttributeReference>
    <AttributeReference name="usr_locale" attr-ref="usr_locale" type="String" widget="text" length="80" required="false" available-in-bulk="false">
    <PrePopulationAdapter name="XnetLocalePrepopulateAdapter" classname="fr.xxx.XnetLocalePrepopulateAdapter"/>
    </AttributeReference>
    <AttributeReference name="usr_timezone" attr-ref="usr_timezone" type="String" widget="text" length="100" required="false" available-in-bulk="false" mls="false">
    <PrePopulationAdapter name="XnetTimezonePrepopulateAdapter" classname="fr.xxx.XnetTimezonePrepopulateAdapter"/>
    </AttributeReference>
    Thank you,
    Gaël

    I think you can but that would definitely require a cutom UI using ADF. Following could be the possibility:
    - As the user is not yet logged in, so there would be no way to identify as who the user is (patient or doctor) ?
    - So you may have one field with drop-down type patient/doctor at the top, once the user selects that field, you can show different attributes there after
    - As how to do it, refer to the OIM11G documentation for customizing UI

  • APIs for Country lookup values and Timezone lookup values

    Hi,
    We are developing a J2EE application for remote user management in EP.
    We want to query the lookup values for country and timezone (required when we create user). Are there any APIs that would return these values when called from our J2EE application?
    Also let me know if there are any workarounds?
    Thanks and regards,
    Pratik H. Thakkar

    Hi Guys,
    By using Java API, I got 239 countries on Windows 2K professional. Whereas in EP there are 233 countries. Also the names are not matching for eg: American Samao is missing in my local machine.
    Please help.
    Regards,
    Pratik H. Thakkar

  • Country and timezone info on business card?

    Lately I saw a thread on ALT texts for the flag image on the business card.
    In addition to that I would like to suggest that the country name and timezone are printed next to the flag. Knowing the timezone of other posters may help to steer expectations about response times.

    Actually in an odd way I like looking up flags, it has a little educational value in it. Without SCN I wouldn't be able to tell you off the top of my head that Iceland is a blue flag with a red cross.
    A quick trick for flags is r-click -> properties, get two letter iso code from end of address (use mouse selection to scroll to end), look up in T005 if necessary.
    However I think the timezone is an excellent suggestion! Perhaps also with an offset to one's own timezone?
    Cheers,
    Mike

  • Modify install images: set locale, keymap and timezone

    I'd like to change the default locale, keymap and timezone for my multi architecture Arch install stick.
    As far as I understand, adding 'locale=xyz keymap=xyz timezone=xyz' to the APPEND-line in syslinux config should work, but the image gets mounted as read-only ufs.
    Is there an easy way to do this little modification or do I have to create a complete custom image using archiso?
    Thanks,
    lynix

    Is not possible. If you want to do changes, you need to copy the contents manually and install syslinux as bootloader [#1]
    On that point you can change easily syslinux.cfg
    [#1] https://wiki.archlinux.org/index.php/US … _USB_drive

  • How can add Hours in datetime and result is also in datetime?

    Hi Friends,
    How can add Hours in datetime and result is also in datetime?
    I want such as 22-11-2006 10:30=22-11-2006 08:30+2 from dual
    Select (22-11-2006 08:30+2) from dual;
    And Result should be in this form 22-11-2006 10:30
    Best regards,
    Shahzad

    sql>
    select col1, col1 + interval '1' hour
    from t;
    COL1 COL1+INTERVAL'1'HOUR
    04-DEC-06 12.21.55.000000 PM  04-DEC-06 01.21.55.000000000 PM                                                                                                                                                                                                                                                                                                                               

  • IPod touch keeps changing the date, time, and timezone on its own

    Yesterday I noticed that the iPod was showing the wrong date, so I fixed it. I also checked the computer I was syncing to, but it had the correct date, time, etc. Now when I woke up the iPod today, the time, date, and timezone had all been changed again. Has anybody else had this problem, or know what I need to do to stop it? Thanks!

    When you sync the iPod, you have to sync it with a "new" iTunes window.
    Before you connect the iPod, exit out of iTunes, then reload it, and finally connect your iPod to it.
    I believe there was a software update that fixed this...

  • DateTime with Timezone in XSLT

    All,
    version: 11.1.1.4
    I have a requirement where in I have to validate the datetime in XSLT. User A will send a xml doc with a dateformat he is comfortable. like this many users will send a similar xml doc to my application which can have datetime in any format. But my application wants in a particular format i.e '2013-01-20T05:11:42+05:30'. In XSLT I want to check if the dateformat in the xml doc is in the expected format, send the doc as it is, otherwise format it to the expected date. I'm exploring xp20:format-dateTime function to achieve this.
    to put it in simple algorithm
    if dateformatin xml doc = 'format expected' then
    send as it is
    else
    format it to expected date
    I tried using the xp20:format-dateTime function as <xsl:value-of select="xp20:format-dateTime(/ns0:cXML/Request/InvoiceDetailRequest/InvoiceDetailRequestHeader/@invoiceDate,'[Y0001]-[M01]-[D01]T[H01]:[m01]:[s01]')"/> but don't know how to add the timezone to it. Any help is appreciated.
    thanks
    sen

    many users will send a similar xml doc to my application which can have datetime in any formatJust be aware that receiving datetime in any format as you stated is not quite achievable... If you receive 01-12-2013, will be that the 12th of Jan or the 1st of Dec? At the end of the day you will have to decide what format (or formats) you will accept...
    Also xp20:format-dateTime won't help you in this matter, this functions gets a ISO8601 date and formats it... I believe you're trying to do the reverse, and there's no function available in BPEL to do it... Either you'll have to write a custom function or use a java callout with SimpleDateFormat...
    Cheers,
    Vlad

  • SimpleDateFormat and TimeZone; is: +0200 but must be +02:00

    Hello,
    running this code ...
    SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssz");
    System.out.println(sdf.format(new Date()));... outputs this line as expected ...
    2008-07-24T18:59:58+0200... but what i actually need is ...
    2008-07-24T18:59:58+02:00Note the additional colon in the time zone output: +02*:*00. How to get that format as described in http://www.w3.org/TR/NOTE-datetime ?
    Thanks!

    nclow wrote:
    CapM wrote:
    Yes, but it also added a "GMT", which is not allowed by the remote side (i need to format XML that follows certain restrictions).Then your problem has just become a bit larger. Read the difference between the z and the Z symbol in the sdf API documentation. What will you do when your timezone output is "EDT" as it is for me? You can't put a colon in that. You may have to do further parsing with a Z symbol to eliminate text from that output and just keep the numbers. You might want to just do a new SimpleDateFormat("Z") and then pass that to a custom parser which will manipulate it according to your requirements, then append it later.Well, i guess that one is graceful and pragmatic enough. Thanks for your suggestions @ all!

  • Problem with date and timezone

    Hello,
    I am encountering a problem with the command new java.util.date() on a hpux 11 machine.
    The "date" from command line returns:
    Tue Oct 26 18:02:02 MEST 2004
    And the date from java returns:
    Tue Oct 26 17:02:02 GMT+01:00 2004
    It is as if the JVM was running on another timezone than the machine. The only change we made is an upgrade from java 1.2.2.04 to 1.2.2.17. Our old java program running since 2000 hasn't changed nor the others environment files.
    Does anyone has an explaination? Javadoc for jav.util.date does not speaks of timezone.
    Thanks in advance,
    Valere

    I have tried, it is the same pb with java 1.4.
    How to set the default timezone for a JVM?
    Concerning the patch, we have several others worksations running well with 1.2.2.04 (except a small display bug that i wanted to correct by upgrading the JVM). To my knowledge, this patch is not installed on any of them.
    Another way to investigate, it seems that the java version installed on the others stations refers to java 3D. What is it? It has a different architecture than standard jre, but java -version seems exactly the same (except the version number itself).
    Mayday, mayday!

  • Problem with CentOS 4.4 and TimeZone

    The oracle is already running in server.
    But when i want start the em console give the following error.
    Timezone mismatch: The agentTZRegion value (Europe/Madrid) in
    /oracle/10g/localhost.localdomain_TIJAVA/sysman/config/emd.properties
    does not match the current environment TZ setting(Europe/Madrid).
    The dbconsole cannot run with this mismatch.
    If Europe/Madrid is the correct timezone, set your timezone environment variable to Europe/Madrid and repeat the 'emctl start dbconsole' operation.
    If Europe/Madrid is not the correct timezone, make sure that the timezone in your environment is correct, and then run the following command in your local Oracle Home: 'emctl resetTZ agent'
    The output of this command will include detailed instructions to follow, to correct the mismatch.
    im /etc/timezone is defined the correct timezone.
    HELP ME!!!!
    Thanks

    Look at this other thread Re: Time Zone Problem in Linux RedHat

  • Convert string to datetime and then use in a where clause

    I am trying to pull in warranty expiry dates that have been entered as strings and then perform a calculation as to which ones are expired, about to expire within
    90 days or will expire in more than 90 days. I have got the query to a point where I have converted it to a datetime field (though I'm sure I used the right value to just give me the date, its giving me date and time) and have it printing out the machine name
    and the warranty for that machine.
    SELECT
      machNameTab.machName
      ,convert(date,auditRsltManualFieldValues.fieldValue,103) AS warranty
    FROM
      machNameTab
      INNER JOIN auditRsltManualFieldValues
        ON machNameTab.agentGuid = auditRsltManualFieldValues.agentGuid
    WHERE
      machNameTab.groupName = N'root.company'
      AND auditRsltManualFieldValues.fieldNameFK = 958472722796011
    What I need to do next is change this so instead of just spitting out all the dates as 'Warranty', I want it to give me the fields 'Expired', 'Expiring' (expiry date is within 90 days of the current date) and 90Days (expiry date is over 90 days from the current
    date)

    SELECT
    machNameTab.machName
    ,convert(date,auditRsltManualFieldValues.fieldValue,103) AS warranty,
    select
    case
    when datediff(day,getdate(),convert(date,auditRsltManualFieldValues.fieldValue,103) )<90 then 'Expiring'
    when datediff(day,getdate(),convert(date,auditRsltManualFieldValues.fieldValue,103) )<0 then 'Expired'
    when datediff(day,getdate(),convert(date,auditRsltManualFieldValues.fieldValue,103) )>=90 then '90Days'
    end as status
    FROM
    machNameTab
    INNER JOIN auditRsltManualFieldValues
    ON machNameTab.agentGuid = auditRsltManualFieldValues.agentGuid
    WHERE
    machNameTab.groupName = N'root.company'
    AND auditRsltManualFieldValues.fieldNameFK = 958472722796011
    I added a case to your select. The case will output the strings you wanted based on the date.

  • Schema validation not enforcing full datetime or timezone formats

    We have a schema definition which requires that all date elements are in the format YYYY-MM-DDTHH:MM:SSZ (eg 2010-06-05T05:26:59Z),
    so to register this in Oracle we have added xdb:SQLType="TIMESTAMP WITH TIME ZONE" against the date elements.
    However if a date contains a value in YYYY-MM-DD format, then the schema passes validation in Oracle. This is incorrect as the same
    xml fails validation in Altova XMLSpy. [http://www.w3schools.com/schema/schema_dtypes_date.asp] confirms that all components of the date
    format are required.
    To illustrate my point:
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Oct 5 11:19:15 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> DECLARE
    2 xmlschema CLOB := '<?xml version="1.0" encoding="UTF-8"?>
    4 <xs:schema xmlns:xdb="http://xmlns.oracle.com/xdb" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
    5 <xs:complexType name="dateTypes" mixed="true" xdb:SQLType="DATES_T">
    6 <xs:sequence>
    7 <xs:element name="date" type="xs:date"/>
    8 <xs:element name="dateTime" type="xs:dateTime"/>
    9 <xs:element name="timestamp" type="xs:dateTime" xdb:SQLType="TIMESTAMP WITH TIME ZONE"/>
    10 </xs:sequence>
    11 </xs:complexType>
    12 <xs:element name="Test" type="dateTypes" xdb:defaultTable="DATE_TABLE"/>
    13 </xs:schema>' ;
    14 BEGIN
    15 dbms_xmlschema.registerSchema (schemaURL => 'Testdate.xsd',
    16 schemaDoc => xmlschema,
    17 local => TRUE,
    18 genTypes => TRUE,
    19 genBean => FALSE,
    20 genTables => TRUE);
    21 END;
    22 /
    PL/SQL procedure successfully completed.
    SQL> DECLARE
    2 xmlfile XMLTYPE := xmltype('<Test>
    3 <date>2010-06-05</date>
    4 <dateTime>2010-06-05T05:26:59</dateTime>
    5 <timestamp>2010-06-05T05:26:59Z</timestamp>
    6 </Test>') ;
    7 BEGIN
    8 xmlfile := xmlfile.createSchemaBasedXML ('Testdate.xsd');
    9 xmlfile.schemaValidate ();
    10 END;
    11 /
    PL/SQL procedure successfully completed.
    SQL> SQL> DECLARE
    2 xmlfile XMLTYPE := xmltype('<Test>
    3 <date>2010-06-05</date>
    4 <dateTime>2010-06-05</dateTime>
    5 <timestamp>2010-06-05</timestamp>
    6 </Test>') ;
    7 BEGIN
    8 xmlfile := xmlfile.createSchemaBasedXML ('Testdate.xsd');
    9 xmlfile.schemaValidate ();
    10 END;
    11 /
    PL/SQL procedure successfully completed.
    The latter xml should fail. Validating this in XMLSpy it gives the error:
    Value '2010-06-05' is not allowed for element <dateTime>.
         Hint: A valid value would be '2001-12-17T09:30:47Z'.
         Error location: Test / dateTime
         Details
              cvc-datatype-valid.1.2.1: For type definition 'xs:dateTime' the string '2010-06-05' does not match a literal in the lexical space of built-in type definition 'xs:dateTime'.
              cvc-simple-type.1: For type definition 'xs:dateTime' the string '2010-06-05' is not valid.
              cvc-type.3.1.3: The normalized value '2010-06-05' is not valid with respect to the type definition 'xs:dateTime'.
              cvc-elt.5.2.1: The element <dateTime> is not valid with respect to the actual type definition 'xs:dateTime'.
    Is there any way to enforce validation of the full format?
    We are running Oracle 10.2.0.4 on Linux.
    Jon

    SQL> sho user
    USER is "OTN"
    SQL> desc date_table
    Name                                      Null?    Type
    TABLE of SYS.XMLTYPE(XMLSchema "Testdate.xsd" Element "Test") STORAGE Object-relational TYPE "DATES_T"
    SQL> desc "DATES_T"
    "DATES_T" is NOT FINAL
    Name                                      Null?    Type
    SYS_XDBPD$                                         XDB.XDB$RAW_LIST_T
    date                                               DATE
    dateTime                                           TIMESTAMP(6)
    timestamp                                          TIMESTAMP(6) WITH TIME ZONE
    SQL> DECLARE
      2    xmlfile XMLTYPE := xmltype('<Test xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      3                   xsi:noNamespaceSchemaLocation="Testdate.xsd">
      4                      <date>2010-06-05</date>
      5                      <dateTime>2010-06-05</dateTime>
      6                      <timestamp>2010-06-05</timestamp>
      7                      </Test>') ;
      8  BEGIN
      9      xmlfile.schemaValidate ();
    10 END;
    11 /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.00
    SQL> DECLARE
      2    xmlfile XMLTYPE := xmltype('<Test xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      3                   xsi:noNamespaceSchemaLocation="Testdate.xsd">
      4                      <date>2010-06-05</date>
      5                      <dateTime>2010-06-05</dateTime>
      6                      <timestamp>2010-06-05</timestamp>
      7                      </Test>') ;
      8  BEGIN
      9      insert into date_table
    10      values
    11      (xmlfile);
    12  END;
    13 /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.00
    SQL> select * from date_table;
    SYS_NC_ROWINFO$
    <Test xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchem
    aLocation="Testdate.xsd"><date>2010-06-05</date><dateTime>2010-06-05T00:00:00.00
    0000</dateTime><timestamp>2010-06-05T00:00:00.000000+00:00</timestamp></Test>
    SQL>DECLARE
      2    xmlfile XMLTYPE := xmltype('<Test xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      3                                xsi:noNamespaceSchemaLocation="Testdate.xsd">
      4                               <date>2010-06-05</date>
      5                               <dateTime>2010-06-05T05:26:59</dateTime>
      6                               <timestamp>2010-06-05T05:26:59Z</timestamp>
      7                               </Test>') ;
      8  BEGIN
      9      insert into date_table
    10      values
    11      (xmlfile);
    12 END;
    13 /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.00
    SQL>  select * from date_table;
    SYS_NC_ROWINFO$
    <Test xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchem
    aLocation="Testdate.xsd"><date>2010-06-05</date><dateTime>2010-06-05T00:00:00.00
    0000</dateTime><timestamp>2010-06-05T00:00:00.000000+00:00</timestamp></Test>
    <Test xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchem
    aLocation="Testdate.xsd"><date>2010-06-05</date><dateTime>2010-06-05T05:26:59.00
    0000</dateTime><timestamp>2010-06-05T05:26:59.000000+00:00</timestamp></Test>
    Elapsed: 00:00:00.01Edited by: Marco Gralike on Oct 5, 2010 5:40 PM

  • Xp20:current-dateTime() and Milliseconds

    Hi
    Does anyone know how to obtain a dateTime to 1 tenth of a second?
    2007-07-06T09:11:48+00:00 is being returned from the above function and I need the date in the following format
    2007-07-06T09:11:48.1Z
    Many thanks
    Pete

    Hi Pete,
    Here's a sample BPEL process that fills a xs:string variable called currentDateTime with a formatted date/time string:
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <!--
      Oracle JDeveloper BPEL Designer
      Created: Fri Jul 06 14:58:24 CEST 2007
      Author:  Bastiaan Schaap, Floris Automatisering
      Purpose: Asynchronous BPEL Process
    -->
    <process name="BPELProcess1"
             targetNamespace="http://xmlns.oracle.com/BPELProcess1"
             xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
             xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
             xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
             xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
             xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
             xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
             xmlns:xsd="http://www.w3.org/2001/XMLSchema"
             xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
             xmlns:client="http://xmlns.oracle.com/BPELProcess1"
             xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
             xmlns:ora="http://schemas.oracle.com/xpath/extension"
             xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
             xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions">
        <!--
            PARTNERLINKS                                                     
            List of services participating in this BPEL process              
        -->
        <partnerLinks>
            <!--
          The 'client' role represents the requester of this service. It is
          used for callback. The location and correlation information associated
          with the client role are automatically set using WS-Addressing.
        -->
            <partnerLink name="client" partnerLinkType="client:BPELProcess1"
                         myRole="BPELProcess1Provider"
                         partnerRole="BPELProcess1Requester"/>
        </partnerLinks>
        <!--
            VARIABLES                                                       
            List of messages and XML documents used within this BPEL process
        -->
        <variables>
            <!-- Reference to the message passed as input during initiation -->
            <!-- Reference to the message that will be sent back to the requester during callback -->
            <variable name="inputVariable"
                      messageType="client:BPELProcess1RequestMessage"/>
            <variable name="outputVariable"
                      messageType="client:BPELProcess1ResponseMessage"/>
            <variable name="currentDateTime" type="xsd:string"/>
        </variables>
        <!--
           ORCHESTRATION LOGIC                                              
           Set of activities coordinating the flow of messages across the   
           services integrated within this business process                 
        -->
        <sequence name="main">
            <!-- Receive input from requestor. (Note: This maps to operation defined in BPELProcess1.wsdl) -->
            <receive name="receiveInput" partnerLink="client"
                     portType="client:BPELProcess1" operation="initiate"
                     variable="inputVariable" createInstance="yes"/>
            <!--
              Asynchronous callback to the requester. (Note: the callback location and correlation id is transparently handled using WS-addressing.)
            -->
            <bpelx:exec name="getFormattedCurrentDateTime" language="java"
                        version="1.4">
                <![CDATA[java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat();         
    sdf.applyPattern("yyyy-MM-dd'T'HH:mm:ss.S'Z'");         
    String formattedDate = sdf.format(new java.util.Date());         
    addAuditTrailEntry("Formatted datetime string is: " + formattedDate);        
    setVariableData("currentDateTime", formattedDate);]]>
            </bpelx:exec>
            <invoke name="callbackClient" partnerLink="client"
                    portType="client:BPELProcess1Callback" operation="onResult"
                    inputVariable="outputVariable"/>
        </sequence>
    </process>HTH,
    Bas

Maybe you are looking for

  • Jabber For Windows - Calender Integration Option on deployment

    We're about to roll out Jabber for Windows to several hundred clients, and have an issue with the Outlook Integration option setting. Our users are migrating from Lotus Notes to Microsoft Outlook and once migrated to Outlook, will get Jabber for Wind

  • Mail crashes every time I try to open a message with an attachment

    Every time I attempt to open a message that contains an attachment, Mail crashes. Does anyone know what is going on? If it helps, I found this info in a crash log called: ???.crash.log The specific Mail crash log doesn't appear to have recent info (n

  • How do I access an itunes account from an old computer??

    Please help!! My son has an ipod touch & his itunes account was on my laptop that crashed. He wants to add a gift card to get more ap's, but I can't figure out how to access...

  • Inconsistent dialog boxes in Mac OS X Lion

    Why do the dialog boxes have two different looks? For example in import PDF you see standard Lion buttons with slightly rounded corners and in contact sheet II they are completely square. That kind of inconsistency makes the app look ugly and cheap.

  • NI-Scope 2.0 doesn't start

    My goal is to work with a NI 5112 I have installed the digitiser in a free PCI-slot: no hardware problems (driver version 2.0.0f0 works fine) 1. I have installed the NI-Scope Software from the NI CD-rom (version 2.0), but Scope-SFP does not start: er