• RSS
  • Twitter
  • FaceBook

Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

EWS operations for Exchange 2007 server

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2007] >> Outlook Web Access >> EWS operations for Exchange 2007 server Page: [1]
Login
Message << Older Topic   Newer Topic >>
EWS operations for Exchange 2007 server - 11.Mar.2011 2:53:39 AM   
dilipinexchange

 

Posts: 16
Joined: 6.Nov.2008
Status: offline
Hi All,
I am preparing a POC of EWS (using JAVA) in which I would need to complete all folder operations like,

  1. Create Folder
  2. Update Folder (Rename)
  3. Delete Folder
  4. Retrieve Folder

I am able to prepare all features except 'Update folder ' functionality.. The error occurs when I perform update operation on web service instance. The code line is,

UpdateFolderResponseDocument ufUpdateFolderResponseDocument = EWS.updateFolder(updateDocument,null,null,null,null);
and the XML document which is going to update is,

<UpdateFolder xmlns="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:typ="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <FolderChanges>
    <typ:FolderChange>
      <typ:FolderId Id="AAAXAHRlc3QxQHlhc2h0cmFpbmVlLmNvLmluAC4AAAAAAOUxt/E4cPFFscHIarzha7kBANq9sJLDTu9LmKCJQxRa0fIAicKPRUwAAA==" ChangeKey="AgAAABYAAADavbCSw07vS5igiUMUWtHyAInCknmz"/>
      <typ:Updates>
        <typ:SetFolderField>
          <typ:Path FieldURI="folder:DisplayName" xsi:type="typ:PathToUnindexedFieldType"/>
          <typ:CalendarFolder>
            <typ:DisplayName>updateM</typ:DisplayName>
          </typ:CalendarFolder>
        </typ:SetFolderField>
      </typ:Updates>
    </typ:FolderChange>
  </FolderChanges>
</UpdateFolder>


and I am getting following error while updating folder display name. That is,

org.apache.axis2.AxisFault: An internal server error occurred.
    at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:446)
    at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:371)
    at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:417)
    at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
    at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
    at com.microsoft.schemas.exchange.services._2006.messages.ExchangeWebServiceStub.updateFolder(ExchangeWebServiceStub.java:3980)
    at samples.folder.UpdateCalendarFolder.updateCalendarFolder(UpdateCalendarFolder.java:132)
    at samples.folder.UpdateCalendarFolder.main(UpdateCalendarFolder.java:57)


I need your help to know the possible causes of this issue... whether this is related to incorrect request formation or Server configurations.

_____________________________

Dilip Gupta
http://diliptechnotes.blogspot.com/
http://dilipinexchange.blogspot.com/
Post #: 1

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2007] >> Outlook Web Access >> EWS operations for Exchange 2007 server Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Follow TechGenix on Twitter