Programmatically setting UserPrefs for User Messaging Service

Hi,
do anyone knows or have tried to set UserPrefs, for User Messaging Service in SOA Suite, instead of using the web interface?
I have tried using the API provided, but with no success.
Appreciate any pointers and hints.
Thank you
yee thian

I solved this... when u r saving from Em it is not saving ur configuration. so go to driverconfig.xml file at below location
Manully enter all the configuration values and restart the server.
C:\Oracle\Middleware\user_projects\domains\ofmw_base_domain\config\fmwconfig\servers\bam_server1\applications\usermessagingdriver-email\configuration

Similar Messages

  • How to use Powershell to set delegate for user mailbox in Exchange 2010 and Office 365

    Hello,
    Can you please tell me if I can set delegate for user mailbox in Exchange 2010 or Office 365 using Powershell?
    If I can, then how can I do that? (which Powershell commands for setting the delegate?)
    Many thanks, and have a good day!

    Hi,
    If you wanted to add a delegate to possiblly a large number of users or you do this during mailbox provisioning. So the following script will use
    impersonation to access another users mailbox and add a delegate.
    $mbtoDelegate = "[email protected]"
    $delegatetoAdd = "[email protected]"
    $dllpath = "C:\Program Files\Microsoft\Exchange\Web Services\1.0\Microsoft.Exchange.WebServices.dll"
    [void][Reflection.Assembly]::LoadFile($dllpath)
    $service = new-object Microsoft.Exchange.WebServices.Data.ExchangeService([Microsoft.Exchange.WebServices.Data.ExchangeVersion]::Exchange2007_SP1)
    $windowsIdentity = [System.Security.Principal.WindowsIdentity]::GetCurrent()
    $sidbind = "LDAP://<SID=" + $windowsIdentity.user.Value.ToString() + ">"
    $aceuser = [ADSI]$sidbind
    $service.AutodiscoverUrl($aceuser.mail.ToString())
    $service.ImpersonatedUserId = new-object Microsoft.Exchange.WebServices.Data.ImpersonatedUserId([Microsoft.Exchange.WebServices.Data.ConnectingIdType]::SmtpAddress,
    $mbtoDelegate);
    $mbMailbox = new-object Microsoft.Exchange.WebServices.Data.Mailbox($mbtoDelegate)
    $dgUser = new-object Microsoft.Exchange.WebServices.Data.DelegateUser($delegatetoAdd)
    $dgUser.ViewPrivateItems = $false
    $dgUser.ReceiveCopiesOfMeetingMessages = $false
    $dgUser.Permissions.CalendarFolderPermissionLevel = [Microsoft.Exchange.WebServices.Data.DelegateFolderPermissionLevel]::Editor
    $dgUser.Permissions.InboxFolderPermissionLevel = [Microsoft.Exchange.WebServices.Data.DelegateFolderPermissionLevel]::Reviewer
    $dgArray = new-object Microsoft.Exchange.WebServices.Data.DelegateUser[] 1
    $dgArray[0] = $dgUser
    $service.AddDelegates($mbMailbox, [Microsoft.Exchange.WebServices.Data.MeetingRequestsDeliveryScope]::DelegatesAndMe, $dgArray);
    Hope this helps.

  • Does User Messaging Service come by default in SOA Suite?

    Does User Messaging Service come by default in SOA Suite?

    Yes, UMS is a feature available as part of SOA suite installation.
    You should be able to see the UMS related configuration features in the EM Console.
    Please visit the following link for more information.
    Configuring Oracle User Messaging Service
    Thanks,
    Wajid
    Middleware Integration - YouTube

  • Trying to integrate with User Messaging Service adapter in SOA suite.Can it be possible through an JMS interface.

    Trying to integrate with User Messaging Service adapter in SOA suite. Can it be possible through an JMS interface.
    I have an JMS backend integrated to Oracle B2B. Is it possible to send an email protocol message using JMS interface to B2B where User messaging Service has been implemented. The adapters required for UMS have been deployed and the sdpmessaging jar files also have been added to the classpath. The only problem i face is i dont have an BPEL system to integrate where as in the forums it has been mentioned how to post a message using BPEL.
    Please let me know if there is a way to integrate the adapter with JMS interface.
    Thanks in advance
    Deepak

    If I remember correct, to use JCA adapter with SOA stack requires that adapter implement some Oracle API.
    The Adapter SDK is a light-weight tool kit that enables rapid implementation and deployment --- http://www.oracle.com/technology/products/integration/adapters/pdf/DS_OracleASAdapter.pdf
    http://download.oracle.com/docs/cd/B16981_04/current/acrobat/cct115dg.pdf
    Mostly you will have to wrap your jca adapter to make it available in SOA suite/stack.
    Other option is that you adapter provider would have given CCI interface or some custom interface which can be used for invoking adapter end-points.
    Manoj

  • Oracle User Messaging Service

    Can we use more than one SMTP user for configuring notifications in User Messaging services?

    Hi grehard,
    I am getting the below error under message status. Can you please suggest me the solution ?
    Message ID (Recipient)     a792deb5c0a805f100972b1631596902 (USER:AIAIntegrationAdmin)
    Operation     Send
    Overall Status     Failed
    Status Code     ENGINE_PROCESSING_FAILURE
    Status Message     User could not be resolved to device addresses. Please see the log file for details.
    Timestamp     Dec 17, 2012 12:05:18 PM IST
    Gateway Message ID     
    Sender     
    Recipient     USER:AIAIntegrationAdmin
    Driver Instance Name     
    Engine     /Farm_base_domain/base_domain/soa_server1/usermessagingserver
    Application Name     soa-infra
    Application Instance Name

  • Oracle User Messaging Service unable to connect to Mail server through SSL

    Hi,
    I have a SOA server setup with User Messaging Service, with email driver installed. I set it up to connect to an SMTP server over SSL.
    Using the user messaging sample app from samplecode.oracle.com, I encountered the following error:
    javax.mail.MessagingException: Exception reading response; nested exception is: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    After doing some research, I copied the cert from the Mail server and put in in the JDK keystore (jdk\jre\lib\security\cacert) using keytool -importcert command. Then I did configure the SOA server to use that keystore. However I still encountered the above mentioned exception.
    Anyone has encountered and solve the problem?
    Appreciate any pointers :)
    yee thian

    Hi,
    SAP support suggested to check the following notes:
    827958 - Javascript Errors in IC WebClient, Messaging does not work
    871851 and 872720 - JRE version
    828884 - SAM (Simple ABAP messaging)
    844929
    924443
    927566
    927567
    Regards,
    Bruno Mikio

  • Error: property is not set correctly for User Defined Fields.

    Hi Gurus,
    I am trying to define a new field Department of type Lookup. For this i have created a new field in user defined fields. But when i click on create user in web console it give me "property is not set correctly for User Defined Fields."
    I created a lookup field for department , but looks like i have to some kind of mapping. How can it be done?
    Thanks,
    sat

    Hi Kevin,
    I couldnt get it done. This is what I had done so far.
    Created Lookup.Users.Dept ( with code code=23 & decode=treasury)
    Added two field in xlwebadmin.properties & xlwebadmin_en.properties
    lookupfield.header.users.deptcode=Department code
    lookupfield.header.users.deptname=Department name
    In my lookfield properties in
    column caption=Department code,Department name
    Column query= Not sure what to give? here
    Thanks,
    sat

  • Watch for " premium messaging service "

    I thought Verizon is serious company and would not allowed such companies like " premium messaging service "  to fraud their customers . They charged me $60 for four months
    After having a 5 hours phone conversation with Verizon‘s customer service and fraud department they agree that this service was a scam / fraud from a third party company and they gave me back the credit for April, march and February and also they blocked the so called premium messaging service . they did not gave me the credit for the fourth month for which I am still waiting

    I have been a strong proponent that it is the subscribers actions that cause these issues. I believe most are due to user mistakes. However, There are articles coming out that a company named Jawa would send out a message with a comment to opt out, to reply STOP. That actually opted one in.
    VZW has sued them after three years of this occurring. The defendents answer to the lawsuit states VZW and ATT allowed them to do this as they made 30% off of these premium messages.
    I think this will grow into a larger issue.
    These articles are from DSLreports.com  1st article   2nd article

  • IMAP setting flags for DSN message problem

    Hi,
    I have a question about processing DSN flags using Java Mail.
    We are trying to set SEEN and FLAGGED flags also for DSN messages (for any other messages it is working perfectly fine).
    The problem is that no flags are set, no IMAP commands are issued.
    For any 'normal' messages the IMAP command is issued (for example: A27 STORE 13 +FLAGS (\Seen)).
    We are using Exchange Server 2007 with IMAP support enabled on the mailbox.
    The strange thing is that i can manualy set SEEN and FLAGGED flags from Outlook on this DSN message and then print flags for this message from Java Mail.
    Is there any standard for FLAG processing for DSN messages? Is this a problem in Java Mail / Exchange or some limitation? As I believe DSN in also a javax.mail.Message from the implementation point of view...
    Regards

    Hi Bill,
    This was a good point, about calling setFlags method on the wrong message.
    The problem is because, we are dealing with Exchange bug described here:
    BODYSTRUCTURE with "multipart" "signed" not parsing
    and using workaround described here:
    http://www.oracle.com/technetwork/java/faq-135477.html#imapserverbug
    However, we were setting flags on message created using following code
    SharedByteArrayInputStream bis =  new SharedByteArrayInputStream(bos.toByteArray());
    MimeMessage cmsg = new MimeMessage(session, bis);not on original message from the mailbox.
    Regards

  • How to set restriction for user in sap

    Hi,
        I have created a user,now i need to restrict the user to work only for 8 hrs per day.HOw can i set timing for the user.Kindly help out regarding this.
    Regards
    sekar

    Sekar,
    If you use external authetnication for users when they logon to SAP, then you can control the times they can logon and which days of week (if required). For example, it is possible to use Active Directory authentication to authenticate users to SAP application via SNC or using a custom login module in WebAS Java, and in AD you can set times when logons are allowed. This might be what you are looking for ?
    If you want to log somebody off SAP when they have been using it for a period of time, then this can be dangerous if they are in the middle of a complex transaction when they are logged off. Also, I don't think this functionality is included in SAP product. If you don't want somebody to use SAP at certain times of day, then it might be better to force a screen saver at workstation instead, if this is what you want.
    Regards,
    Tim

  • How to set up for user's request to go through a specific module that i selected

    I am testing if it is possible all requests from users should go through a module
    that i made or not.
    For example, all most web server is setted all requests should go through the
    log module for writing log when users request a certain page.
    Like this, how to set up the configuration all request should go through a certain
    module.
    Would you tell me the answer please.

    Power on the Time Capsule for a few minutes, then hold in the reset button firmly with a ball point pen or something similar for 10 seconds and release. Allow a full minute for the Time Capsule to restart to a slow, blinking amber light.
    Connect an Ethernet cable from one of the LAN <--> Ethernet ports on the back of the Uverse router to the WAN "O" port on the Time Capsule
    On your Mac, open up Macintosh HD > Applications > Utilities > AirPort Utility
    Click on the Other WiFi Devices tab
    Click on the Time Capsule
    The setup utility will open up automatically and take a minute to analyze the connections then suggest a setup on a screen that looks like this:
    Type in a simple name that you want to use for the Wireless Network Name
    Type in a name that you want to use for the Time Capsule device
    Type in a password
    Verify the password
    Click Next
    The utility will set everything up for you in a minute or two. When you see the message of Setup Complete on the screen, click Done
    You can now log onto the wireless network that you created by selecting the name and entering the password
    Post back on your progress and we will next get backups going again

  • JMS/AQ: Setting properties for JMS message using PL/SQL

    I have created a procedure in PL/SQL that uses JMS messages, and now I need to include a property so that the subscriber can use a message selector to filter out unwanted messages. Is this possible using PL/SQL?
    A previous post said: "... But you can have properties in the message payload itself and also define selectors on the message content ...". But I looked at Sun's tutorial and there it said: "A message selector cannot select messages on the basis of the content of the message body."
    I have 300 different screens and messages apply only to one screen at a time. When the user is looking at screen 'A' I want him to only recieve messages that apply to screen 'A'. I thought I would do this with message selector, but is there any other way?
    Here is my code(borrowed from an earlier post)
    PROCEDURE ENQUEUE_JMS_MESSAGE AS
    BEGIN
    DECLARE
    Enqueue_options DBMS_AQ.enqueue_options_t;
    Message_properties DBMS_AQ.message_properties_t;
    Message_handle RAW(16);
    User_prop_array SYS.AQ$_JMS_USERPROPARRAY;
    Agent SYS.AQ$_AGENT;
    Header SYS.AQ$_JMS_HEADER;
    Message SYS.AQ$_JMS_TEXT_MESSAGE;
    Message_text VARCHAR2(100);
    BEGIN
    Agent := SYS.AQ$_AGENT('',NULL,0);
    User_prop_array := SYS.AQ$_JMS_USERPROPARRAY();
    Header := SYS.AQ$_JMS_HEADER( Agent, '', 'aq1', '', '', '', User_prop_array);
    Message_text := 'Message 1 from PL/SQL';
    Message := SYS.AQ$_JMS_TEXT_MESSAGE(Header, LENGTH(Message_text), Message_text, NULL);
    DBMS_AQ.ENQUEUE(queue_name => 'tstopic',
    Enqueue_options => enqueue_options,
    Message_properties => message_properties,
    Payload => message,
    Msgid => message_handle);
    END;
    END;
    -Christer

    Thanks for the answer. I managed to set the Correlation id and retrieve it using getJMSCorrelationID(). But I did not manage to use the MessageSelector on it. I have used the Topicbrowser which is not part of the JMS standard? I tried to enqueue the messages using Java too and tried to use the topicbrowser on both JMSCorrelationID and user defined properties withou success. Is there some special requirements of the TopicBrowser?
    Enumeration messages;
    oracle.jms.TopicBrowser browser =tsess.createBrowser(topic, "TS", "JMSCorrelationID = 'TST'");
    int count = 0;
    messages = browser.getEnumeration();
    if(messages.hasMoreElements())
    System.out.println("message"); //never executed
    dtxtmsg = (TextMessage)(tsub1.receiveNoWait()) ; //returns a message
    String corrID = dtxtmsg.getJMSCorrelationID(); //returns: TST
    Thanks for your help so far...it would really save my day if you have some ideas on this too!
    -Christer

  • Set "E" for V1801 Message: Pricing error: Mandatory condition ZR01 missing

    Dear All,
    I want to set below error message to appear as ERROR.
    Right now this message appear as a GREEN Color message. Therefore user can save the sales order without pricing.
    My requirement is to BLOCK the user from entering a sales order in to the system without pricing. (Not even a incomplete order)
    Message
    Pricing error: Mandatory condition ZR01 is missing
    Message no. V1801
    Please note I have done following configurations.
    - I have set ZR01 condition as MANDATORY in my pricing procedure. - B'se it's the price for the material
    - I have set "Manual Entry not possible" for this condition type - Price should always pick from VK11, User should not be able to enter manually.
    If Price is not there, user should not be able to create a SO.
    NOTE:
    In the transaction OVAH, I cant see this message no to set as E.
    even in SE91, I don't see a place to set the message type.
    Is there any other way to set this message as "E" & to prevent user from entering a SO to the system without price???
    Appreciate your help !

    Dear Senya,
    Your suggestion works really fine with me.
    It didn't make that message an ERROR message  type. But it prevents user saving any incomplete document, where in my case it's pricing. So user has to complete the pricing in order to save it.
    Thanks a lot for the help !
    All others, thanks a lot for your suggestions !!!
    Edited by: Anupa Wijesinghe on Aug 10, 2009 6:41 AM

  • Writing client app to connect to Exchange Server 2013 and set OOF for users on vacation

    I am coding an C# app that should connect to Exchange Server 2013 on-premise (Servers Location is not in our Company). I`ve got an account (User and Pass) with readonly admin-rights for now and want to read and set OutOfOffice Objects for other users. I
    decide to use EWS Managed API over Autodiscovery but I am bit confuse how
    I tried to connect with "service.UseDefaultCredentials = true" and read contacts -> this code works:
    try
                ExchangeService _service
    = new ExchangeService(ExchangeVersion.Exchange2013_SP1);
                _service.Credentials
    = new WebCredentials("service.exchange",
    "1234", "domain");
                _service.TraceEnabled
    = true;
                _service.TraceFlags
    = TraceFlags.All; _service.UseDefaultCredentials
    = true;
                _service.AutodiscoverUrl("[email protected]",
    RedirectionUrlValidationCallback);
                foreach
    (Contact contact in _service.FindItems(WellKnownFolderName.Contacts,
    new ItemView(2)))
    var test = contact;
            catch
    (Exception exception)
                Console.WriteLine(exception);
    After that I tried the same with _service.UseDefaultCredentials = false; got error -> "The Autodiscover service couldn't be located." I am not shure if this "direct log on" is the right way, On msdn I've read about "delegate access"
    and "Impersonation" (NTLM and Basic Authentication) I'am a bit confused. Can anybody help me?

    hi,
    when you set a credential, you don't have to set the UseDefaultCredentials property (it is already updated).
    For autodiscover, you should try to set the property EnableScpLookup to True if you are in the Exchange domain or it is known by the current domain.
    Autodiscover uses a domain query (through Active Directory) and/or a dns query (this requires a DNS register for autodiscover.domain.net) to determine the access to the autodiscover service URI.
    Regards,
    Désiré GOVIN Refresh IT Solutions

  • Set value for user input in tabular form

    Hello all
    I have a tabular form wherein I want to set the length of values a user an enter into certain columns.
    For an example, column1 should only allow users to input a 5 digit number and no more. Column2 should only allow 6 digits and so on.
    Is this something that can be done? and if so, how?
    Thank you for any help -Trey

    Hi Trey,
    APEX doesn't support that out of the box, it always creates a HTML input item with a maxlength=2000. But have a look at the ApexLib Framework which supports a length property for tabular from fields. See http://www.inside-oracle-apex.com/2007/02/restrict-input-length-for-tabular-form.html and http://apex.oracle.com/pls/otn/f?p=44394:54 for details.
    Patrick
    My APEX Blog: http://www.inside-oracle-apex.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://apexplugin.sourceforge.net/ New!

Maybe you are looking for

  • How to run windows from an external usb drive

    Hi, I've just install windows using bootcamp. after that i restore that windows installed bootcamp volume to an GUID partitioned external HDD. Now it is shown in startup disc, but when i select that (external HDD) volume it is unable to start. I don'

  • Can't install mac os x on macbook pro because of kernel panic: IO-APIC

    Hello guys, i have a macbook pro, that i formated with a windows 7 dvd, now i ONLY have a windows 7 on my macbook pro.(I wanted a clean install with os x before i puted windows 7, but i coudnt because each time i tried to boot from os x dvd i got a k

  • Image zone/Volume bar

    HP Desktop M7240UK Windows 7 Hi I recently upgraded to Windows 7 from XP and I have lost the HP Image zone,how can I reinstall it?. Also on my keyboard I have volume controls which when pressed would bring up a green volume bar on the monitor, this h

  • Assigning Apps to Multiple, not all, Spaces

    Yo, So I know how to move and assign applications to certain spaces. My question, however, is whether an application can be assigned to multiple, but not all, spaces. For example, I would like iTunes to be in spaces 1,3, and 5 but not in 2,4 or 6. As

  • Need an iMovie 09 Recommendation

    On my computer, iMovie 09 is running over 100% CPU causing it to freeze up or not responding. I have the basic 2 gigs of RAM and have about 800MB of memory free. What could I do to fix this problem? I have a project in iMovie that is a little over an