Move item between mailboxes / share folder with soap

Hello,
I need to move an email from one mailbox to another.
With the normal client this can be done by sharing the folder and then draging and dropping.
I want to automate this process with soap.
I have been able to move email from a normal folder to another with soap.
However I was not successful moving an email from a shared folder to a normal folder.
Is this possible?
Also, is it possible to create a shared folder with soap?
I found the method acceptShareRequest, which seems to be the method I need to use to confirm the shared folder.
Thanks and Kind Regards,
Scott

Hello Preston,
From looking at the java example you pointed out, I got just about everything working. Thanks for that.
The only think I need to do to complete my project is handling folders which are already shared.
Basically I plan on checking out the ACL of a folder instead of blindly sharing it.
So I need to inspect the existing ACLs.
I saw the following code in the java example:
Code:
GetFolderResponse resp = new GetFolderResponse();
FolderType ft = null;
String id = null;
// String view = "default account noDisplay fullACL";
String view = "default account fullACL";
str = m_item.getFolderTypeString();
if ( null != str && str.equalsIgnoreCase( "Notes" ) ) {
ft = FolderType.Notes;
} else if ( null != str && str.equalsIgnoreCase( "JunkMail" ) ) {
ft = FolderType.JunkMail;
} else {
id = m_item.getId();
try {
resp = m_main.getService().getFolderRequest( id, ft, null, null,
view, m_main.getSessionId(), m_main.getTrace() );
So I read the code to the effect, if I send a folder id and the view "default account fullACL" with getFolderRequest, I should get the ACL information.
This however doesn't seem to be working for me.
Here is a trace:
Code:
20:40:58 B30A <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="h
20:40:58 B30A ttp://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3
20:40:58 B30A .org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XM
20:40:58 B30A LSchema"><soap:Header><gwTrace xmlns="http://schemas.novell.com/20
20:40:58 B30A 05/01/GroupWise/types">True</gwTrace><session xmlns="http://schema
20:40:58 B30A s.novell.com/2005/01/GroupWise/types">MmYvH4rXx1HW8CLx</session></
20:40:58 B30A soap:Header><soap:Body><getFolderRequest xmlns="http://schemas.nov
20:40:58 B30A ell.com/2005/01/GroupWise/methods"><id>539C4AF8.dom1.po1.100.13631
20:40:58 B30A 35.1.43.1@35</id><view>default account fullACL</view></getFolderRe
20:40:58 B30A quest></soap:Body></soap:Envelope>
20:40:58 B30A
20:40:58 B30A <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsd="ht
20:40:58 B30A tp://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/
20:40:58 B30A XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/en
20:40:58 B30A velope/"><soap:Header/><soap:Body><getFolderResponse xmlns:gwt="ht
20:40:58 B30A tp://schemas.novell.com/2005/01/GroupWise/types" xmlns="http://sch
20:40:58 B30A emas.novell.com/2005/01/GroupWise/methods"><folder xmlns:xsi="http
20:40:58 B30A ://www.w3.org/2001/XMLSchema-instance" xsi:type="gwt:SharedFolder"
20:40:58 B30A ><gwt:id>539C4AF8.dom1.po1.100.1363135.1.43.1@35</gwt:id><gwt:sid>
20:40:58 B30A 67</gwt:sid><gwt:name>lala</gwt:name><gwt:modified>2014-07-09T18:4
20:40:58 B30A 0:33Z</gwt:modified><gwt:parent>C.dom1.po1.100.0.1.0.1@21</gwt:par
20:40:58 B30A ent><gwt:sequence>1</gwt:sequence><gwt:displaySettings xmlns:xsi="
20:40:58 B30A http://www.w3.org/2001/XMLSchema-instance" xsi:type="gwt:FolderDis
20:40:58 B30A playSettings"><gwt:name>All Items</gwt:name><gwt:version>2</gwt:ve
20:40:58 B30A rsion><gwt:modified>2014-06-14T04:03:57Z</gwt:modified><gwt:folder
20:40:58 B30A Type>Normal</gwt:folderType><gwt:settingType>FolderDefault</gwt:se
20:40:58 B30A ttingType><gwt:source>received sent personal draft</gwt:source><gw
20:40:58 B30A t:view>details</gwt:view><gwt:columns><gwt:type>Windows</gwt:type>
20:40:58 B30A <gwt:sort><gwt:type>Ascending</gwt:type><gwt:field>Date</gwt:field
20:40:58 B30A ></gwt:sort><gwt:headers><gwt:field>Name</gwt:field><gwt:width>177
20:40:58 B30A 5</gwt:width></gwt:headers><gwt:headers><gwt:field>Subject</gwt:fi
20:40:58 B30A eld><gwt:width>2638</gwt:width></gwt:headers><gwt:headers><gwt:fie
20:40:58 B30A ld>Date</gwt:field><gwt:width>1138</gwt:width></gwt:headers></gwt:
20:40:58 B30A columns></gwt:displaySettings><gwt:isSharedByMe>1</gwt:isSharedByM
20:40:58 B30A e></folder><status><gwt:code>0</gwt:code></status></getFolderRespo
20:40:58 B30A nse></soap:Body></soap:Envelope>
What am I doing wrong?
Regards,
Scott

Similar Messages

  • Outlook 2010 - mail item move rule between mailboxes

    Hi,
    I have Outlook 2010 with Exchange 2010 SP1 environment.
    I'm having an issue with setting up a move rule to another shared mailbox to which the user has full permission on Outlook.
    Whenever I try to set up a rule to move a specific item from a specific user, it throws the below error.
    "the attempted operation failed. an object could not be found"
    Is it possible to apply rules that move items between two different mailboxes? Also is it possible to apply a server-side rule with cmdlet?
    Cheers,
    John

    Hi John,
    I have some tests in my environment using Exchange server 2010 with Outlook 2010. If you create a Inbox rule to redirect messages using OWA, you will have a copy of these messages on your mailbox.
    If you create a transport rule to redirect messages that are sent to you, you won't have a copy of these messages on your mailbox.
    Hope my clarification is helpful.
    Best regards,
    Amy Wang
    TechNet Community Support

  • How to move a picture in another folder with drag & drop

    I want to move a picture in another folder with drag&drop. I work´s any more. What I do wrong?

    Hi all!
    Thanks.
    The problem was between the flatscreen and the chair...:-) I clicked always on the gray frame around and not in the image.
    Now it works!

  • Move items between desktops?

    I know I can deal with applications, but is there any way to move items between the different desktops?  I'd like to have one desktop with work related items on the desktop and another with just personal stuff.

    Try Function module /rpm/item_modify to change the bucket.
    When you move the item to another bucket from item dashboard, method ACTION_REASSIGN_BUCKET of class /RPM/CL_ITEM_D_API is called. You can use this method also to move the items.
    Cheers
    Amit

  • Cant move items between layers CS6

    I cant move items between layers in CS6.
    The items are not locked
    The items are not in groups
    The layers are all unlocked
    I select the item I want to move then try and move the item to the layer above (or below) with the "dot" on the right side of the layers pallete and nothing happens!
    Please help? What am I doing wrong?
    Suggestions please
    Andrew

    true. the <path> was in the toplayer and came from a sublayer. see screens.
    I now discovered that with the option 'show layers only' off, I can also move objects from a toplyaer into a sublayer in CS5! great!
    by showing the <path> you can drag that into a sublayer. this couldn't be done by selecting the object when it was 'invisible' (as a <path> 'layer') by grabbing the colored square from the top layer into a sublayer (gave a 'no entry' sign).
    thing is that in CS6 if the option 'show layers only' is selected, you cannot drag anything anymore...
    so there is an extra restriction, rendering the "show layers only" option useless as working mode.
    Why?

  • Move items between buckets

    Hi,
    There is a botton in PPM portfolio that works to move Items between buckets. Nevertheless, we want to know if there is a program o transaction to replace this functionality. The idea is to move in batch several items quickly.
    Thanks a lot,
    CAMILO URIBE

    Try Function module /rpm/item_modify to change the bucket.
    When you move the item to another bucket from item dashboard, method ACTION_REASSIGN_BUCKET of class /RPM/CL_ITEM_D_API is called. You can use this method also to move the items.
    Cheers
    Amit

  • Lost ability to move items between spaces with gestures after 10.7 download.  Setting issue or glitch?

    I downloaded OSX 10.7.2 like the rest of the world and besides icloud conversion issues I noticed that I could not move items (files, jpg's, etc.,) from one "Space" (desktop) to another.  I've gone through all the "gesture" settings in the System prefs and there's nothing to do with it.  Using the key fuctions (Control + 1, 2, 3) still allows for moving objects while you have it selected, however if you select any object with the trackpad no gestures work.  Anyone else seen this issue? Is there a setting that I've missed?

    I have absolutely the same problem since the last update. However I really think it is a glitch, because after stubbornly trying dragging a file while using the multi gestures I discovered the following:
    • It works only if you grab the file in the moment you use the multi gesture. It’s like a cat and mice game :D, I wouldn’t say it is a workaround, but just a proof that probably they will fix it.

  • After Upgrade to v4.5.0.138 - Can't Sych deleted items between mailbox and my device

    Yesterday I was prompted to upgrade my BBerry (Curve 8330) software and I did so. Now I'm running v4.5.0.138.
    I have four separate email accounts setup on my BBerry, 2 Hotmail and 2 Gmail accounts.
    Prior to the upgrade, I was able to "Synchronize deleted items between [these] mailbox[es] and my device" - I had this option set to "Yes" for each of my mailboxes in the General Settings for each. Whenever I chose to delete an email message from my BBerry, I was prompted to either delete from device only or delete from device and server. This was great! I often want to delete from both my BBerry and the server. It really helped me keep my email inboxes cleaned up.
    After the upgrade, I no longer have this functionality. The Hotmail accounts don't even have this option available in their General Settings. The Gmail accounts have this setting, which I have set to "Yes", but I am not prompted when I delete messages and messages are not being deleted on the server.
    Anyone have any ideas about this?
    Solved!
    Go to Solution.

    Welcome to the forums DiskEyes
    The settings you are looking for are in the Mail folder. Press menu/blackberry button>Options. In Options go to Email Reconciliation. You will have to setup each email from there. Change "Message Services" to the email you want to setup and then under it, change the "Delete On" to "Prompt". Press escape and save.
    Post back if you have issues doing this.
    Cheers,
    Kijana
    Please remember to:
    1. Mark Accept as Solution on the appropriate post once your issue has been resolved
    2. Give Kudos to helpful posts (click the star next to the post)
    Thanks

  • How to share folder with only one person one same Mac

    Could someone please remind me how I share a folder with one person I share my Mac with but not the others (we all have different profiles on the same machine...)
    Thanks,
    Michael

    EddyS45 wrote:
    My wife &amp; I use the same iMac with different user accounts.  How do we share one iTunes account on that computer.  I tried moving the iTunes folder in music on my user account to shared user
    Then hold Option and launch iTunes.
    Select Choose library... and select the iTunes folder in /Users/Shared/ folder.

  • B1if JDBC connection to a share folder with login and password

    Hi,
    I need to connect to data base using jdbc driver. Data Base is in a share folder. I have an IP address, login and password. How to configure B1if jdbc to connect to this data base? This data base is a DBF file.
    Regards
    Szymon

    Problem solved.

  • Share folder with some family members

    Hello,
    I have one Imac with several users (wife and kids). I like to share some data with my wife without access by the kids. That means I want to have a folder, where both of us can save files and have read/write access to the files. It seems difficult, that files inherit the rights from an given folder.
    What I managed to get was: administrator is changing the rights of the existing files and both have read/write access. BUT if a new file is added, only the person how added the file had read/write access. So I as Administrator have to change the rights anew.
    What do I have to do, to pass the rights of the folder to new generated files?
    Does anyone know a solution?

    Just change your iPhone's sync settings -- with your iPhone connected to iTunes, click on the Apps tab and choose to sync only selected apps, then choose the ones you want loaded. You can also drag and drop them to where you want them on your iPhone.

  • Can't move messages between mailboxes

    When I move messages, they turn gray in the original folder, and then are not moved. Or maybe some of them are, but most are not. Or they are moved, but then moved back. I thought it might be filters, but am pretty sure all relevant ones turned off. The messages and folders are "on my mac" so imap servers are presumably not involved.

    Oh, I just did a bit more searching in the forum here, and found this answer. I tried it and it worked for me:
    http://discussions.apple.com/thread.jspa?messageID=8994288&#8994288
    "Please use Rebuild on the Inbox -- click on Mailbox in the menubar, and choose Rebuild. Be aware that during Rebuild all messages will seem to disappear, but they will come back."
    (Thank you to Ernie.)
    I have multiple mailboxes -- I had to click on each mailbox individually for Rebuild to work, and I also did the rebuild on one of my archive folders.

  • Cannot move items in layers by dragging with mouse cc 2014

    I cannot move layer sub-items up or down in a given layer hierarchy menu.  Can only move with key commands.
    Highlight, click and drag does not work either.
    This is happening in muse cc 2014.
    Ken

    Same for me, can't re-arrange layer at all anymore.
    Muse cc 2014.1
    Jim
    Come on Muse Team lets get an update fix!

  • New Item Indicator Does Not Include Items from Folder with ILS

    We created a folder with Item Level Security and publishd items
    on that folder. If I drill into that folder, I can see that the
    Newly-added Items Icon is displayed. Once I click into that
    Newly-added Items icon, it will bring me to a view of all newly-
    added items within the content area. However, newly-added items
    published on the folder with ILS are not included on the list.

    Did you choose to preserve the hierachy?
    Ben
    Message Edited by Ben on 07-17-2007 11:56 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    preserveHierarchy.PNG ‏25 KB

  • How do I move pictures from 1 offline folder to another offline folder?

    My Elements 8 pictures are on the root directory of a 16 gig usb drive.  I would like to move them to a new folder on that same drive.  I tried to do it in the folder view by selecting the pics in the root folder and dragging them to the new folder.  That action was not allowed.  I could drag the pics to a C drive folder, but not to a usb drive folder.
    I then used the move function.under the File menu.  It did the move, but changed the name of each item by adding a "-1" to it.  And for each picture it added 1 or 2 small new files to the new folder.  I then had to erase the small new files because they caused me to run out of space.
    How can I easily move items from one external folder to another on my usb drive?

    Thanks for your response... 
    I tried the Move function.  It did not work very well either. 
    I successfully moved several groups of pictures, but PSE added a "-1" to all the files it created in the folder I was moving the items to, and it created 1 or 2 small jpg files for each of the files I moved.  This caused my usb drive to fill up and I had to erase all the extra files.  Eventually the "Move" failed in the last group of pictures I tried to move.  It copied all of them to the new folder, but failed as it tried to delete them from the original folder.  Thus, I now have 2 copies of those picture files on my usb drive.
    By adding the "-1" to the file names, PSE does not appear to recognize folders on a usb drive.  And I  have no idea why it creates the extra small copies of the files...
    Any other ideas?

Maybe you are looking for

  • Using APEX as SSO redirect for existing web application

    Hi, I have an existing PHP based Web Application hosted on an Apache server. I want to protect these web pages by authenticating users via Oracle SSO. I tested this by creating a simple APEX web page with redirect <Meta> tag to route traffic to my ap

  • Applet-Servlet - Creating a new file on client's mashine

    Hi all! I need to write a program, that will get a data from client through Applet text fields and save it to a new(or rewrite existing) file on client mashine. To save it, I want to use Servlet, because Applet can't do this because of security restr

  • How to post open item balance in mass ( ECC6.0)?

    Hi experts, In order to change alternative account in a principal account, I have to post a lot of open item to zero. After changing the alternative account, I have to reverse this open item and display the original open item. How to post open item b

  • Scripting Illustrator actions, incorporating calls to Excel

    Hello all, I need some help... I am building a series of logos — based on word strings —  using Illustrator CS4 with a combination of Actions, but also retrieving the word string from an Excel file. Normally for one or two iterations of the process,

  • Is there a less restrictive language/region filter for reviews?

    International users can't see the majority of reviews in the AppStore (OSX&iOS) -- sometimes in their own national AppSto there are hardly any reviews. I know that it IS possible to switch to the US AppStore and back, but this is inconvenient because