locked
Exchange EWS issue convert ID RRS feed

  • Question

  • I am trying to extend some intergration between oracle apex and exchange.

    I would like a link in an apex application that can launch a OWA webmail window.

    I have got oracle connected up with EWS and can read through an inbox, But seems I need to convert the EWS ID that EWS provides into a OWA ID.

    Something is wrong - likely me - but really could do with some support to get this working.

    I have followed the example:

    https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/convertid-operation#convertid-operation-error-response-example

    But I am getting an error back "ErrorInvalidIdMalformed"

    or " EWS for PL/SQL: ErrorInvalidIdMalformed: This id is of the wrong type for this conversion operation (mailbox id vs. public folder id)."

    what am I doing wrong here?

    Here is my request:

    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
                   xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
      <soap:Header>
        <t:RequestServerVersion Version="Exchange2013"/>
      </soap:Header>
      <soap:Body>
        <ConvertId xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"
                   xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"
                   DestinationFormat="OwaId">
          <SourceIds>
            <t:AlternateId Format="EwsId" Id="aaa"
                           Mailbox="xx@yyy.com"/>
          </SourceIds>
        </ConvertId>
      </soap:Body>
    </soap:Envelope>
    

    Wednesday, June 26, 2019 2:41 AM

All replies