[EWS] [EWS-XML] About the LastModifiedTime Element

This page makes it believe that the LastModifiedTime is a named element that I would get back in my Contact through a GetItem or something like that: http://msdn.microsoft.com/en-us/library/office/bb891845(v=exchg.150).aspx
However it appears the only the way to get this field is to ask for it as an extended property using its property tag and type.  Can someone help me  understand what the named element is for?

I am trying this against my Exchange Online account; I did not request for a specific Exchange version. The request and response are as follows:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
   xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" 
   xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
  <soap:Body>
    <m:GetItem>
        <m:ItemShape>
           <t:BaseShape>AllProperties</t:BaseShape>
           <t:AdditionalProperties>
               <!-- Gender -->
               <t:ExtendedFieldURI
                    PropertyType="Short"
                    PropertyTag="14925" />
           </t:AdditionalProperties>
        </m:ItemShape>
        <m:ItemIds>
              <t:ItemId Id="AAAcAHNrYXJyYUBhc3luay5vbm1pY3Jvc29mdC5jb20ARgAAAAAA6tvK38NMgEiPrdzycecYvAcACf/6iQHYvUyNzrlQXzUQNgAAAAABDwAACf/6iQHYvUyNzrlQXzUQNgAAHykxIwAA" />          
        </m:ItemIds>
    </m:GetItem>
  </soap:Body>
</soap:Envelope>
The response looks like:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
<h:ServerVersionInfo MajorBuildNumber="921" MajorVersion="15" MinorBuildNumber="20" MinorVersion="0" xmlns="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
</s:Header>
<s:Body xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<m:GetItemResponse xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
<m:ResponseMessages>
<m:GetItemResponseMessage ResponseClass="Success">
<m:ResponseCode>NoError</m:ResponseCode>
<m:Items>
<t:Contact>
<t:ItemId ChangeKey="EQAAABYAAAAJ//qJAdi9TI3OuVBfNRA2AAAfKW4A" Id="AAAcAHNrYXJyYUBhc3luay5vbm1pY3Jvc29mdC5jb20ARgAAAAAA6tvK38NMgEiPrdzycecYvAcACf/6iQHYvUyNzrlQXzUQNgAAAAABDwAACf/6iQHYvUyNzrlQXzUQNgAAHykxIwAA"/>
<t:ParentFolderId ChangeKey="AQAAAA==" Id="AQAcAHNrYXJyAGFAYXN5bmsub25taWNyb3NvZnQuY29tAC4AAAPq28rfw0yASI+t3PJx5xi8AQAJ//qJAdi9TI3OuVBfNRA2AAACAQ8AAAA="/>
<t:ItemClass>IPM.Contact</t:ItemClass>
<t:Subject>Mamata Banerjee - Govt. of West Bengal</t:Subject>
<t:Sensitivity>Normal</t:Sensitivity>
<t:Body BodyType="Text"/>
<t:DateTimeReceived>2014-04-20T12:18:11Z</t:DateTimeReceived>
<t:Size>1206</t:Size>
<t:Importance>Normal</t:Importance>
<t:IsSubmitted>false</t:IsSubmitted>
<t:IsDraft>true</t:IsDraft>
<t:IsFromMe>false</t:IsFromMe>
<t:IsResend>false</t:IsResend>
<t:IsUnmodified>false</t:IsUnmodified>
<t:DateTimeSent>2014-04-20T12:18:11Z</t:DateTimeSent>
<t:DateTimeCreated>2014-04-20T12:18:11Z</t:DateTimeCreated>
<t:DisplayCc/>
<t:DisplayTo/>
<t:HasAttachments>false</t:HasAttachments>
<t:ExtendedProperty>
<t:ExtendedFieldURI PropertyTag="0x3a4d" PropertyType="Short"/>
<t:Value>2</t:Value>
</t:ExtendedProperty>
<t:Culture>en-US</t:Culture>
<t:FileAs/>
<t:FileAsMapping>None</t:FileAsMapping>
<t:DisplayName>Mamata Banerjee</t:DisplayName>
<t:GivenName>Mamata</t:GivenName>
<t:CompleteName>
<t:FirstName>Mamata</t:FirstName>
<t:LastName>Banerjee</t:LastName>
<t:FullName>Mamata Banerjee</t:FullName>
</t:CompleteName>
<t:CompanyName>Govt. of West Bengal</t:CompanyName>
<t:JobTitle>Chief Minister</t:JobTitle>
<t:Surname>Banerjee</t:Surname>
</t:Contact>
</m:Items>
</m:GetItemResponseMessage>
</m:ResponseMessages>
</m:GetItemResponse>
</s:Body>
</s:Envelope>
As you can see there is no LastModifiedTime property in the response.
Thanks for your help, Glen.

Similar Messages

  • Iterate through XML find the missing element and prepare report

    Hi',
    I am reading a XML and if the ID is missing in that XML, then I have to make a report which can be send by mail
    by telling that these are the name for which ID is not present.
    I am able to iterate through the records and check if the ID is not present and pick the names for that,
    What I am not getting is how to put these names in a proper format.
    Like if I copy then each time the variable will be overwritten, if I use a append then a full new XML gets created.
    Please tell me how I can make a proper report.
    Thanks
    Yatan
    <Records>
    <Employee>
    <name>Yatan</name>
    <ID></ID>
    <Age>28</Age>
    </Employee>
    <Employee>
    <name>Yagya</name>
    <ID>101</ID>
    <Age>27</Age>
    </Employee><Employee>
    <name>Yugansh</name>
    <ID></ID>
    <Age>24</Age>
    </Employee>
    </Records>

    What about you do a XSLT transformation to get the email content in HTML format... That would avoid you to iterate through your XML...
    The template would be like this:
    <xsl:template match="/">
            <h2>These are the employees without ID</h2>
            <xsl:for-each select="/Records/Employee[ID = '']">
                <xsl:value-of select="name"/>
                <BR/>
            </xsl:for-each>
    </xsl:template>This is just a sample, syntax was not verified, but I think you'll get the idea...
    Please let me know if this was helpful...
    Cheers,
    Vlad

  • About the MRP element.

    hi,
    My problem is as follows.
    I have to find out what is next MRP element for the material/production version pair.
    In  my case  to consider the production finish date for planned order  date & scheduled end date for production  order as next MRP element for the material.
    If i got more than one production version for the same material,
    what criteria should i apply for calculating next MRP element.

    Hi,
    Planned order:-A request created in the planning run for a plant to trigger the procurement of a plant material for a certain quantity for a specific date.
    Customer order:- is nothing but sales order, A customer request to the company for delivery of goods or services at a certain time.
    The request is received by a sales area that is then responsible for fulfilling the contract.
    MRP elements are
    OrdRes Order reservation (production order)
    PurRqs Purchase requisition
    SubReq Subcontracting requirement
    SchLne Schedule line
    BtchSt Batch stock
    PrdOrd Production order
    Order Customer stock for make-to-order
    CusReq Customer reqmt (Reqmt element from demand management)
    ShipNt Shipping notification (committed order quantity)
    StLcSt Storage location stock (Storage location MRP)
    BStLoc Batch storage location
    SchAgr Scheduling agreement
    Reser. Reservation created manually
    NtwOrd Network order
    PlOrd. Planned order
    PrjStk Project stock
    IndReq Planned independent requirements
    ForReq Forecast requirements (forecast-based planning)
    QM lot QM inspection lot
    ComCnf Production order confirmation
    SimReq Simulative requirements
    SomOrd Simulative order
    DepReq Dependent requirements
    RelOrd Release order (Multi-plant planning: stock transfer)
    TrRes. Release order requisition (Werksübergr. Planung: Umlagerung)
    UnplRq Unplanned requirements (additional reqmts from forecast)
    StTRes Stock transfer reservation
    Transf Transfer reservation
    Inqury RFQ
    Quote Quotation
    Order Sales order
    SchAgr Scheduling agreement
    Contr. Contract
    Fr.del FOC delivery
    Deliv. Delivery
    CusReq Customer requirement
    GIssue Goods issue
    Stock Plant stock
    GRecpt Goods receipt
    Replsh Replenishment horizon

  • Need info on the request elements of OSM CreateOrderBySpecification websvc

    We are planning to develop integration from siebel to osm using AIA . We are creating the mapping for OSM webservice called CreateOrderBySpecification which will create order in osm.The request of CreateOrderBySpecification webservice have an element called Data(of type xsd:add) which will included another xml in it and is dependent on the details of order specification which is also a part of request itself.Could anyone help us in what will be the content(i.e, the content of xml) of the data element of the request for CreateOrderBySpecification and how it will be decided, and what will be the corresponding fields in siebel from where we can get these values.

    Hi,
    The answers you seek are all in Siebel bookshelf:
    Question 1: http://download.oracle.com/docs/cd/E14004_01/books/SystAdm/SystAdm_SrvrCompParam7.html#wp1008245
    Question 2: http://download.oracle.com/docs/cd/E14004_01/books/SystAdm/SystAdm_SrvrInfAdm.html#wp1003500
    Regards,
    mroshaw

  • [EWS] [EWS-XML] Creating a contact with JobTitle

    !EWS Newbie alert!
    I tried to create a contact with a JobTitle field set to something. I am running into an interesting "behaviour". When I send this request, I actually get a contact created on the server with the firstname and JobTitle fields set correctly. Can
    anyone explain if I am doing something wrong? How can I create a contact (using pure EWS xml requests) with all the fields that are returned by a GetItem call?
    <?xml version="1.0" ?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"> <soap:Body> <m:CreateItem> <m:SavedItemFolderId> <t:FolderId Id="AQAcAHNrYXJyAGFAYXN5bmsub25taWNyb3NvZnQuY29tAC4AAAPq28rfw0yASI+t3PJx5xi8AQAJ//qJAdi9TI3OuVBfNRA2AAACAQ8AAAA="/> </m:SavedItemFolderId> <m:Items> <t:Contact> <t:GivenName>Sriram</t:GivenName>                                        <t:JobTitle>Sr. Product Manager</t:JobTitle> </t:Contact> </m:Items> </m:CreateItem> </soap:Body></soap:Envelope>
    However when I add a 'Surname' field to the request, I get an error response that says
    "ErrorSchemaValidation - The request failed schema validation: The element 'Contact' in namespace 'http://schemas.microsoft.com/exchange/services/2006/types' has invalid child element 'JobTitle' in namespace 'http://schemas.microsoft.com/exchange/services/2006/types'. List of possible elements expected: 'WeddingAnniversary' in namespace 'http://schemas.microsoft.com/exchange/services/2006/types'."
    The full request is: 
    <?xml version="1.0" ?><soap:Envelope xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soap:Body> <m:CreateItem> <m:SavedItemFolderId> <t:FolderId Id="AQAcAHNrYXJyAGFAYXN5bmsub25taWNyb3NvZnQuY29tAC4AAAPq28rfw0yASI+t3PJx5xi8AQAJ//qJAdi9TI3OuVBfNRA2AAACAQ8AAAA="/> </m:SavedItemFolderId> <m:Items> <t:Contact> <t:GivenName>Sriram</t:GivenName> <t:Surname>Karra</t:Surname> <t:JobTitle>Sr. Product Manager</t:JobTitle> </t:Contact> </m:Items> </m:CreateItem> </soap:Body></soap:Envelope>

    Never mind. It turns out the order in which you place the child elements in the <Contact> element matters.
    But it's still crazy.

  • Creating XML from XSD, Only create The First Element

    Hi,
    I create a XML File from a xsd schema by this way:
                DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
              factory.setNamespaceAware(true);
              factory.setValidating(true);
                   factory.setAttribute(JAXP_SCHEMA_LANGUAGE,W3C_XML_SCHEMA);
                   factory.setAttribute(JAXP_SCHEMA_SOURCE, new File(MY_SCHEMA));   
                    DocumentBuilder documentBuilder =factory.newDocumentBuilder();
              documentBuilder.setErrorHandler(new SimpleDOMHandler());
              Document parse = documentBuilder.parse(new File(MY_XML));The first lines of the schema:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
         targetNamespace="http://gencat.net/scsp/esquemes/peticion"
         elementFormDefault="qualified" attributeFormDefault="unqualified"
         id="Peticio" xmlns:p="http://gencat.net/scsp/esquemes/peticion">
         <xs:element name="Apellido1">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:maxLength value="40" />
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="Apellido2">
            .............................The problem is that the created document only have the first element "Apellido1". I dont know if it is a wrong xsd, or i'm using a bad way to do it.
    Thanks a lot, and apologize for my english

    Hi,
    Is it possible to create and populate XML from an XSD
    without knowing what the XSD elements are beforehand
    (all the examples appear to know what the input XSD
    will be, and therefore know what the set and get
    methods should be called)? I think it is possible--you would have to recompile each time (unless you can dynamically recompile, which would be neat), but using the classes getMethod() function, you can list all the methods. You would then have to do some tricky logic to determine which of the getMethods you want (for example NOT getClass()), and you can basically call them in sequence. You also need to worry about handling lists & recursively call xxxType classes.
    I'm experimenting with this, and it can get a little frustrating because there are a lot of odd cases to handle (for example, while setting the elements of a list, you need to actually get the list & add elements to it), but I think it's possible.
    >
    Can a user browse for an xsd to input, and the java
    will dynamically create the get methods, and be able
    to create instances and populate variables before
    converting to XML?
    What I'm puzzled about is where you'd get the data to populate the variables? Perhaps a database, or a bean? If you just want to make a test xml file, then it doesn't matter, but with real data, I think you'd still have to change how you actually get the variables you want to populate the xml file with, right? In other words, if your schema changed, the parameters you're passing to the set methods would change as well.
    Maybe we'll see some more packages in the future to make this task easier.

  • [Exchange-Online][EWS-XML][JAVA][OAUTH2] Getting HTTP status code 500 when using OAUTH2 client credential grant flow as authorization method

    Hi,
    i'm working on enhancing a service to be able to use OAUTH2 as authentication protocol with client credential grant flow when talking to exchange online ( like described here:
    http://blogs.msdn.com/b/exchangedev/archive/2015/01/22/building-demon-or-service-apps-with-office-365-mail-calendar-and-contacts-apis-oauth2-client-credential-flow.aspx ). I gave my application the rights 
    Office 365 Exchange Online : Application Permissions: "Have full access via EWS to all mailboxes ....."
    Windows Azure Active AD: Application Permissions: "Read Directory data", Delegate Permissions: "Enable sign-on and read users_ profiles" 
    I receive a access token from log.windows.net:
    decoded token:
     typ: "JWT",
     alg: "RS256",
     x5t: "MnC_VZcATfM5pOYiJHMba9goEKY"
     aud: "https://outlook.office365.com/",
     iss: "https://sts.windows.net/<TENANT_ID>/",
     iat: 1426584502,
     nbf: 1426584502,
     exp: 1426588402,
     ver: "1.0",
     tid: "<TENANT_ID>",
     roles: [
      "full_access_as_app"
     oid: "1ddbdc11-b80d-4d1d-91b9-5b07a6b82659",
     sub: "1ddbdc11-b80d-4d1d-91b9-5b07a6b82659",
     idp: "https://sts.windows.net/TENANT_ID/",
     appid: "<APP_ID_IN_AZURE_AD>",
     appidacr: "2"
    <SIGNATURE>
    If i use that token then to send a EWS XML to exchange online i get a 500 HTTP status code back:
    With impersonation in the request:
    [http.wire ]: >> "POST /EWS/Exchange.asmx HTTP/1.1[\r][\n]"
    [http.wire ]: >> "Authorization: Bearer <MY_ACCESS_TOKEN>[\r][\n]"
    [http.wire ]: >> "SoapAction: "http://schemas.microsoft.com/exchange/services/2006/messages/GetFolder"[\r][\n]"
    [http.wire ]: >> "Content-Type: text/xml; charset=utf-8[\r][\n]"
    [http.wire ]: >> "User-Agent: OpenScapeUC EWS HttpClient/3.0[\r][\n]"
    [http.wire ]: >> "client-request-id: 5b2c7e1a-656d-4f43-bd34-ea2d6290611f[\r][\n]"
    [http.wire ]: >> "Date: Tue, 17 Mar 2015 10:08:17 GMT[\r][\n]"
    [http.wire ]: >> "Content-Length: 1189[\r][\n]"
    [http.wire ]: >> "Host: outlook.office365.com[\r][\n]"
    [http.wire ]: >> "Connection: Keep-Alive[\r][\n]"
    [http.wire ]: >> "[\r][\n]"
    [http.wire ]: >> "<?xml version="1.0" ?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Header><ns2:ExchangeImpersonation xmlns:ns2="http://schemas.microsoft.com/exchange/services/2006/types"
    xmlns:ns3="http://schemas.microsoft.com/exchange/services/2006/messages"><ns2:ConnectingSID><ns2:PrimarySmtpAddress><THE_MAILBOX_I_WANT_TO_ACCESS></ns2:PrimarySmtpAddress></ns2:ConnectingSID></ns2:ExchangeImpersonation><ns2:RequestServerVersion
    xmlns:ns2="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ns3="http://schemas.microsoft.com/exchange/services/2006/messages" Version="Exchange2007_SP1"/></S:Header><S:Body><ns3:GetFolder xmlns:ns2="http://schemas.microsoft.com/exchange/services/2006/types"
    xmlns:ns3="http://schemas.microsoft.com/exchange/services/2006/messages"><ns3:FolderShape><ns2:BaseShape>IdOnly</ns2:BaseShape><ns2:AdditionalProperties><ns2:FieldURI FieldURI="folder:FolderId"/></ns2:AdditionalProperties></ns3:FolderShape><ns3:FolderIds><ns2:DistinguishedFolderId
    Id="contacts"><ns2:Mailbox><ns2:EmailAddress><THE_MAILBOX_I_WANT_TO_ACCESS></ns2:EmailAddress></ns2:Mailbox></ns2:DistinguishedFolderId></ns3:FolderIds></ns3:GetFolder></S:Body></S:Envelope>"
    [http.wire ]: << "HTTP/1.1 500 Internal Server Error[\r][\n]"
    [http.wire ]: << "Cache-Control: private[\r][\n]"
    [http.wire ]: << "Content-Type: text/xml; charset=utf-8[\r][\n]"
    [http.wire ]: << "Server: Microsoft-IIS/8.0[\r][\n]"
    [http.wire ]: << "request-id: ec42b5c5-f8dc-498d-ae16-d851a852058c[\r][\n]"
    [http.wire ]: << "Set-Cookie: ClientId=<DELETED>; expires=Wed, 16-Mar-2016 10:08:17 GMT; path=/; secure; HttpOnly[\r][\n]"
    [http.wire ]: << "X-CalculatedBETarget: am2pr02mb0387.eurprd02.prod.outlook.com[\r][\n]"
    [http.wire ]: << "X-DiagInfo: AM2PR02MB0387[\r][\n]"
    [http.wire ]: << "X-BEServer: AM2PR02MB0387[\r][\n]"
    [http.wire ]: << "X-AspNet-Version: 4.0.30319[\r][\n]"
    [http.wire ]: << "Set-Cookie: exchangecookie=<DELETED>; expires=Thu, 17-Mar-2016 10:08:17 GMT; path=/; HttpOnly[\r][\n]"
    [http.wire ]: << "Set-Cookie: [email protected]=<DELETED>; expires=Thu, 16-Apr-2015 10:08:18 GMT; path=/EWS; secure; HttpOnly[\r][\n]"
    [http.wire ]: << "Set-Cookie: [email protected]=<DELETED>; expires=Thu, 16-Apr-2015 10:08:18 GMT; path=/EWS; secure; HttpOnly[\r][\n]"
    [http.wire ]: << "X-Powered-By: ASP.NET[\r][\n]"
    [http.wire ]: << "X-FEServer: DB5PR01CA0064[\r][\n]"
    [http.wire ]: << "Date: Tue, 17 Mar 2015 10:08:17 GMT[\r][\n]"
    [http.wire ]: << "Content-Length: 891[\r][\n]"
    [http.wire ]: << "Accept-Ranges: none[\r][\n]"
    [http.wire ]: << "Connection: keep-alive[\r][\n]"
    [http.wire ]: << "[\r][\n]"
    Without impersonation in the request:
    Request
    [http.wire ]: >> "POST /EWS/Exchange.asmx HTTP/1.1[\r][\n]"
    [http.wire ]: >> "Authorization: Bearer <MY_ACCESS_TOKEN>[\r][\n]"
    [http.wire ]: >> "SoapAction: "http://schemas.microsoft.com/exchange/services/2006/messages/GetFolder"[\r][\n]"
    [http.wire ]: >> "Content-Type: text/xml; charset=utf-8[\r][\n]"
    [http.wire ]: >> "User-Agent: OpenScapeUC EWS HttpClient/3.0[\r][\n]"
    [http.wire ]: >> "client-request-id: 20bd722f-8276-4ebb-8d58-ce45d31f3ed4[\r][\n]"
    [http.wire ]: >> "Date: Tue, 17 Mar 2015 09:33:24 GMT[\r][\n]"
    [http.wire ]: >> "Content-Length: 871[\r][\n]"
    [http.wire ]: >> "Host: outlook.office365.com[\r][\n]"
    [http.wire ]: >> "Connection: Keep-Alive[\r][\n]"
    [http.wire ]: >> "[\r][\n]"
    [http.wire ]: >> "<?xml version="1.0" ?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Header><ns2:RequestServerVersion xmlns:ns2="http://schemas.microsoft.com/exchange/services/2006/types"
    xmlns:ns3="http://schemas.microsoft.com/exchange/services/2006/messages" Version="Exchange2007_SP1"/></S:Header><S:Body><ns3:GetFolder xmlns:ns2="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ns3="http://schemas.microsoft.com/exchange/services/2006/messages"><ns3:FolderShape><ns2:BaseShape>IdOnly</ns2:BaseShape><ns2:AdditionalProperties><ns2:FieldURI
    FieldURI="folder:FolderId"/></ns2:AdditionalProperties></ns3:FolderShape><ns3:FolderIds><ns2:DistinguishedFolderId Id="contacts"><ns2:Mailbox><ns2:EmailAddress><THE_MAILBOX_I_WANT_TO_ACCESS></ns2:EmailAddress></ns2:Mailbox></ns2:DistinguishedFolderId></ns3:FolderIds></ns3:GetFolder></S:Body></S:Envelope>"
    Response:
    [http.wire ]: << "HTTP/1.1 500 Internal Server Error[\r][\n]"
    [http.wire ]: << "Cache-Control: private[\r][\n]"
    [http.wire ]: << "Content-Type: text/xml; charset=utf-8[\r][\n]"
    [http.wire ]: << "Server: Microsoft-IIS/8.0[\r][\n]"
    [http.wire ]: << "request-id: 923ba463-490f-4ac9-a496-993cd8a44115[\r][\n]"
    [http.wire ]: << "Set-Cookie: ClientId=<DELETED>; expires=Wed, 16-Mar-2016 09:33:24 GMT; path=/; secure; HttpOnly[\r][\n]"
    [http.wire ]: << "X-CalculatedBETarget: am2pr02mb0387.eurprd02.prod.outlook.com[\r][\n]"
    [http.wire ]: << "X-DiagInfo: AM2PR02MB0387[\r][\n]"
    [http.wire ]: << "X-BEServer: AM2PR02MB0387[\r][\n]"
    [http.wire ]: << "X-AspNet-Version: 4.0.30319[\r][\n]"
    [http.wire ]: << "Set-Cookie: exchangecookie=<DELETED>; expires=Thu, 17-Mar-2016 09:33:25 GMT; path=/; HttpOnly[\r][\n]"
    [http.wire ]: << "Set-Cookie: [email protected]=<DELETED>; expires=Thu, 16-Apr-2015 09:33:25 GMT; path=/EWS; secure; HttpOnly[\r][\n]"
    [http.wire ]: << "Set-Cookie: [email protected]=<DELETED>; expires=Thu, 16-Apr-2015 09:33:25 GMT; path=/EWS; secure; HttpOnly[\r][\n]"
    [http.wire ]: << "X-Powered-By: ASP.NET[\r][\n]"
    [http.wire ]: << "X-FEServer: AM3PR07CA0038[\r][\n]"
    [http.wire ]: << "Date: Tue, 17 Mar 2015 09:33:24 GMT[\r][\n]"
    [http.wire ]: << "Content-Length: 799[\r][\n]"
    [http.wire ]: << "Accept-Ranges: none[\r][\n]"
    [http.wire ]: << "Connection: keep-alive[\r][\n]"
    If i use BASIC authentication and impersonation the request is successfully. 
    Has anyone an idea why i might get the error 500 in that scenario?

    For EWS to work with App Token, you need to do two more things. One you already did: Set the impersonation header. Two is to set the X-AnchorMailbox http request header to the smtp address of the mailbox you want to access. This routes the request instantly
    to the right backend.
    Hope this helps.
    Thank you! Matthias

  • Because I listened to Adobe earlier today about whither uninstalling Elements would affect Photoshop and Lightroom on my computer, Lightroom no longer sees Photoshop in the EDIT IN Menu of Lightroom. I found an article on the help site saying to delete th

    Because I listened to Adobe earlier today about whither uninstalling Elements would affect Photoshop and Lightroom on my computer, Lightroom no longer sees Photoshop in the EDIT IN Menu of Lightroom. I found an article on the help site saying to delete the filecom.adobe.Photoshop.plist, which I looked for, its not there so it can't be deleted. The next step is to uninstall Photoshop and reinstall. This isn't an option because of all the plug-ins and modifications of the work space. Does any one have a better solution?

    <moved from Downloading, Installing, Setting Up to Photoshop Lightroom>

  • Ignoring the DOCTYPE element while parsing the xml

    I am using JAXB parser to read from and write into my xml file using java code. My xml file contains a DOCTYPE element pointing to a .dtd file which does not exist, due to which I get a FileNotFoundException when JAXB tries to read the xml file. Hence, after unmarshalling the xml file using jaxb, I use a SAXParser to get an XMLReader which removes this DOCTYPE element as given below -
    SAXParserFactory parserFactory = SAXParserFactory.newInstance();
    parserFactory.setValidating(false);
    XMLReader reader = parserFactory.newSAXParser().getXMLReader();
    reader.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false);
    After making the required changes to the xml file and marshalling it back, I then use an XMLWriter to add the DOCTYPE element back to the xml file as given in the code snippet below -
    SAXReader saxReader = new SAXReader();
    Document document = saxReader.read(_file);
    document.addDocType(rootElement, publicUri, systemUri);
    XMLWriter output = new XMLWriter(new FileWriter( _file ));
    output.write( document );
    output.close();
    Right now I am using both, the JAXB parser to read from and write into the xml file and SAXParser/SAXRader just to delete/add the DOCTYPE element. I want to avoid using two different parsers in my class and want to know if JAXB provides any mechanism to delete and then add this element while parsing the xml file.

    Standard answer for this FAQ: set an EntityResolver on your parser that sends an empty string instead of the DTD. The API docs have an example that you could modify to do that.

  • [E2013][EWS-XML][EWSTOOL] Calendar item body not visible in outlook

    Hi, after upgrading to Exchange 2013 SP1 we experience the issue that appointments created using EWS by our ERP application don't show the body in Outlook 2010/2013. The appointment body is only visible in OWA or on Active Sync devices. Outlook just shows
    an empty body text. When openening the appointment in OWA and editting the body text, by placing a '.' at the end for example, then the body text is visible in outlook again. This worked fine in CU3 and earlier.
    I created a repro scenario using the EWSEditor tool:
    https://ewseditor.codeplex.com/
    Create an appointment using EWS. Below the request I've sent to Exchange EWS. It creates an appointment on Saturday, March 8th from 22:00 to 23:00 with the following text in the body: ‘Plan the agenda for next week's meeting.’. The request is successful and
    the appointment is being created. However, the body text is only visible in Outlook Web App, not in Outlook. 
    I reproduced this issue in our lab also, so it’s not specific to our production Exchange server, but seems to be a general SP1 issue.
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                   xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
                   xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
      <soap:Body>
        <CreateItem xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"
                    xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"
                    SendMeetingInvitations="SendToAllAndSaveCopy" >
          <SavedItemFolderId>
            <t:DistinguishedFolderId Id="calendar"/>
          </SavedItemFolderId>
          <Items>
            <t:CalendarItem xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
              <Subject>Planning Meeting</Subject>
              <Body BodyType="Text">Plan the agenda for next week's meeting.</Body>
              <ReminderIsSet>true</ReminderIsSet>
              <ReminderMinutesBeforeStart>15</ReminderMinutesBeforeStart>
              <Start>2014-03-08T22:00:00</Start>
              <End>2014-03-08T23:00:00</End>
              <IsAllDayEvent>false</IsAllDayEvent>
              <LegacyFreeBusyStatus>Busy</LegacyFreeBusyStatus>
              <Location>Conference Room 721</Location>
            </t:CalendarItem>
          </Items>
        </CreateItem>
      </soap:Body>
    </soap:Envelope>
    Frank.

    I got our developers change the body type to HTML. Still it doesn't work.
    Our code is java
    -238,21
    +238,21 @@ public class WebServiceExchInteractor extends ExchangeInteractor
                    logger.debug("Sending new meeting request using exchange web services. Meeting Item = " + item.toString());
                    boolean errorOccurred = false;
                    try
                    CalendarItemType calendarItemObj = CalendarItemType.Factory.newInstance();
                        //Setting subject and body of the meeting
                    calendarItemObj.setSubject(item.getSubject());
                        BodyType bodyObj = BodyType.Factory.newInstance();
    +                   bodyObj.setBodyType(BodyTypeType.HTML);
                        bodyObj.setStringValue(item.getBody());
                        calendarItemObj.setBody(bodyObj);
                        //setting the attendees
                        calendarItemObj.setRequiredAttendees(constructArrayOfAttendeesType(item.getAttendees()));
                        //Setting the Meeting time and reminder properties
                        calendarItemObj.setReminderIsSet(item.isReminder());
                        calendarItemObj.setReminderMinutesBeforeStart(ExchangeConstants.DEFAULT_FREE_BUSY_INTERVAL);
    -439,21
    +439,21 @@ public class WebServiceExchInteractor extends ExchangeInteractor
                            itemFieldChangesArray[3] = SetItemFieldType.Factory.newInstance();
                            itemFieldChangesArray[3].setItem(calendarItemObj);
                            PathToUnindexedFieldType pathToSubjectObj = PathToUnindexedFieldType.Factory.newInstance();
                            pathToSubjectObj.setFieldURI(UnindexedFieldURIType.ITEM_SUBJECT);
                            itemFieldChangesArray[3].setPath(pathToSubjectObj);                     
                            //Setting the path to body
                            calendarItemObj = CalendarItemType.Factory.newInstance();
                            BodyType bodyObj = BodyType.Factory.newInstance();
    +                       bodyObj.setBodyType(BodyTypeType.HTML);
                            bodyObj.setStringValue(item.getBody());
                            calendarItemObj.setBody(bodyObj);
                            itemFieldChangesArray[4] = SetItemFieldType.Factory.newInstance();
                            itemFieldChangesArray[4].setCalendarItem(calendarItemObj);
                            PathToUnindexedFieldType pathToBodyObj = PathToUnindexedFieldType.Factory.newInstance();
                            pathToBodyObj.setFieldURI(UnindexedFieldURIType.ITEM_BODY);
                            itemFieldChangesArray[4].setPath(pathToBodyObj);
                            //Setting the path to attendees
    -642,21
    +642,21 @@ public class WebServiceExchInteractor extends ExchangeInteractor
             ItemIdType[] itemIdDetails = new ItemIdType[1];
             itemIdDetails[0] = ItemIdType.Factory.newInstance(); 
             itemIdDetails[0].setId(itemId);
             NonEmptyArrayOfBaseItemIdsType itemIdObj = NonEmptyArrayOfBaseItemIdsType.Factory.newInstance();
             itemIdObj.setItemIdArray(itemIdDetails);
             getCalendaritem.setItemIds(itemIdObj);
             //Setting the response properties required from server
             ItemResponseShapeType responseDetails = ItemResponseShapeType.Factory.newInstance();
    +        responseDetails.setBodyType(BodyTypeResponseType.HTML);
             responseDetails.setBaseShape(DefaultShapeNamesType.ALL_PROPERTIES);
             PathToUnindexedFieldType uidView = PathToUnindexedFieldType.Factory.newInstance();
             uidView.setFieldURI(UnindexedFieldURIType.CALENDAR_UID);
             BasePathToElementType[] pathArray = new BasePathToElementType[1];
             pathArray[0] = uidView;
             NonEmptyArrayOfPathsToElementType additionalProperties = NonEmptyArrayOfPathsToElementType.Factory.newInstance();
             additionalProperties.setPathArray(pathArray);
             responseDetails.setAdditionalProperties(additionalProperties);
             getCalendaritem.setItemShape(responseDetails);
    -710,21
    +710,21 @@ public class WebServiceExchInteractor extends ExchangeInteractor
                itemIdDetails[0] = ItemIdType.Factory.newInstance(); 
                itemIdDetails[0].setId(itemId);
                itemIdDetails[0].setChangeKey(changeKey);
                NonEmptyArrayOfBaseItemIdsType itemIdObj = NonEmptyArrayOfBaseItemIdsType.Factory.newInstance();
                itemIdObj.setItemIdArray(itemIdDetails);
                getCalendaritem.setItemIds(itemIdObj);
                //Setting the response properties required from server
                ItemResponseShapeType responseDetails = ItemResponseShapeType.Factory.newInstance();
    +           responseDetails.setBodyType(BodyTypeResponseType.HTML);
                responseDetails.setBaseShape(DefaultShapeNamesType.ALL_PROPERTIES);
             PathToUnindexedFieldType uidView = PathToUnindexedFieldType.Factory.newInstance();
             uidView.setFieldURI(UnindexedFieldURIType.CALENDAR_UID);
             BasePathToElementType[] pathArray = new BasePathToElementType[1];
             pathArray[0] = uidView;
             NonEmptyArrayOfPathsToElementType additionalProperties = NonEmptyArrayOfPathsToElementType.Factory.newInstance();
             additionalProperties.setPathArray(pathArray);
             responseDetails.setAdditionalProperties(additionalProperties);
                getCalendaritem.setItemShape(responseDetails);
    SONY ABRAHAM

  • I just found out about the switch from Elements to Adobe Revel. HELP

    I do not want to spend any money  on something I rarely use. I also do not want to grant "rights" to any person or corporation for my family pictures.
    Will I need to delete my account?.

    Hi. There is not a switch from Elements. The switch is from Photoshop.com to Revel. Elements will work as it always did with the exception of communicating with Photoshop.com sharing and storage since that service is being discontinued.
    In additon, Revel is free as long as you don't want to upload more than 50 files a month.
    Check out these FAQ's and try Revel. After that, if you do not want your account, we can delete it.
    Pattie
    Forum for users moving from PS.com to Revel:
    forums.adobe.com/community/ps.com_sharing_and_storage
    Forum FAQ's:
    forums.adobe.com/community/ps.com_sharing_and_storage/faq
    Forum for Revel users:
    forums.adobe.com/community/revel
    FAQ's about the transition from Photoshop.com to Revel:
    http://www.photoshop.com/misc/membership-faq
    FAQ's about Revel and subscriptions:
    http://www.adobe.com/products/revel/faq.html
    Elements organizer/Revel Help:
    http://helpx.adobe.com/elements-organizer/using/revel.html
    Getting Started with Revel:
    http://www.adobe.com/support/revel/gettingstarted/revel_gs.html
    SHARE
    FAQ: How do I share my photos in Revel?
    http://forums.adobe.com/message/5092831#5092831
    UPLOAD
    FAQ: How do I add (upload) files to Revel?
    http://forums.adobe.com/thread/1162795?tstart=0
    DOWNLOAD
    FAQ: How Do I Download files from Revel?
    http://forums.adobe.com/thread/1166462?tstart=0
    EDIT
    FAQ: How do I edit photos in Revel?
    http://forums.adobe.com/message/5088287#5088287
    DELETE
    FAQ? How do I delete a file in Revel?
    http://forums.adobe.com/thread/1162793?tstart=0
    SUBSCRIBE TO REVEL PREMIUM
    FAQ: How do I sign up for Revel Premium?
    http://forums.adobe.com/thread/1178780?tstart=0

  • Problems with the xsl element ---- xsl:output method="xml"/ ----

    Hy, my problem is the next, I am trying to read a xml file and transform it in itself but when I do with XSLT, Internet Explorer doesnt show a xml file, just show me the text nodes of the xml file. I have the element <xsl:output method="xml"/>" in the xsl file but I dont Know what Iam doing wrong.
    The next code is from the xsl file:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml"/>
    <xsl:template match="/">
    <xsl:copy-of select="catalog"/>
    </xsl:template>
    </xsl:stylesheet>
    The next code is from the xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Edited with XML Spy v2007 (http://www.altova.com) -->
    <?xml-stylesheet type="text/xsl" href="PlantillaXSL.xml"?>
    <catalog dni="4546545">
         <cd numero="2" id="5" color="red">
              <title>Empire Burlesque</title>
              <artist>Bob Dylan</artist>
              <country>USA</country>
              <company>Columbia</company>
              <price>10.90</price>
              <year>1985</year>
         </cd>
    </catalog>
    The result in internet explorer is:
    Bob Dylan USA Columbia 10.90 1985

    All right. I asked because it's unusual to use the ".xml" extension for an XSL file, so I thought it might be an error. But there's nothing wrong with that.
    Next debugging step: is that XSL file actually being used? Insert some debugging code in it so that you can tell.

  • Why does Adobe Elements 4.0 suddenly crash about the time Apple has a security update?

    Why does Adobe Elements 4.0 suddenly start crashing about the time Apple has a security update?

    An ADOBE FORUM "Community Professional" commented:
    "Well, I'm not sure any of this is going to work, but go to your username>library>preferences and delete:
    com.adobe.Photoshop.Elements.plist
    The PSE 4 Paths and Settings folders (can't remember whether they're called Adobe Photoshop Elements 4.0 Paths or something different, but you want folders with Paths and Elements 4 in their names--you should be able to figure out which they are)
    Opera preferences (if you have it)
    Repair permissions and try again.
    If it still quits, go to the PSE 4 folder in applications and delete the Adobe TWAIN driver from the plug-ins folder (note that you may have trouble with Epson scanners in PSE after doing this).
    However, PSE 4 is pretty darned old and it's less compatible with every new OS X update, so what I've suggested may work and may not. FWIW, you probably will not be able to reinstall the program if you ever need to do so--installed versions of PSE 4 keep working in 10.6, but the installer does not."
    Hope this helps

  • [svn:bz-trunk] 8823: Updated the sample messaging-config. xml with the new disallow-wildcard-subtopics configuration element.

    Revision: 8823
    Author:   [email protected]
    Date:     2009-07-27 09:12:08 -0700 (Mon, 27 Jul 2009)
    Log Message:
    Updated the sample messaging-config.xml with the new disallow-wildcard-subtopics configuration element.
    Modified Paths:
        blazeds/trunk/resources/config/messaging-config.xml

    Hi,
    could you let us know what version of OEPE you were running prior to the upgrade along with the Eclipse version ? Also was the previous installation a full OEPE install or was it installed via the update site ?
    thanks
    Raj

  • What are the necessary elements in ejb-jar.xml with CMP entity bean

    What are the necessary elements in ejb-jar.xml with CMP entity bean
    Actually i am using webligic 8.1 and while deployment getting the error that
    some elements r missing
    Thanks
    Anand Pritam

    According to the ejb-jar.xml dtd ejb-name, ejb-class, persistence-type, prim-key-class, reentrant are the required elements for an entity bean.
    <!ELEMENT entity (description?, display-name?, small-icon?,
              large-icon?, ejb-name, home?, remote?, local-home?,
              local?, ejb-class, persistence-type, prim-key-class,
              reentrant, cmp-version?, abstract-schema-name?,
              cmp-field*, primkey-field?, env-entry*, ejb-ref*,
              ejb-local-ref*, security-role-ref*, security-identity?,
              resource-ref*, resource-env-ref*, query*)>

Maybe you are looking for