Retrieve Message body from an appoitment by SOAP

Hello,
I am trying to retrieve all the appointment from a specific user by GWSOAP. I use the getItemsRequest method. I specify as container the Appointment folder.
I retrieve all the appointment. But I cannot retrieve the message body from the appointment. Anybody can help me and explain me how I can retrieve it ?
Thanks,
Sebastien

By default, only the data from the user item in the
user's database is returned. The user item is linked
to a common item (that all users share). That common
item has links to the attachments of the item (which
the message body is one).
In the view, you have to explicitly ask for attachments
/ message body. A common view is:
"default attachments message peek"
default - Get all of the fields of the user's item.
attachments - Return the information about the attachments.
Note: You then have to read the attachment
data separately.
message - Return the message body.
Note: If the message body is greater than 64KB,
you will only get the id of the message body.
You will need to read the message body the
same way you read the other attachments.
peek - Return the message body, but don't mark the item as
read.
Note: If you are reading more that about 20 items, you should
use the cursor calls instead of getItemsRequest.
There is more information in the documentation.
Preston
>>> On Tuesday, October 05, 2010 at 1:36 AM,
Sebastienp<[email protected]> wrote:
> Hello,
>
> I am trying to retrieve all the appointment from a specific user by
> GWSOAP. I use the getItemsRequest method. I specify as container the
> Appointment folder.
>
> I retrieve all the appointment. But I cannot retrieve the message body
> from the appointment. Anybody can help me and explain me how I can
> retrieve it ?
>
> Thanks,
>
> Sebastien

Similar Messages

  • Retrieve message body in HttpRequest object

    I need to retrieve the message body in HttpRequest object.
    How to do that?
    Can you help me in this regard

    You want to store just the message body, not the entire message?
    What do you want to do with multipart messages?
    Wouldn't it be simpler to just store the Message object itself?

  • Applescript process message body from mail rule help please

    Would someone be kind enough to help me figure out how to do this?  I've been reading for hours on other posts and I can't get this to work.
    Here is an example:
    I would like to set up a mail rule to run an applescript that searches the body of the email for "-Front Door- Open".  I then want to parse the body and sets myDevice= "-Front Door-" and myState="Open".  After I have these variables set, I want to make an call to something like https://foo.me.com/api/token/${state.accessToken}/smartapps/installations/${app.id}/Notify?device=${myDevice}&type=ContactSensor&state=${myState}
    I understand how to do the mail rule, I just can't figure out the applescript part of it.

    The script works just fine - at least, as designed if not as expected.
    When the script runs, Mail and/or AppleScript looks for a perform mail action handler. If that is found, the commands within are executed.
    If there is no perform mail action handler then the script is run as-is (i.e. as if you clicked 'Run' in AppleScript Editor).
    And that's exactly what's happening here. In the first case (that works) the script is running because there's no (visible) perform mail action handler.
    In the second case where it apparently doesn't work, there is a handler, so that handler is being executed. Any code outside that handler is ignored (unless it's called from within the perform mail action handler.
    Since your 'say' command is outside the handler, it is ignored. However, if you move it inside the perform mail action handler you'll hear your speech.

  • Tab from Subject Field to Message Body Broken?

    I can't tab from the subject field to the message body. Obviously, this isn't correct behavior. Does anyone know if this is a known issue or if there is a fix?
    iMac G5 20"   Mac OS X (10.4.4)  

    This is odd. Most of the email I compose is initiated by an AppleScript and it's only in those windows where I can't tab into the message body from the subject field. If I create a new message window from within Mail, it operates as I expect. And yes, I can never tab out of the subject field in these AS created outgoing messages.
    My Mail app has always tabbed from the subject line to the message body, which is the correct behavior unless you have the OS set to tab through UI elements (AFAIK). Even in Tiger on my home computer.
    iMac G5 20"   Mac OS X (10.4.4)  

  • Mismatched message body and title

    Weird problem on my work computer.....my IMAP accounts have mismatched message titles and body. It's not the case on my other devices(G5 or iPhone). An example would be that a message from person "Bill" has the message body from a message from "Jim". Re-syncing the accounts has no effect.

    thanks. while waiting for responses to my question, I did a 'rebuild' and now all is in order.
    For future readers: To rebuild your mailbox, highlight the name of the mailbox, then click the 'Mailbox' menu and select the last option 'Rebuild'. It will take awhile for it to run this process so don't expect immediate results.
    http://docs.info.apple.com/article.html?path=Mail/2.0/en/ml1136.html

  • [OSB] SOAP Message Body Deleted in Routing Process

    Hello Folks,
    I'm using Oracle Services Bus 11g and I have the following scenario:
    A Business Services that is a client of a WebService. This WebService has an operation that return in its Soap Message a field with special characters (an encripted password).
    So, I've created an Proxy Service that route the request message to above business service, but when the message returned by Business service is routing back to Proxy Service the body of the message is deleted.
    Checking out the trace of the call, it says "Body was deleted" ! And so the message is returned by Proxy service without body !
    I suspected that problem is something about encoding !
    Someone could help me resolve this problem ?
    Thanks in advanced!

    Hi,
    I am facing some similar issues with OSB 10gR3 where the Message body gets deleted and i get empty soap body as response when i make continuous calls to a business service without any time delay between the calls.
    Though surprisingly i get the correct response from the business service for the first time but only on consecutive calls without any time delay between two calls i get empty soap body. Later if i try to call the business service leaving a gap of 15 sec after my first call, i get the correct response.
    I initially thought it might be a problem with the business service itself but when i try to make continuous calls to the Business service without any timedelay directly from SOAPUI , I am getting correct response everytime.
    Hence this seems to be a problem only when i invoke the business service via the OSB proxy and thsi deletes the response body wehn i make continuous calls.Not sure whether this is a bug with OSB or encoding issues.
    Pls help me to know if this has anything to do with the caching or any setting in OSB server.
    Thank you
    Preetha
    Edited by: 893969 on 31-Oct-2011 06:25
    Edited by: 893969 on 31-Oct-2011 06:27

  • XML Report completes with error due to REP-271504897:  Unable to retrieve a string from the Report Builder message file.

    We are in the middle of testing our R12 Upgrade.  I am getting this error from the invoice XML-based report that we are using in R12. (based on log).  Only for a specific invoice number that this error is appearing.  The trace is not showing me anything.  I don't know how to proceed on how to debug where the error is coming from and how to fix this.  I found a patch 8339196 that shows exactly the same error number but however, I have to reproduce the error in another test instance before we apply the patch.  I created exactly the same order and interface to AR and it doesnt generate an error.  I even copied the order and interface to AR and it doesn't complete with error.  It is only for this particular invoice that is having an issue and I need to get the root cause as to why.  Please help.  I appreciate what you all can contribute to identify and fix our issue.  We have not faced this issue in R11i that we are maintaining right now for the same program which has been running for sometime.  However, after the upgrade for this particular data that the user has created, it is throwing this error REP-271504897.
    MSG-00100: DEBUG:  Get_Country_Description Return value:
    MSG-00100: DEBUG:  Get_Country_Description Return value:
    REP-0002: Unable to retrieve a string from the Report Builder message file.
    REP-271504897:
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-271504897: MSG-00100: DEBUG:  BeforeReport_Trigger +
    MSG-00100: DEBUG:  AfterParam_Procs.Populate_Printing_Option
    MSG-00100: DEBUG:  AfterParam_Procs.Populate_Tax_Printing_Option
    MSG-00100: DEBUG:  BeforeReport_Trigger.Get_Message_Details
    MSG-00100: DEBUG:  BeforeReport_Trigger.Get_Org_Profile.
    MSG-00100: DEBUG:  Organization Id:  117
    MSG-00100: DEBUG:  BeforeReport_Trigger.Build_Where_Clause
    MSG-00100: DEBUG:  P_Choi
    Report Builder: Release 10.1.2.3.0 - Production on Tue Jul 23 09:56:46 2013
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.

    Hi,
    Check on this note also : Purchasing Reports Fail When Changing Output To XML REP-0002 REP-271504897 REP-57054 (Doc ID 1452608.1)
    If you cant reproduce the issue on other instance, apply the patch on the test instance and verify all the funcionality related to the patch works OK. Then move the patch to production. Or you can clone the prod environment to test the patch.
    Regards,

  • REP-0002: Unable to retrieve a string from the Report Builder message file;

    Hi,
    I've a custom report in which i need to display a large string, of more than 4000 characters. To cater to this requirement i've written a formula column which displays string upto 4k characters and for a string of size beyond 4k i am calling a procedure which uses a temp table having a clob field.
    For a small string the report runs fine but whenever a large string requirement comes into the picture, said procedure gets triggered and i get REP-0002: Unable to retrieve a string from the Report Builder message file.
    OPP log for the same gives an output as under:
    Output type: PDF
    [9/21/10 2:17:12 PM] [UNEXPECTED] [388056:RT14415347] java.io.FileNotFoundException: /app/soft/test1udp/appsoft/inst/apps/e180r_erptest01/logs/appl/conc/out/o14415347.out (No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:241)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:172)
    Report Builder 10g
    BI Publisher's version : 4.5.0
    RDBMS Version : 10.2.0.4.0
    Oracle Applications Version : 12.0.6
    Searched for the same on metalink and found Article ID 862644.1, other than applying patch and upgrading version of BI Publisher is there any other workaround to display a comma seperated string as long as 60k characters, If any please suggest.
    Thanks,
    Bhoomika

    Metalink <Note:1076529.6> extracts
    Problem Description
    When running a *.REP generated report file you get errors:
    REP-00002 Unable to retrieve string from message file
    REP-01439 Cannot compile program since this is a runtime report
    Running the same report using the *.RDF file is successful.
    You are running the report with a stored procedure,
    OR you are running against an Oracle instance other than the one developed on,
    Or, you recently upgraded your Oracle Server.
    Solution Description
    1) Check that the user running the report has execute permissions on any stored
    SQL procedures called. <Note:1049458.6>
    2) Run the report as an .RDF not an .REP , that is remove or rename the .REP
    version of the report. <Note:1012546.7>
    3) Compile the report against the same instance it is being run against.
    <Note:1071209.6> and <Note:1049620.6>

  • Is it possible to exclude .PDF file from Email Message body ?

    Hello Friends,
    I am sending e-mail from one program with attachment of EXCEL file.
    I am using following function SO_NEW_DOCUMENT_ATT_SEND_API1
    I am getting body of the message as a separate .PDF file.
    Even I want in real message body.
    <REMOVED BY MODERATOR>
    Regards,
    NVM
    Edited by: Alvaro Tejada Galindo on Dec 28, 2007 7:47 AM

    NB - the "data" that is returned by these classes is the data as defined in an adobe form - it doesn't return the content of non-form PDF documents.
    The PDF must be an interactive form ( although that doesn't restrict you to using the SAP process for creating the form is my understanding - but I could be wrong. )
    Edit - I was wrong! ONLY PDF documents that have been created by the ADS can have data extracted using these classes. So unless you are using Adobe interactive forms - then you will get no value from this functionality - and if you're using AIF then you're probably just use the standard UI element
    Edited by: Chris Paine on Oct 26, 2010 6:04 PM

  • Product Instance Registration Error Message: "System Failure: Error while retrieving xml file from database"

    Hi Planning installation Gurus,
    Did u get any luck to resolve this problem as i am also facing same problem "Error creating instance" during install of Planning 9.3.1. i tried 30-50 times reconfiguration every time same problem..
    OS: Vista Premium
    SQL Server 2005
    Essbase:9.3.1
    Error Message: "System Failure: Error while retrieving xml file from database"
    Details of error:::::::::::::::::::::::::
    at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source
    Can not get JDBC connection for SYS external changed actions.
    Can not get JDBC connection.
    java.lang.NullPointerException
    at com.hyperion.planning.sql.HspSQLImpl.getConnection(Unknown Source)
    at com.hyperion.planning.event.HspSysExtChangeHandler.actionPoller(Unkno
    wn Source)
    at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source
    Can not get JDBC connection for SYS external changed actions.
    Can not get JDBC connection.
    java.lang.NullPointerException
    at com.hyperion.planning.sql.HspSQLImpl.getConnection(Unknown Source)
    at com.hyperion.planning.event.HspSysExtChangeHandler.actionPoller(Unkno
    wn Source)
    at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source
    Can not get JDBC connection for SYS external changed actions.
    Can not get JDBC connection.
    Pls provide Solution

    Hi John,
    though i am trying with SQl server authentication with different user but still status is same of planningSystemDB.properties
    SYSTEM_DB_DRIVER=hyperion.jdbc.sqlserver.SQLServerDriver
    SYSTEM_DB_URL=jdbc:hyperion:sqlserver://neeraj-PC:1433
    SYSTEM_DB_USER=windowsAuthentication
    SYSTEM_DB_PASSWORD=CAFBAEFNBGEAABHEDOADFKADACBGBIFHBLCDFBAFFH
    SYSTEM_DB_CATALOG=plandb
    SYSTEM_DB_TYPE=SQL
    INSTANCE=
    my steps:
    Using SQL Server Management Studio
    Changed Widows authentication to SQL server authentication mode
    In SQL Server Management Studio Object Explorer, right-click the server, and then click Properties.
    On the Security page, under Server authentication, select the new server authentication mode, and then click OK.
    In the SQL Server Management Studio dialog box, click OK to acknowledge the requirement to restart SQL Server.
    In SQL Server Management Studio Object Explorer, right-click the server, and then click Properties.
    On the Security page, under Server authentication, select the new server authentication mode, and then click OK.
    In the SQL Server Management Studio dialog box, click OK to acknowledge the requirement to restart SQL Server.
    To restart SQL Server from SQL Server Management Studio
    To enable the sa login by using Management Studio
    In Object Explorer, expand Security, expand Logins, right-click sa, and then click Properties.
    On the General page, you might have to create and confirm a password for the sa login.
    On the Status page, in the Login section, click Enabled, and then click OK.
    In Object Explorer, expand Security, expand Logins, right-click sa, and then click Properties.
    On the General page, you might have to create and confirm a password for the sa login.
    On the Status page, in the Login section, click Enabled, and then click OK.}}}
    anything else should i change.................

  • Mail won't retrieve messages from my primary Comcast account

    Apple Mail, Version 2.1 (752/752.2), downloads emails from my yahoo.com and gmail.com accounts, but it has suddenly stopped downloading emails from my primary Comcast account to my G5 iMac. I get no error messages.
    Trying to retrieve email in Apple Mail can sometimes cause the Comcast email server to classify all unread messages as read. If Mail is set to "remove copy from server right away after retrieving a message," then all of my new messages are deleted from the Comcast server before I ever see them, even though they have not been retrieved.
    Curiously, the only emails that Mail can access from my primary Comcast account are those that have been automatically forwarded from my secondary Comcast accounts. (Just out of curiosity, I tried manually forwarding a message from my primary account to my primary account; it could not be retrieved by Mail.)
    My wife and daughter, on the same hard-wired ethernet LAN, have no problem accessing their primary Comcast email accounts with Mail on their Macs (MacBook and G4 iMac). Our settings for Comcast accounts seem to be identical on all three computers.
    Perhaps coincidentally, I also have Comcast Digital Voice VoIP telephone service, and this email problem started while Comcast was troubleshooting problems with my voicemail. I use separate cable modems for phone (Arris TM402P) and Internet (Motorola SB5100).
    I've tried: 1) rebuilding all of the mailboxes in my Mail Inbox; 2) deleting all of my emails on the Comcast server and emptying the trash; 3) setting the outgoing SMTP mail server on all of my email accounts to Comcast; 4) repairing permissions and running maintenance scripts; 5) shutting down the computer overnight; 6) Comcast support -- they try, but then give up and say that they don't support Apple Mail.
    I'd appreciate any assistance.
    iMac G5 1.9GHz   Mac OS X (10.4.7)   1 GB RAM

    This problem was apparently caused by one of two things: 1) trying to use Mail with an AIM.com IMAP account; or 2) corruption somewhere in my Rules and Mailboxes.
    I had to rebuild my POP accounts from the ground up. First, I backed up Mail preferences and messages. After quitting Mail and deleting the preference file com.apple.mail.plist and the Mail folder from Users/Home/Library, I launched Mail and created new accounts and new rules.
    Prior to this issue, I had been using Apple Mail for three years to retrieve POP mail from Comcast and other accounts. This was my first experience with IMAP.
    iMac G5 1.9GHz   Mac OS X (10.4.7)  

  • Get the Error-Message-Number from RFC to SOAP

    Hi All,
    we have implemented a synchronous SOAP-Call to RFC over XI. How can I get the message-number from the raised exception in the RFC-function Module to the SOAP-Caller?
    Thanks a lot
    Matthias

    Matthias,
    For you to have an exception structure when an rfc is imported into Xi, the rfc should have an exception defined. Usually we define an ApplicationError as one of the exceptions.
    The idea is that if there was an exception which you didnt handle in your rfc (BAPI return will be emplty), the exception will be returned to XI and shown in SXMB_Moni as hard error(of course there should be a message mapping avaliable in XI )
    In all the other cases, since you are populating BAPIReturn which is tables parameter, you should be able see the filled structure in your response message from RFC.
    Regards,
    naveen

  • Can I retrieve messages from a blackberry email address in Mail for OS X?

    I'm wondering if I can configure Mac OS X Mail to retrieve messages from a blackberry email address.
    Thanks.

    lte me know if my question doesn't make sense.

  • ** List of RFCs to retrieve messages from SXMB_MONI

    Hi friends,
    I found only one RFC 'SXMB_SELECT_MESSAGES'  to retrieve messages from SXMB_MONI. But, this RFC returns only message id.
    Could you kindly tell RFCs or classes other than this which will be usefull to retrieve XML Payload and other things ?
    Kind Regards,
    Jeg P.

    Hi,
    There is a function module SXMB_GET_MESSAGE_LIST through which you can get the messages in SXMB_MONI.
    Refer the below thread for more detail:
    In Which Database Table the Messages are Stored in XI
    Thnx
    Chirag
    Edited by: Chirag Gohil on Feb 15, 2008 6:13 PM

  • Retrieving messages from MQ Series

    Hi,
    We have the situation where we need to receive messages from our partner, who only can use MQ Series to send them. So we are looking into ways how to solve it on our end, which is on a Unix server. We will only read messages, and the other side will be a black box for us which will provide us with settings to connect to their manager.
    Do we need to install a client software (which IBM seems to provide for free) and on top of that use a Java API? Or do we use JMS on top of the client?
    Or if we use JMS, isn't the client needed?
    Thanks

    Hi
    I am trying to read messages from the MQ using the following code.
    The queue used by this program is shared, msg is pushed other program and this progam fetch the msg and save it physically.
    I m facing a problem, say there are 15 messages, then 15 files should be created, some time it creates 15 files one for each message, while some times it creates less then 15 files.
    String messageType = null;
              String docId = null;
              String idocData = null;
              String fileName = null;
              String msgId = null;
              try {
                   // Create a queue manager object and access the queue
         // that will be used for getting the messages.
                   qMgr = new MQQueueManager(qManager, env);
                   //int openOptions = MQC.MQOO_INPUT_EXCLUSIVE | MQC.MQOO_BROWSE | MQC.MQOO_INQUIRE;
                   int openOptions = MQC.MQOO_INPUT_SHARED | MQC.MQOO_BROWSE | MQC.MQOO_INQUIRE | MQC.MQOO_FAIL_IF_QUIESCING;
                   queue = qMgr.accessQueue(qName, openOptions, null, null, null);
                   MQGetMessageOptions gmo = new MQGetMessageOptions();
                   // Get the count of messages present into Queue.
                   int messageCnt = queue.getCurrentDepth();
                   _logger.info("Current Depth of MQ is : "+ messageCnt);
                   if (messageCnt > cnt && cnt != 0) {
                        messageCnt = cnt;
                   // If count is greater than Zero then get the message from Queue
                   // and creates the file under the target folder.               
                   if (messageCnt > 0) {
                        for (int i = 0; i < messageCnt; i++) {
                             _logger.info("Depth of MQ Before reading : "+ queue.getCurrentDepth());
                             messageType = "";
                             docId = "";
                             idocData = "";
                             fileName = "";
                             msgId = "";
                             MQMessage message = new MQMessage();
                             queue.get(message, gmo);
                             byte[] data = new byte[message.getMessageLength()];
                             String msg = null;
                             message.readFully(data);
                             _logger.info("Getting File  : "+ (i+1));
                             try {
                                  msg = new String(data);
                                  messageType = msg.substring(147, 177).trim();
                                  docId = msg.substring(121, 137).trim();
                                  idocData = msg.substring(108, msg.length());                              
                                  msgId = String.valueOf(System.currentTimeMillis());
                                  // Getting inbox folder path                              
                                  if (messageType.trim().equalsIgnoreCase("INVOIC01")) {
                                       targetFolder = BOCConfig.getProperty("invoice.inbox.folder");
                                  } else if (messageType.trim().equalsIgnoreCase("DELVRY03")) {
                                       targetFolder = BOCConfig.getProperty("asn.inbox.folder");
                                  fileName = createFile(idocData, msgId, messageType, targetFolder);                              
                                  _logger.info("File Created no " + (i+1) +" with msgId " + msgId + " messageType " + messageType + " DocId " +docId);                              
                                  _logger.info("Depth of MQ After reading : "+ queue.getCurrentDepth());
                             } catch (NullPointerException ne) {
                                  String strMsg = "Edgeware got junk or null message from MQ which is not proceed by MQ Adapter.";
                                  fileName = createFile(idocData, msgId, messageType, failedFolder);
                                  raiseAlert(strMsg, messageType, docId, fileName, ne.getMessage());                              
                             } catch (StringIndexOutOfBoundsException siobe) {
                                  String strMsg = "Edgeware got invalid message from MQ which is not handled by MQ Adapter.";
                                  fileName = createFile(idocData, msgId, messageType, failedFolder);
                                  raiseAlert(strMsg, messageType, docId, fileName, siobe.getMessage());                         
                             } catch (Exception e) {
                                  String strMsg = "Edgeware got error while creating idoc file or DB transction";
                                  fileName = createFile(idocData, msgId, messageType, failedFolder);
                                  raiseAlert(strMsg, messageType, docId, fileName, e.getMessage());
                   // closing the queue.
                   queue.close();
              } catch (MQException ex) {
                   String strMsg = "Edgeware got MQ Error while connecting/retrieving message from Queue";
                   String err = "MQ exception: CC = " + ex.completionCode + " RC = " + ex.reasonCode;               
                   raiseAlert(strMsg, messageType, docId, failedFolder, err);
              } catch (IOException e) {
                   String strMsg = "Edgeware got MQ Error while reading message from the Queue";               
                   raiseAlert(strMsg, messageType, docId, failedFolder, e.getMessage());               
              }catch (Throwable th) {
                   String strMsg = "Edgeware got Runtime Exception";               
                   raiseAlert(strMsg, messageType, docId, failedFolder, th.getMessage());               
              }

Maybe you are looking for