SOAP creates incorrect duration of an appointment

Hi Preston,
I used the GW SOAP in C# to create an appointment: start date = 2010-11-07T00:30:00EST, end date = 2010-11-07T01:30:00EST. The duration is acturally 1 hour, but the appointment created on the GroupWise client shows 2 hours.
Note: Nov 7, 2010 is the day to change from EST to EDT and we have two 1:30am local time on that day.
I think the problem is in the end date. C# always converts the end date to 2010-11-07T06:30:00Z and this will be passed into the SOAP call. If the GW client calculates the duration using the GMT time, it will always be 2 hours insead of 1 hour.
Do you think this is a bug? Is there a workaround for it?
Is there a way to pass the duration directly into the SOAP call?
Thanks,
Johnny

The GW Client interprets the start and end of
daylight savings differently than other
applications. It has special logic that I can't
duplicate in the SOAP API. I chose to be
consistent with other applications. I don't have
a work around for some cases. I'm not sure how
to get the GW Client to change and still maintain
backward compatibility.
Internally, there is not a duration value. There is
only a start and end time. Allowing you to specify
a duration value in the schema, would not help your
case.
Preston
>>> On Friday, October 29, 2010 at 10:06 AM, Johnny
77<[email protected]> wrote:
> Hi Preston,
>
> I used the GW SOAP in C# to create an appointment: start date =
> 2010‑11‑07T00:30:00EST, end date = 2010‑11‑07T01:30:00EST. The
duration
> is acturally 1 hour, but the appointment created on the GroupWise client
> shows 2 hours.
>
> Note: Nov 7, 2010 is the day to change from EST to EDT and we have two
> 1:30am local time on that day.
> I think the problem is in the end date. C# always converts the end date
> to 2010‑11‑07T06:30:00Z and this will be passed into the SOAP call.
If
> the GW client calculates the duration using the GMT time, it will always
> be 2 hours insead of 1 hour.
>
> Do you think this is a bug? Is there a workaround for it?
> Is there a way to pass the duration directly into the SOAP call?
>
> Thanks,
> Johnny

Similar Messages

  • When exporting: Error -2014 "the movie contains an incorrect duration"

    My end goal is to be able to edit .FLV files in iMovie, so I need to convert them to a usable format. I already have QT Pro, so it's the first thing I tried.
    I have Perian, so the .FLV files play with no issues, but when I try to export them to something usable in iMovie, it makes it to the end of the export process and gives the following error:
    "The movie contains an incorrect duration -2014"
    Has anyone had this issue? Are there any known fixes?

    Select an in and out point other than the very start and end (usually a good idea anyway as there is often a bunch of junk you don't need there) and then do edit trim to selection and then save as. Once in a MOV container try exporting.
    You might also try to select, copy , paste in a new player window and then save as, that new one and export from it after saving as.

  • ChaRM Maintenance Cycle created incorrectly

    Maintenance Cycle was created incorrectly, and is now in status of Development without Release. Maintenance Cycle cannot be used, or closed and status cannot be changed. Any suggestions on how to close this maintenance cycle? Thanks

    Start program /TMWFLOW/TL_COMPLETE_FORCE (see note 1345459), type in the cycle task list name you got from the cycle transaction document flow.
    The above is from #9 of Doloreu2019s excellent blog
    Change Request Management scenario: Usual questions and known errors
    /people/dolores.correa/blog/2009/07/22/change-request-management-scenario-usual-questions-and-known-errors

  • PI 7.1 URL for SOAP Sender incorrect

    Hello experts,
    I have a SOAP sender agreement and generated the WSDL from the "Display WSDL..." option on ID, now the problem is that the soap address tags for HTTP_Port and HTTPS_Port are being created with the hostname of my PI server without domain, but all other url's in the wsdl file and including the WSDL URL of the wsdl file have the correct server name and domain, so when somebody gets the wsdl file from the file location and upload it to even Eclipse or just consume it from any other composite cannot reach the service exposed in PI, so I was wondering if any of you experts can help me with where can I find the parameters that Integration Directory use to create the soap address urls fro HTTP and HTTPS automatically, I've checked all the exchange profile and all the reference to server have the domain, I'm not a basis consultant and our basis team cannot find the problem, if anyone can help me with where can I find these parameters would be really appreciated, thanks in advance for your answers.
    Rergards,
    Julio

    HI JULIO,
    SOAP sender agreement and generated the WSDL from the "Display WSDL..." option on ID
    Q. HOW TO CHECK THE JTTP SENDER SIDE URL........WE HAVE ONE OPTION IN ID.....CHECK THE BELOW PROCESS FOR REF.....
    ID-->TOOLS>DEFINE WEB DERVER->CONTINUE->PROPOS URL (CLICK)>CONTUNUE-->SELECT THE INTERFACE
    NAME  (NAME NAME SPACE SOFTWARE COMPONENT NAME)---->CONTINUE --->(THEN SERVICE , INTERFACE
    NAME ,INTERFACE NAME SPACE)-->CONTINUE->OVERVIEW
    THIS IS THE PROCESS TO GET THE SENDER SIDER URL
    REGARDS,
    KESAVA

  • "Date Created" incorrect in Finder after copying image files from CF reader

    Whenever I download image files (by drag and drop copying) from a CF card reader, the 'Date Created' info incorrectly defaults to 'Dec 31, 1903' in the List view of the Finder window.
    'Date Created' shows up blank in the File Info window, too. Correct file info does however show up in the copied Meta Data.
    I've only been able to transfer correct 'Date Created' info by using Image Capture, which is pretty annoying.
    I've tried several cameras, CF cards, USB & FW card readers, and Macs running both Panther and Tiger. Same problem all around. Interestingly, files copy without a problem onto a PC.
    I'm a photographer and I need to sort my images by 'Date Created' because I often shoot with two cameras and need to know the chronological order in which photos were taken.
    Ideas anybody?
    G5 Mac OS X (10.3.9)
    G5 Mac OS X (10.3.9)
    G5   Mac OS X (10.3.9)  

    stqn wrote:
    photorec ?
    Edit: I see that testdisk and photorec belong to the same package... Still it looks like it should be the right tool for the job; but I might be wrong as I never used it.
    Used it a couple of times, my daughter wiped photos from her mobiles memory card by accident .... Linux to the rescue
    Last edited by Mr Green (2010-12-21 11:01:01)

  • SvcUtil creates incorrect namespace in the proxy

    I create the WCF proxy with the cmd:
    svcutil.exe /wrapped /serializer:XmlSerializer GenericTicketConnector.wsdl /o:OTRS.cs /config:App.Config /n:*,OTRSClient.OTRSServiceReference
    Contract GenericTicketConnector.wsdl you can see here:
    https://raw.githubusercontent.com/OTRS/otrs/rel-3_3/development/webservices/GenericTicketConnector.wsdl
    My WCF client code:
    using (OTRSClient.OTRSServiceReference.GenericTicketConnector_InterfaceClient tst = new OTRSClient.OTRSServiceReference.GenericTicketConnector_InterfaceClient("GenericTicketConnector_endPoint"))
    OTRSClient.OTRSServiceReference.OTRS_SessionCreate sc = new OTRSClient.OTRSServiceReference.OTRS_SessionCreate();
    sc.ItemElementName = OTRSClient.OTRSServiceReference.ItemChoiceType8.UserLogin;
    sc.Item = "soap";
    sc.Password = "1234567";
    OTRSClient.OTRSServiceReference.OTRS_SessionCreateResponse res = tst.SessionCreate(sc);
    File.WriteAllText("SessionID.txt", res.SessionID);
    SvcUtil created this proxy:
    [System.ServiceModel.MessageBodyMemberAttribute(Name="SessionCreateResponse", Namespace="", Order=0)]
    public OTRSClient.OTRSServiceReference.OTRS_SessionCreateResponse SessionCreateResponse1;
    But response from server looks like this:
    <soap:Envelope soap:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:soapenc="http://www.w3.org/2003/05/soap-encoding" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <s:Header xmlns:s="http://www.w3.org/2003/05/soap-envelope"></s:Header>
    <soap:Body>
    <SessionCreateResponse xmlns="http://www.otrs.org/TicketConnector/">
    <SessionID>r3oRuOPBXiYtOZCCKIL5ZNSCDCKS7lAt</SessionID>
    </SessionCreateResponse>
    </soap:Body>
    </soap:Envelope>
    Response in my WCF client's code was null.
    I manually corrected the proxy like this:
    [System.ServiceModel.MessageBodyMemberAttribute(Name="SessionCreateResponse", Namespace="http://www.otrs.org/TicketConnector/", Order=0)]
    public OTRSClient.OTRSServiceReference.OTRS_SessionCreateResponse SessionCreateResponse1;
    And the answer began to contain the required data (response is not null).
    How to fix the parameters of the command line SvcUtil call? Or I must fix the WSDL file?
    I need to make a proxy automatically with the correct namespace.

    Hi Andrey Antipov,
    Based on your description, it seems that you are using the XmlSerializer, please try to use the
    DataContractSerializer to see if it can work.
    Besides, please also try to use the "Add Servicexs Reference"  to see if it can make a proxy automatically with the correct namespace.
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Client Creates incorrect posting period

    Good Day,
    I have a client that wanted to create a new period for January 2012.
    He however did it incorrectly, and set the sub-periods as year, and thus the posting dates, due dates and document dates have all been set from the 1 jan to the 31 dec 2012.
    he has posted two purchase orders to this posting period and thus the period cannot be removed and the correct one added.
    Any Suggestions?
    Thanks
    Regards
    Dario

    HI
    Yes you right we can update Dates.
    You can Locked This posting period and can make new posting period with Monthly sub-period .
    Thanks & Regard
    Khan Imran

  • BAPI creating incorrect Item Texts

    Hi all
    I've got a problem where sales orders and credit notes get created via BAPIs but sometimes an item text from the previously created record appears on the following record.
    Background
    The process is as follows:
    1. XI creates a bunch of IDocs containing a mixture of sales order and credit memo doc types
    2. These are all processed in one go within a custom function module
    3. For Credit notes the BAPI 'BAPI_SALESDOCU_CREATEFROMDATA' is used, if this is successful then the item texts are processed which basically involves adding an item text to the last item. This is done using the SAVE_TEXT function. If there is more than one item the first to penultimate items do not have texts.
    4. For other doc types (standard orders, forward orders, paid), function 'SD_SALESDOCUMENT_CREATE' is run in test mode so that a credit check can be performed in advance of creating the document - the sales_text table is populated. If the credit check passes then the order is created using BAPI 'BAPI_SALESORDER_CREATEFROMDAT2'. The texts are created vai the BAPI by populating the order_text table.
    5. The next Idoc is then processed.
    Five times since this went live (about 18 months ago) a Credit Note has been created where the first item on it has the item text from the previous sales order
    What I've done so far
    1. I've reviewed the code to make sure variables are being cleared - they are
    2. I've run data through the system and stepped through it in debug mode - it works fine
    3. Our QAS box was restored from PRD recently so contains some of these incorrect documents. I've re-run the exact same batch that casued the incorrect documents - they are all created correctly
    4. I've trawled through SAP Notes and this forum
    The fact that the problem is not replicable suggests to me that both the data coming in and the bespoke function module are OK. I'm not sure why the different methods have been used for the different doc types but I wonder if this is what's causing the problem, maybe memory is not being cleared or something.
    Any pointers, thoughts, solutions or other genreal musings would be greatly appreciated!
    Thanks
    Andy

    Hi Andy
    Although you have mentioned that, you have checked whether variables are cleared, but from the issue it looks like there must be some variable that does not gets cleared.....i would suggest you to debug once again and check this out.....it might help.
    regards
    Lokesh

  • Incorrect Duration while integrating MSP with Oracle Projects (OP)

    Please help with regard to the below mentioned issue:
    1. Created a WBS in MSP file. (Task T1.1 Duration = 5d in MSP)
    2. Created a project from MSP. The structure used is a partially shared structure.
    3. The duration received in OP is not the same as that in MSP. (Task T1.1 Duration = 7d in OP)
    4. Entered progress for the project in OP.
    5. Received the workplan (WBS) from OP into the same MSP file, the duration was neither 5d nor 7d but 1.67 d.(Task T1.1 Duration = 1.67d in MSP)
    The calendar used in MSP is a standard calendar 5 days * 8 hrs. Which calendar in OP is being used for calculating the duration? I've defined a schedule calendar that is attached to the project template in Additional Information. The schedule calendar is 6 days * 8 hrs.
    Regards,
    Sahoo
    Edited by: user12209290 on Jan 2, 2012 5:49 AM
    Edited by: user12209290 on Jan 2, 2012 5:49 AM

    The Scheduled Start and/or Finish dates in Oracle Projects are not used by MSP to schedule a project if task level Scheduling Options have been populated in Oracle Projects. Constraint Type/Date, Scheduled Duration and Slack fields are used to schedule the project in MSP, not the Scheduled Dates.
    To review the Scheduling Options for a task:-
    Projects: Delivery -> Search Projects [Find project and open it]
    Go to the Workplan tab
    Update the current working version of the workplan
    Update a task (using the pencil icon) in the workplan
    In the Task Details page, select the Schedule sub-tab
    Expand the Options section at the bottom of the page
    To sumamrise, if you schedule a project in MSP then you should continue to use MSP for all scheduling activity on that project. Updates to the scheduled dates in Oracle Projects will be ignored when the plan is downloaded to MSP. MSP will build the plan based on the following fields:-
    Constraint Type
    Constraint Date
    Free Slack
    Total Slack
    Task Type (Schedule task type, not to be confused with Oracle task type)
    Scheduled Duration (not to be confused with the difference between the Scheduled Start and Finish dates in Oracle Projects)
    Actual Duration
    Remaining Duration
    Effort Driven Flag
    Level Assignments Flag
    This is all not documented very well in the Oracle Projects manuals, and comes as a surprise to most users. Some useful additional reading can be found on MOS:-
    Integration with Microsoft Project, Volume 1: Best Practices [ID 987752.1]
    Integration with Microsoft Project, Volume 2: Implementation Recommendations for Project Process [ID 1166372.1]
    Integration with Microsoft Project, Volume 3: Implementation Tips for Project Structures [ID 1166396.1]
    Hope this helps,
    Andy.

  • Incorrect Duration

    MP3 files that I download to the desktop, or whenever I move any mp3 file to the desktop in OS X Lion, always show the wrong time duration (see attached, where both of these files should state they are around 4 mins in length), and this has been puzzling me. When I drag the offending files back into their mp3 folder (or any folder, for that matter) the correct duration time is shown. Also, when the files are on the desktop and I click to 'Get Info', the correct time is displayed in the information box. Anybody have any ideas why this is happening? It makes no difference,either,if I change the preferences to open the files in another player, the desktop time duration info is always incorrect.

    The Scheduled Start and/or Finish dates in Oracle Projects are not used by MSP to schedule a project if task level Scheduling Options have been populated in Oracle Projects. Constraint Type/Date, Scheduled Duration and Slack fields are used to schedule the project in MSP, not the Scheduled Dates.
    To review the Scheduling Options for a task:-
    Projects: Delivery -> Search Projects [Find project and open it]
    Go to the Workplan tab
    Update the current working version of the workplan
    Update a task (using the pencil icon) in the workplan
    In the Task Details page, select the Schedule sub-tab
    Expand the Options section at the bottom of the page
    To sumamrise, if you schedule a project in MSP then you should continue to use MSP for all scheduling activity on that project. Updates to the scheduled dates in Oracle Projects will be ignored when the plan is downloaded to MSP. MSP will build the plan based on the following fields:-
    Constraint Type
    Constraint Date
    Free Slack
    Total Slack
    Task Type (Schedule task type, not to be confused with Oracle task type)
    Scheduled Duration (not to be confused with the difference between the Scheduled Start and Finish dates in Oracle Projects)
    Actual Duration
    Remaining Duration
    Effort Driven Flag
    Level Assignments Flag
    This is all not documented very well in the Oracle Projects manuals, and comes as a surprise to most users. Some useful additional reading can be found on MOS:-
    Integration with Microsoft Project, Volume 1: Best Practices [ID 987752.1]
    Integration with Microsoft Project, Volume 2: Implementation Recommendations for Project Process [ID 1166372.1]
    Integration with Microsoft Project, Volume 3: Implementation Tips for Project Structures [ID 1166396.1]
    Hope this helps,
    Andy.

  • Storage 7110: ACL being created incorrectly and being modified

    I have setup up a share with the following ACLs:
    % ls -ldV /home/andrew
    drwxr-x--x+180 andrew   staff        393 Jun 19 11:57 /home/andrew/
    group:Domain Admins:--------------:-------:deny
    group:Domain Admins:rwxpdDaARWcCos:fd-----:allow
    group:Domain Users:--------------:-------:deny
    group:Domain Users:--x-------c--s:fd-----:allow
    group:SystemUsers:--------------:-------:deny
    group:SystemUsers:rwxpdDaARWcCos:fd-----:allow
    owner@:--------------:-------:deny
    owner@:rwxpdDaARWcCos:fd-----:allow
    group@:-w-p----------:-------:deny
    group@:r-x----------s:-------:allow
    everyone@:rw-p---A-W-Co-:-------:deny
    everyone@:--x---a-R-c--s:-------:allow
    group:IISstudentUsers:--------------:-------:deny
    group:IISstudentUsers:r-x---a-R-c--s:fd-----:allowbut when I create a new subdirectory from a OpenSolaris client or on the Storage box via the shell I get the new ACL or modified ACL's...
    % mkdir /home/andrew/test5
    % ls -ldV /home/andrew/test5
    drwxr-xr-x+  2 andrew   staff          2 Jun 19 12:00 /home/andrew/test5/
    group:Domain Admins:rwxpdDaARWcCos:fdi----:allow
    group:Domain Admins:-w-p----------:-------:deny
    group:Domain Admins:rwxpdDaARWc--s:-------:allow
    group:Domain Users:--x-------c--s:fdi----:allow
    group:Domain Users:--------------:-------:deny
    group:Domain Users:--x-------c--s:-------:allow
    group:SystemUsers:rwxpdDaARWcCos:fdi----:allow
    group:SystemUsers:-w-p----------:-------:deny
    group:SystemUsers:rwxpdDaARWc--s:-------:allow
    owner@:rwxpdDaARWcCos:fdi----:allow
    owner@:----dDaARWc--s:-------:allow
    group:IISstudentUsers:r-x---a-R-c--s:fdi----:allow
    group:IISstudentUsers:--------------:-------:deny
    group:IISstudentUsers:r-x---a-R-c--s:-------:allow
    owner@:--------------:-------:deny
    owner@:rwxp---A-W-Co-:-------:allow
    group@:-w-p----------:-------:deny
    group@:r-x-----------:-------:allow
    everyone@:-w-p---A-W-Co-:-------:deny
    everyone@:r-x---a-R-c--s:-------:allowThanks
    Andrew

    Hi Andrew,
    Did you get to a solution with this one. I'm having a bit of fun ?? attempting to configure a 7110 box for windows and solaris access. My workaround has been to grant full root permissions to all and sundry for now (far from ideal).
    The inheritence for windows users is the easy bit, as soon as I create files/folders over NFS or add a domain group into the ACL, I run into issues either reading the ACL from the solaris side or indeed accessing the directory.
    Have you come across any documentation for solaris/windows interoperability?
    Any help/advice appreciated.
    Chris

  • When exporting as Microsoft Word, headers and footers created incorrectly

    Using Acrobat X, I converted a PDF file to Microsoft Word 2007 format. I selected "Flow Layout" because I'm writing automated software that reads Word documents and flow makes it easier to process. In case you're wondering, I don't read PDF directly simply because most of the documents my software reads is native Word. For the remaining PDF documents, translation to Word prevents me having to write software that reads both Word or PDF files.
    Here's the issue:
    With Flow layout, Acrobat attempts to determine Word headers and footers. Unfortunately, it does so incorrectly much of the time for many documents. In particular, lines near the top of the file are "pulled" into the header and lines near the bottom are "pulled" into the footer. In the following picture, look closely at the black vs. grey text. The grey text is in the headers and footers. Note also the green squiglies indicating grammer errors.
    I either need this fixed, or an option to turn off header/footer recognition.

    No problem:) The RC should come out early next week...

  • Incorrect durations in call logs

    My wife has the Blackberry Curve 8520 . her Call logs are showing calls from her Boss for unusually long call durations , She says this is a fault in the BB but I am suspecting that she does not want to explain why in a 3 hour shift at work her boss feels the need to call and chat for sometimes 45 min, 40 min and even sometimes an hour at a time on frequent levels . tihs is happenning frequently so has anyone using this phone had the same problem (imean with call logs, not the missus lyeing lol) can someone put my mind at ease.. is this possible or am i paranoid,

    n_deepesh wrote:
    For every silly Lumia problems there is an app, or an update or an app/update that is yet to come. I think that if Lumia was to be released this way only, Microsoft should have released blank phones with option to download and install all things by the way of app or update. Atleast the brand value would not had come down and people would have suffered very less.
    Also it is a smart initiative my Microsoft to market apps.
    Sell old and silly stuff in new wrapper in the name of IGNORANCE what it had named as "LUMIA".
    This is how iPhone and Android started out and pretty much every other mobile OS. Eventually they all evolve and grow through firmware updates and applications being added to their respective app stores.
     What else was you expecting from a brand new OS that is barely seven months old?

  • PO ERS with Invoice plan self invoice created incorrectly after making two reversal invoice now amount is higher than self invoce

    Hi Team,
    This month i have reversed self Invoice and I did a credit of an Invoice and paid January. Then I launched the correct self Invoice and amount is higher than. Now Invoice plan month of Feb is consumed,  Meanwhile I have blocked the Invoice and Credit. I am not understand why this is happening.
    Please suggest me any configuration missing .
    Thanks
    Sachin

    hi Sachin
    Please check if there was any price change in the PO
    Also what is the order of any GR/GR reversal done? Generally if you dont follow chonological order or reversing the invoice and GR, you tend to change the price of the reminaing quantity of the PO and things get messed up.
    For eg, if you made PO with quantity 10 and made GR of quantity and 5 and invoice of 10 and then reversed Gr of 5 and then reverse invoice of 10. You will see a huge difference in the PO history tab. Please show us your PO history tab screen
    Regards
    Vivek Singh

  • Zen micro: mine displays incorrect track duration t

    Hello all,
    I've had my zen mirco since january 2005, and i've noticed that a bunch of the tracks display the incorrect duration time...usually by around 40 seconds. for example, windows (and windows media player) will say a track is 6:02 duration and zen explorer and the device itself will say the duration is 5:35.
    in fact, a bunch of my songs on my zen micro say that the duration time is 0:00 when they clearly are not. when these tracks are played on the device, the track time bar is completely full and plays normally.
    has anyone else noticed problems with duration times?
    although all the songs play normally (ie. they dont get cut off) its just annoying that i payed so much money for a device that shows incorrect information. and when i try to skim through a track that shows 0:00 duration, it just skips to next song when i press the >> button. weird huh?

    onemanarmy wrote:i always rip using constant bit rates, and i choose either 92 or 320; using windows media player. while we on this subject of cd ripping, what do suggest is best format/settings for ripping, and which program, if there is a difference?
    As per the FAQ, it's down to the ears of the individual. You might prefer a particular codec or bit-rate, whereas someone else might not like it. It's best to experiment for yourself.
    In terms of MP3 though, LAME is widely acknowledged as being the better codec for high bit-rate music encoding. Most rippers can be configured to use this.

Maybe you are looking for