URGENT: OES 11g Policy Management API Query

We are working on OES 11g environment. We have a requirement to create Application/Resoruce Types/Resources/POlicies (using a custom built UI) using OES Policy API. We are referring the OES Developer Guide http://docs.oracle.com/cd/E21764_01/security.1111/e14097/cons_policy_prog.htm#CHDFFDDI
We have tried creating an application using the below code snippet and it code is executing fine. To test it, we executed create application code and it threw error as duplicate as shown below.
oracle.security.jps.service.policystore.PolicyObjectAlreadyExistsException: Cannot create application policy context "Trading".
However the OES Admin console does not have the application created through java code. We have copied jps-config.xml and system-jazn-data.xml to the eclipse project where we are running the java code.
Do we need to add any other files/make anyother changes to the environment to have the policies/applications created through API reflects in OES Admin console?
Please help. It is very urgent.

Try a jps-config.xml like this:
<?xml version="1.0" encoding="UTF-8" standalone='yes'?>
<jpsConfig xmlns="http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd" schema-major-version="11" schema-minor-version="1">
<property name="oracle.security.jps.jaas.mode" value="off"/>
<serviceProviders>
<serviceProvider name="policy.rdbms" type="POLICY_STORE" class="oracle.security.jps.internal.policystore.OPSSPolicyStoreProvider" >
<property name="policystore.type" value="DB_ORACLE" />
</serviceProvider>
</serviceProviders>
<serviceInstances>
<serviceInstance provider="policy.rdbms" name="policystore.rdbms">
<property name="jdbc.driver" value="oracle.jdbc.driver.OracleDriver"/>
<property name="jdbc.url" value="jdbc:oracle:thin:@localhost:1521:orcl"/>
               <property name="jdbc.user" value="DEV_APM"/>
               <property name="jdbc.password" value="Passw0rd1"/>
               <property name="root.dn" value="cn=oes_domain,cn=JPSContext,cn=jpsroot"/>
</serviceInstance>
</serviceInstances>
<jpsContexts default="default">
<jpsContext name="default">
               <serviceInstanceRef ref="policystore.rdbms"/>
</jpsContext>
</jpsContexts>
</jpsConfig>
And update the jdbc connection values appropriately for your system.
Note that this is an insecure way because the password is stored inside this config file in plain text. A better way is to put the password into the wallet, but this should get you started.
Once you got this working you can replace the user and password properties with the following:
<property value="oes_sm_key" name="bootstrap.security.principal.key"/>
<property value="oes_sm_map" name="bootstrap.security.principal.map"/>
and copy the wallet (cwallet.sso) file

Similar Messages

  • Policy Manager API - The AccessGate is unable to contact any Access Servers

    Hello all,
    I am trying some samples to connect to OAM using policy manager api.
    I have the below mentioned code
    ObAccessManager am = new ObAccessManager();
    ObConfig.initialize();
    am.setAdmin("orcladmin", "welcome1");
    But when I run this code, I get an exception saying
    com.oblix.access.ObAccessException: The AccessGate is unable to contact any Access Servers.
    I have included AccessServerSDK paths in PATH,CLASSPATH and OBACCESS_INSTALL_DIR variables.
    and my ObAccessClient.xml file access server entry is as below
    <ValNameList
    xmlns="http://www.oblix.com"
    ListName="server1">
    <NameValPair
    ParamName="host"
    Value="son1891"></NameValPair>
    <NameValPair
    ParamName="port"
    Value="6035"></NameValPair>
    <NameValPair
    ParamName="numOfConnections"
    Value="1"></NameValPair>
    </ValNameList>
    I have spent a complete day on this, but still do not have a clue what is wrong.
    Please help me to solve this.
    Thanks
    Roopa.

    Ensure you have the following Env Var's set:
    CLASSPATH to \AccessServerSDK\oblix\lib\jobaccess.jar
    LD_LIBRARY_PATH to \AccessServerSDK\oblix\lib
    OBACCESS_INSTALL_DIR to \AccessServerSDK
    PATH to \AccessServerSDK\oblix\lib; \AccessServerSDK\oblix\tools
    POST_CLASSPATH to \AccessServerSDK\oblix\lib\jobaccess.jar
    In your AccessGate Definition, did you set the Access Management Service to On? The Communication Modes should be same for all the components. Also mind the time difference between all the systems. Anyway - May I know the objective behind the work with Policy Manager API ? Are you building a custom UI ?

  • Cannot locate policy manager query/update service

    Hi,
    I installed soa_server 11.1.1.4.0 on windows server 2003 machine, I got a weird issue while accessing the weblogic policy manager through em. I logged into em console, weblogic domain, domain, webservvice, policy throw this erro below
    "*Cannot locate policy manager query/update service. Policy manager service look up did not find a valid service, due to: Unable to connect to WS Policy Manager. <- oracle.wsm.policymanager.PolicyManagerException: WSM-02118 : The query service cannot be created. <- javax.naming.NameNotFoundException: While trying to lookup 'QueryService#oracle.wsm.policymanager.ejb.IStringQueryServiceRemote' didn't find subcontext 'QueryService#oracle'. Resolved ''; remaining name 'QueryService#oracle/wsm/policymanager/ejb/IStringQueryServiceRemote'*"
    even my wls-m is running , I can access the http://host/wls-pm.
    Last three days I have spend for this issue but no clue.I disabled SSL, enable with SSL host validation false but also get this error.Please sort out this issue.
    Thanks
    Govindan

    Problem solved.
    Soln:
    Given ip address in the Listen Address field of weblogic Admin and SOA server. :)
    Thanks
    Govindan P

  • Use oes management api get "No privilege" error

    Hi all,
    i try to use oes management api to manage my application's entitlements.
    but while i coding get a “No privilege” error , any suggest ?
    regards
    java code:
    RBAC_Manager mgr = null;
    RBAC_Context rbacCtx = null;
    mgr = new RBAC_Manager(new URL("https://10.1.18.4:7011/servlet/AxisServlet/blm"),"admin","password");
    rbacCtx = mgr.createContext();
    System.out.println("user -> " + rbacCtx.getLoginUser());
    ScopeManager scopeMgr = rbacCtx.getScopeManager();
    Organization o = scopeMgr.getRoot();
    rbacCtx.setScope(o);
    Scope s = rbacCtx.getScope();
    s = scopeMgr.getScope("ejianlong");
    rbacCtx.setScope(s);
    scopeMgr = rbacCtx.getScopeManager();
    scopeMgr.createApplication("jlerp_a");output:
    user -> //user/RootOrg!AdminDir/admin/
    com.bea.ales.management.exception.ManagementException: No privilege to create Application jlerp_a under RootOrg!ejianlong
         at com.bea.ales.management.ScopeManager.createApplication(ScopeManager.java:156)
         at com.jl.test.model.Class1.main(Class1.java:36)Edited by: Lighting Cui on 2011-9-12 下午5:34

    Have worked it out...
    In case anyone else has the same thing happening, the issue was with the external hard drive. I had read-only privileges while it was connected to my new MacBook. It's a Seagate GoFlex. Had to download the NTFS for Mac driver from their website
    http://www.seagate.com/au/en/support/external-hard-drives/desktop-hard-drives/ba ckup-plus-desk/ntfs-driver-for-mac-os-master-dl/
    and installed it on the laptop. Then I selected the GoFlex volume, Command I and changed the access to read and write. Problem solved.

  • OES 11g policies import error

    Hi All,
    I have exported all application policies using migrateSecurityStore from OES 11g DEV env. I want to import to new OES 11g env using migrateSecurityStore command. When I import it into new OES env, I am getting following exception.
    oracle.security.jps.service.policystore.PolicyStoreIncompatibleVersionException: JPS-06100: Policy Store version 11.0 and Oracle Platform Security Services Version 11.1.1.5.0 are not compatible.
    at oracle.security.jps.internal.policystore.ldap.LdapPolicyStore.getAdminManager(LdapPolicyStore.java:1267)
    at oracle.security.jps.internal.tools.utility.util.JpsHelper.isEmptyPolicyStore(JpsHelper.java:367)
    at oracle.security.jps.internal.tools.utility.destination.apibased.JpsDstPolicy.<init>(JpsDstPolicy.java:337)
    at oracle.security.jps.internal.tools.utility.destination.JpsInitializerDst.getDestinations(JpsInitializerDst.java:84)
    at oracle.security.jps.internal.tools.utility.JpsUtility.<init>(JpsUtility.java:63)
    at oracle.security.jps.internal.tools.utility.JpsUtilBackupRestorePolicyImpl.restoreAllPolicyData(JpsUtilBackupRestorePolicyImpl.java:119)
    at com.ticketmaster.platform.identity.importOES.OESImport.importXML(OESImport.java:53)
    at com.ticketmaster.platform.identity.importOES.OESImport.main(OESImport.java:147)
    Please let me know if you have any clue. Please note that this is very urgent. Any help is very much appreciated.
    Thanks
    Mahendra.

    Hi Mahendra,
    I am getting the same error and wonder if you have gotten a resolution for this.
    thanx
    David
    [email protected]

  • Not able to see the users in Authorization Policy Manager

    I have configured a OID provider in the myrealm of weblogic for OES Server. I also added the following lines to jps-config.xml
    <serviceInstance provider=”idstore.ldap.provider” name=”idstore.ldap”>
    <property value=”oracle.security.jps.wls.internal.idstore.WlsLdapIdStoreConfigProvider” name=”idstore.config.provider”/>
    <property value=”oracle.security.idm.providers.stdldap.JNDIPool” name=”CONNECTION_POOL_CLASS”/>
    <property name=”idstore.type” value=”OID”/>
    </serviceInstance>
    Even then I cannot see any of the users from the OID through application policy manager.
    Anybody aware of any other settings that need to be done ?
    oes server version is 11.1.1.6. and OID is 11.1.1.5.
    Any help will be appreciated.
    Edited by: ssarkar on May 10, 2012 1:15 PM

    externalize the users.

  • Strange error message when starting OHS2 after Policy Manager install

    We just installed the OAM 10.1.4.3 Policy Manager on OHS2 and when we restarted this error was posted to the logs
    /u01/app/itisora/product/OHS10.1.3/ohs/bin/apachectl startssl: execing httpd
    Syntax error on line 1322 of /u01/app/itisora/product/OHS10.1.3/ohs/conf/httpd.conf:
    API module structure `OBAccessManager' in file /u01/app/itisora/product/oam10.1.4/webcomponent/access/oblix/lib/webpluginsssl.so is garbled - perhaps this is not an Apache module
    DSO?
    We already installed and configured the WebPass on this http server. Has anyone seen this error?

    There was no transfer of files, the installer used the OHS11g policy manger install instead if the OHS2 10g install files

  • System management API

    Looking for system management API like FT-1800 CMS(Configuration Management System)
    This is very important facet to develop Telco market.
    Pls mail me directly. [email protected]

    Not sure if the attached VI will work across various Windows OS's since it uses a powershell command and I also don't know how well the command used will work across 32/64 bit applications...But, so far this little VI I came up with is returning the software that I want to query. Hope this is usefull for others and, as always, suggestions for improvement are welcomed!
    Tim Sileo
    RF Field Account Specialist
    National Instruments
    You don’t stop running because you get old. You get old because you stop running. -Jack Kirk, From "Born to Run" by Christopher McDougall.
    Attachments:
    NI_Software_Query(CMD).vi ‏12 KB

  • Work Manager API in Sun Java Application Server 8.1

    I am trying to build a parallel application using Work Manager api (javax.resource.spi.work.WorkManager;)
    I studied the Websphere implementation of WorkManager there you need to make JNDI lookup for work manager and then use it to submit the work.
    My question is if i make class which will implement the javax.resource.spi.work.WorkManager; interface and use that class to submit the work and execute it in parallel then will that class will handle the resource management and all j2ee services
    Do we have separate implementation of work manager API for Sun Java Application Server 8.1 (any jar like asynch.jar in IBM websphere) so that we will just create a work manager using admin console and make JNDI lookup and use it
    Please guide me

    Before I start, disclaimer -- I have no knowledge of Hibernate and the following comments are based on the stack trace you have included.
    I think your permissions might be set all right but you might have an error in the hibernate query. It looks like hibernate uses antlr to parse the queries. While parsing the query, antlr is encountering an exceptional condition and is trying to exit the VM (by calling System.exit()). Obviously, the hibernate code does not have that permission and therefore the exception is logged.
    My guess is if you fix the query such that hibernate/antlr can parse it, you will not run into this error.
    Hope this helps,

  • Identity Management Install: 11g - Start Managed Server wls_ods1 failed

    Hi All,
    I am installing OAM 10.1.4.3 with Oracle Fusion Middleware 11g. I had installed and configured Only Oracle Internet Directory in an Existing WebLogic Administration Domain success. However, when I was configuring Oracle Directory Services Manager in an Existing WebLogic Administration Domain, I start Managed Servers failed.
    C:\Program Files\Oracle\Inventory\logs\install2009-09-30_10-43-25AM.log
    *** Starting WLServers and Apps if Any ...
    In public start
    DEBUG: trying to start for first time
    *** ASWLServer.start ...
    *** getDomainRuntimeMBeanServerConnection ...
    *** Connecting to Domain runtime ...
    trying to connect to hostname.test.com 7001
    *** Successfully connected to the Domain Runtime ...
    *** getDomainRuntimeMBeanServerConnection ...
    *** Connecting to Domain runtime ...
    trying to connect to hostname.test.com 7001
    *** Successfully connected to the Domain Runtime ...
    oracle.as.provisioning.util.ConfigException: Error Starting Managed Server wls_ods1.
    Cause: An internal error has occured : Managed Server didn't start in RUNNING mode
    Action: See logs for more details.
         at oracle.as.provisioning.util.ConfigException.createConfigException(ConfigException.java:123)
         at oracle.as.provisioning.weblogic.ASWLServer._start(ASWLServer.java:1004)
         at oracle.as.provisioning.weblogic.ASWLServer.start(ASWLServer.java:898)
         at oracle.as.provisioning.engine.WorkFlowExecutor._startStopServersAndApps(WorkFlowExecutor.java:812)
         at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:481)
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:870)
         at oracle.as.idm.install.config.BootstrapConfigManager.doExecute(BootstrapConfigManager.java:1133)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:82)
         at java.lang.Thread.run(Thread.java:619)
    progress in calculate progress3
    In doCancel method ...
    Your help is very appreciated.thanks.
    Best,
    Sunny.Zhang
    Edited by: Sunny.Zhang on 2009-10-3 下午6:58

    Hi All,
    It is same case with me :( , Unable to start managed server wls_ods1 during OIM 11g installation.
    My base_domain is configured with the following
    1) Oracle JRF 11.1.1.0 (For ADF runtime)
    2) Oracle Identity Management - 11.1.1.2.0 (From OIM 11g)
    The list of things are not yet configured
    1) Oracle WSM Policy Manager - 11.1.1.0 (From OIM 11g)
    2) Oracle WSM Policy Manager - 11.1.1.0 (From oracle_common)
    3) Oracle JRF Webservices AsyncServices - 11.1.1.0(From OIM 11g)
    4) Oracle JRF Webservices AsyncServices - 11.1.1.0(From oracle_common)
    5) Oracle Enterprise Manager - 11.1.1.0 (From oracle_common)
    I'm not sure, if I've to extend my domain for the Oracle WSM Policy Manager and/or Oracle Enterprise Manager. Or I have to check something else.
    Please let me know if you have overcome this issue.
    Thanks,
    Harikiran

  • Renamed Domain - Clients Still "joined" to old domain, can't open Group Policy Management on Server

    Performed a Domain Rename as per the following instructions:
    http://www.bauer-power.net/2011/05/renaming-windows-domain-with-rendom.html#.U4OZRPmSyTM
    and then after these issues I have gone through the related technet articles starting here:
    http://technet.microsoft.com/en-us/library/cc794793(v=ws.10).aspx
    specifically the Fix Group Policy Objects and Links.
    But still I have the following issues:
    At least for group policy clients believe they are on the old domain - despite even having renamed the computers with the new domain name.
    When I perform a gpresult the output file shows as being connected to the old Domain - despite manually going into computer properties and renaming the computer with the new domain name...
    CN=Allister Wade,OU=Users,OU=Home,DC=NEWDOMAIN,DC=local
    Last time Group Policy was applied: 27/05/2014 at 5:36:31 AM
    Group Policy was applied from:      finch.newdomain.local
    Group Policy slow link threshold:   500 kbps
    Domain Name:                        OLDDOMAIN
    Domain Type:                        WindowsNT 4
    On the server I cannot open Group Policy Management on the single Domain Controller as it is looking for a DC on the old Domain:
    Even though it has listed the new domain in the root of the management console when I attempt to expand it out I am prompted:
    "The specified domain controller could not be contacted. This affects the following domain in the console.
    Domain: olddomain.local
    The error was:
    The specified domain either does not exist or could not be contacted."
    I can select to remove the domain from the console but this does nothing - as said it already shows the new domain in the console.
    Far as I am aware the clients should not even of needing renaming or changing the domain, but were having authentication issues before I did this. Not sure what I have done wrong here..?

    Client's NSLookup shows "UnKnown" as DNS Server so thought to check DNS out.
    This is result of dcdiag /test:DNS.
    Directory Server Diagnosis
    Performing initial setup:
       Trying to find home server...
       Home Server = finch
       * Identified AD Forest. 
       Done gathering initial info.
    Doing initial required tests
       Testing server: Default-First-Site-Name\FINCH
          Starting test: Connectivity
             ......................... FINCH passed test Connectivity
    Doing primary tests
       Testing server: Default-First-Site-Name\FINCH
          Starting test: DNS
             DNS Tests are running and not hung. Please wait a few minutes...
             ......................... FINCH passed test DNS
       Running partition tests on : ForestDnsZones
       Running partition tests on : DomainDnsZones
       Running partition tests on : Schema
       Running partition tests on : Configuration
       Running partition tests on : NEWDOMAIN
       Running enterprise tests on : NEWDOMAIN.local
          Starting test: DNS
             Test results for domain controllers:
                DC: finch.NEWDOMAIN.local
                Domain: NEWDOMAIN.local
                   TEST: Delegations (Del)
                      Error: DNS server: finch.olddomain.local. IP:<Unavailable>
                      [Missing glue A record]
             Summary of test results for DNS servers used by the above domain
             controllers:
                DNS server: 203.12.160.35 (<name unavailable>)
                   1 test failure on this DNS server
                   PTR record query for the 1.0.0.127.in-addr.arpa. failed on the DNS server 203.12.160.35               
             Summary of DNS test results:
                                                Auth Basc Forw Del  Dyn  RReg Ext
                Domain: NEWDOMAIN.local
                   finch                        PASS PASS PASS FAIL PASS PASS n/a  
             ......................... NEWDOMAIN.local failed test DNS

  • Rule to apply ldap group filter to allow access in OAM Policy Manager

    This may be pretty basic, but I'm trying to implement a rule in Policy Manager to allow access to a resource based on LDAP group membership. I can't figure out how to construct the ldap query. I'm using OID as the directory server.
    Does anybody know how to create an ldap query that will apply a group filter to authenticated?
    the format would be something like
    ldap:///dc=oracle,dc=com??sub?(......)
    thanks for any help!

    Mark,
    Do you by any chance know what we can include in our DBMS_LDAP statement to populate the OID for a new user creation to populate the obpasswordcreationdate as a part of the user creation.
    Here is what are running but since we moved to OBLIX, we don't know how to populate a new user?
    Here is part of our code using MOD_ADD.
    emp_vals(7) := null;
    DBMS_LDAP.populate_mod_array(emp_array,DBMS_LDAP.MOD_ADD,'obpasswordcreationdate',emp_vals);
    emp_vals(1) := 'top';
    emp_vals(2) := 'person';
    emp_vals(3) := 'organizationalPerson';
    emp_vals(4) := 'inetOrgPerson';
    emp_vals(5) := 'orcluser';
    emp_vals(6) := 'orcluserv2';
    emp_vals(7) := 'oblixPersonPwdPolicy';
    After it runs, it send me an error no data found.
    Thx so much in advance. Not getting any answers.
    KA

  • Automate SQL 2012 policy management with powershell

    Hello.
    I´m trying to automate policy management via Powershell and I´m running into some problems. What I want to do is register a SQL 2012 server to a group in a CMS server and then import a pre defined policy into that server. The first part where I register
    the client server is no problem but I cant figure out how to import the policy.
    Has anyone else run into this problem?
    Regards.
    /Niklas

    Of course!
    First thing you need to do if it is not already done is to register the CMS server. 
    Set-Location "SQLSERVER:\SQLRegistration\Central Management Server Group"
    New-Item -Name $CMSServer -ItemType registration -Value "server=$CMSServer;integrated security=true"
    Second you want to register the client server into a CMS server group.
    Set-Location "SQLSERVER:\SQLRegistration\Central Management Server Group\$CMSServer\SQL Server Group"
    New-Item -Name $serverToRegister.Replace("\","`$") -ItemType registration -Value "server=$serverToRegister;integrated security=true"
    When this is done I want to create my policy and schedule on all my target machines. I defined my policies directly in my powershell script so if
    you want to import the exported policies you probably need to extract information from the XML files.
    This example creates a schedule called hisec that executes daily at 1 am.
    $createSchedulecommand = @"
    DECLARE @start_date varchar(8) = convert(varchar(8), DATEADD(day,-1,GETDATE()), 112)
    EXEC msdb.dbo.sp_add_schedule  @schedule_name = N'hisec',
    @enabled = 1, @freq_type = 4, @freq_interval = 1, @active_start_date = @start_date,
    @active_start_time = 010000; "@ 
    Invoke-Sqlcmd -Query $createSchedulecommand -ServerInstance $targetInstanceName -Database "msdb" 
    Next thing is to create my policy. This example checks if XPCmdShell is enabled.
    $createPolicyCommand = @"
    DECLARE @object_SET_id int
    EXEC msdb.dbo.sp_syspolicy_add_object_SET
    @object_SET_name=N'hisec_ObjectSET',
    @facet=N'IServerSecurityFacet',
    @object_SET_id=@object_SET_id OUTPUT;
    DECLARE @target_SET_id int
    EXEC msdb.dbo.sp_syspolicy_add_target_SET
    @object_SET_name=N'hisec_ObjectSET',
    @type_skeleton=N'Server',
    @type=N'SERVER',
    @enabled=True,
    @target_SET_id=@target_SET_id OUTPUT;
    GO
    DECLARE @uid varchar(40)
    SET @uid = (select schedule_uid from msdb..sysschedules where name = 'hisec')
    DECLARE @policy_id int
    EXEC msdb.dbo.sp_syspolicy_add_policy
    @name=N'hisec',
    @condition_name=N'ServerSecurity',
    @policy_category=N'',
    @description=N'',
    @help_text=N'',
    @help_link=N'',
    @schedule_uid=@uid,
    @EXECution_mode=4,
    @is_enabled=True,
    @policy_id=@policy_id OUTPUT,
    @root_condition_name=N'',
    @object_SET=N'hisec_ObjectSET';
    GO
    Invoke-Sqlcmd -Query $createPolicyCommand -ServerInstance $targetInstanceName
    -Database "msdb"
    Hope this can help you somehow.

  • EWS Managed API: Email sender name incorrect if loading properties of multiple emails and several emails have same email address (but different names)

    Hi,
    I have an issue using the Exchange Web Services Managed API. I'm essentially implementing an 'inbox', and am essentially using two calls:
    folder.FindItems(filter, view) with the view set up with the 'idonly' property.
    The returns a 'FindItemResults<>' object containing a set of items.
    And then calling service.LoadPropertiesForItems(items, props), where the props contains all 'first class properties', which includes the sender details.
    Now, the inbox contains several emails from the same email address but with different displaynames.
    E.g. There may be one email from "Bob <[email protected]>" and another email from "Alice <[email protected]>" and another email from "Charlie <[email protected]>" etc.
    The issue is that in the information that EWS returns from the call to LoadPropertiesForItems, every email ends up with the same sender name (from the first one in the list)!
    i.e. When I enumerate through the returned items, the item.Sender.Name will always be"Bob" for every email where Sender.Address is [email protected] 
    I have debugged this with a http sniffer just to ensure that it really is the EWS coming back with this information rather than anything in the managed layer.
    Is this a known issue? How can I work around this (without querying every single email for the sender name individually, as that would be too slow)?
    Thanks

    Hi Venkat,
    Thanks for the reply.
    The scenario is that the client receives emails from a (3rd-party) automated system. The email address from this automated system is always "noreply@<blah.com>", while the display name is used to differentiate the actual sender.
    I suspect that this kind of system will likely become more widely used, and so for us will increase in priority (obviously its a priority for our client already)!
    Just for the record, if this is a known issue do you have a bug number or equivalent for it? (I tried to search but couldn't locate it).

  • OES 11g R2 Branding

    Hi,
    I am trying for Branding in OES 11g R2. I am following the Oracle Documentation.
    I am struck in the redeployment of the changes. Where i need to redeploy?? Need to deploy in Weblogic or it is restart of the APM Managed Server??
    Thanks,
    Sandeep D.
    Edited by: Sandy on Sep 13, 2012 12:36 AM

    Everything is deployed in weblogic as ear or war file. Check deployments section, find your ear/war location, go to that location, take backup of existing file and replace your file, deploy it. Restart server.
    regards,
    GP

Maybe you are looking for

  • How to delete multiple sections?

    I imported a Pages doc and now it seems its too big since iBooks keeps on crashing... Size of the file is about 65M, iPad (1), I am trying to reduce the size of this doc by deleting "sections" but I can only delete one section at a time. Is there a w

  • Regarding "Update .. From Table" Statement

    Hi, I have an existing piece of code which I'm trying to understand. There are two scenarios regarding the UPDATE statement. 1) Scenario 1: There exists a database table with around 100 or more fields/columns [Eg: DB_TABLE1]. An Internal Table exists

  • Some quesionts about message mapping

    becase I need use some pics to explain my question, so I post the question to my googlepage. <a href="http://wanghui1225.googlepages.com/xi_question_1">http://wanghui1225.googlepages.com/xi_question_1</a> Regards, Hui Message was edited by: Wang Hui

  • TS1363 I just purchased a new iPod and I'm asked to uninstall and reinstall iTunes. What will happen to the 27GB of music already on my Itune library?

    I've just purchased a new iPod and I;m told to uninstall and reinstall iTunes so the new nano can be recognized. What will happeen to the 27GB of music already in my Itunes library?

  • Can't open domain file

    I was saving my iWeb project, when the application suddenly shut down unexpectedly. Now when I try to restart iWeb, it says it can't open my Domain file. I can see the Domain file, right where it's supposed to be, I just can't get iWeb to open it up.