Tuesday, February 21, 2012

How to Surrender ICICI prudential Life Insurance(ULIP)

How to Surrender ICICI prudential Life Insurance       (ULIP)


If you Opted for ICICI Life Insurance (ULIP) for Tax Saving 80C, there is a lock in period of 3 years , so every year you need to pay the premium until 3 years , after completion of 3 years you are eligible for full Withdrawal or Partial withdrawal, for full Withdrawal ICICI charges 2% on the outstanding amount.


Fill up the Payout request for Surrender / Partial Withdrawal form from the ICICI Prulife site ICICI Prulife Surrender Form




Following are the Mandatory documents for withdrawal


1) Self attested Photo-ID proof (Driving License/Passport..)
2) Copy of signed cancelled cheque ( amount will be transferred to this account)
3) Original Policy Certificate
4) ICICI Prulife Surrender Form


above 4 documents are mandatory , and this needs to be submitted in any ICICI  Prulife branch.



If the application for re-instatement and surrender is received on the same day, first the policy will be re-instated and then the surrender will be processed on the next working day  and the NAV of the date of processing will be applicable.



Monday, February 20, 2012

Configuration: Android Mobile with Oracle Beehive for Emails

How to Configure Android Mobile with Oracle Beehive for Email


This blog will provide basic configuration details to connect Android Mobile to Oracle Beehive and Send/Receive Emails.


In my previous blog Thunderbird with Oracle Beehive i described how to configure Mozilla Thunderbird with Oracle Beehive for
Send/Receive Emails,Calendar Data,Address book(Contacts).


Now i will show how to configure Android Mobile(Samsung Galaxy S2) with Oracle Beehive to Send/Receive Emails.


Select Email application --> Add account


Email address : abc.xyz@oracle.com
Password :  Welcome1


Check Set as premium account and Send email from this account by default (if you have configured android mobile for only one Email account, generally you can configure to Gmail,yahoo mail also).


Select Manual Setup button and Choose IMAP account.


User name : abc.xyz@oracle.com
Password : Welcome1
IMAP server : hostname.com
Security type : SSL
Port : 993


After IMAP settings properly configured, SMTP settings needs to be configured 


SMTP server : hostname.com
Security type : SSL
Port : 465


Once above settings are completed , you can Send/Receive Emails from your Android Mobile.



Configuration: Mozilla Thunderbird with Oracle Beehive Server

How to Configure Thunderbird to receive Emails and Calendar data from Oracle Beehive Server


Oracle Beehive is the next generation of Oracle’s enterprise collaboration technologies.It provides a unified collaboration application and platform comprised of a comprehensive set of integrated Java-based services, offering a new paradigm for enterprise collaboration solutions.

Oracle Beehive unifies common yet typically disjointed collaborative services, such as e-mail, time management, instant messaging, and content management, among others, and delivers them through standard protocol clients, integrated Web services, and familiar desktop tools such as Microsoft Outlook. This unified offering enables teams, individuals, and organizations to more easily collaborate, generate new information, make timely decisions, and, ultimately, take action.


Users can access Oracle Beehive with standard protocol clients based on Web-based Distributed Authoring and Versioning (WebDAV), Extensible Messaging and Presence Protocol (XMPP), Internet Message Access Protocol (IMAP), Simple Mail Transfer Protocol (SMTP), and Calendaring Extensions to WebDAV (CalDAV), to name a few. Oracle Beehive supports many proprietary and open source clients including Apple Mail, Microsoft Windows WebFolders, Mozilla Thunderbird, and Pidgin, among others.

Using Thunderbird we can connect to Beehive and send/Receive mails,Calendar information,tasks,Addressbook (contacts).

Using Thunderbird we can Send/Receive Emails, but for Calendar data and Addressbook we need to Install 2 Add-ons

1) Oracle Beehive Extensions for Thundrbird (OBET) ---> 
Addressbook CardDav,

2) Lightning  ---> Calendar Information and Tasks.

Configuration:

Tools --> Account Settings

Account Actions --> Add Mail Account  .. fill in the details

Your name : abc
Email address : abc.xyz@oracle.com
Password : Welcome1

Check the Remember Password.

Click Continue button ... during process it displays Manual Configuration button, select this button for configuring Incoming and Outgoing Server host names and ports and Authentication details.

Incoming Server (IMAP) : 
Server Type: IMAP mail Server
Server Name: hostname.com
Port: Default IMAP port (993)
Connection Security :  SSL/TLS
Authentication Method : Normal Password

Outgoing Server (SMTP) :
Description : SMTP Configuration
Server Name: hostname.com
Port: Default SMTP port (465)

Connection Security :  SSL/TLS
Authentication Method : Normal Password

User Name: abc.xyz@oracle.com

IMAP Configuration:



SMTP Configuration : 


























Sunday, February 19, 2012

WCF REST POST Example

In this article i will demonstrate simple Windows Communication Foundation (WCF) 3.5 Rest example which uses Http POST  which consumes Json Object and returns Json object.


Windows Communication Foundation is a part of the .NET Framework that provides a unified programming model for rapidly building service-oriented applications (SOA) that communicate across the web and the enterprise.Following classes are of great interest when programming REST services



WebGetAttribute – Handling the GET HTTP Verb
WebInvokeAttribute – Handling the other HTTP Verbs (POST, DELETE, PUT). 
WebHttpBinding – The WCF binding that ties it together.
WebServiceHost – An extension of the ServiceHost class for hosting REST Services.


In WCF Custom data types are represented using DataContract and fields are represented using DataMember in DataContract.cs



[DataContract]
public class DataContract
{
    [DataMember]
    public string name;
    [DataMember]
    public int age;
    [DataMember]
    public string location;
}
Define the following operation in the Interface
[OperationContract]
[WebInvoke(
    Method = "POST", 
    UriTemplate = "person", 
    ResponseFormat=WebMessageFormat.Json, 
    RequestFormat=WebMessageFormat.Json)]
string CreatePerson(Person person);
}

public class Person: Iperson
 {
    public string CreatePerson(Person person)
     {
        return "Name : " + person.name + "Age : " + person.age + "location : "+ person.location;
     }
 }
Http Method is POST so we cannot use browser to send post message so use fiddler to send post message.







to send this request click execute button. WCF Rest service will return the json response for the person raghu.

How to Publish presence of a User in Lync with out knowing credential using UCMA 3.0

Publishing User Presence on to Lync Server Using UCMA 3.0 with out knowing Credentials




If you are building Trusted Server application using UCMA 3.0 and if you want to publish the presence of a user on to Lync server 2010  with out knowing his credentials is possible using UserEndpoint Class.


If you use Application Endpoint you can impersonate as a different user and you can make IM call, Audio/Video call  advantage using Application Endpoint is one endpoint will act on behalf of all users but where as if you use application endpoint you require n objects to act on behalf of n users.Disadvantage using Application Endpoint is you cannot publish the presence of a user and you cannot retrieve the contact list(Roster) of a user. To over come this we will go with UserEndpoint but this requires Credential of a user where as application endpoint doesnot require to subscribe or to send IM or Audio/Video calls.


If your requirement is to develop UCMA 3.0 application for Lync Server 2010 and publish presence of a user with out the knowledge of his password then you can use Trusted Server Platform settings and UserEndpoint


Follow the steps stated below


1) Create ServerPlatformSettings object



 // Name of this application, to be used as the outgoing user agent string in headers
     private static string _applicationUserAgent = "How2_UCMA20_AppProvisioning";
   
 // FQDN of the machine where the application is deployed, called "Server FQDN" in AppProvisoner.
     private static string _localHost = "TS.Fabrikam.com";
 // Port on which your application will listen, called "Listening Port" in AppProvisioner.
     private static int _port = 6000;
 // Trusted application GRUU for your application, called "Gruu" in Approvisioner.
  10:          private static string _gruu = "sip:TS.Fabrikam.com@Fabrikam.com;gruu;opaque=srvr:JimDaly_LabApp:drb9DrwtxkuUMmKwz3MFTQAA";
  

ServerPlatformSettings settings = new ServerPlatformSettings(_applicationUserAgent,_localHost, _port, _gruu,tlsCerts[0]);

_collabPlatform = new CollaborationPlatform(settings);

 _userEndpoint = new UserEndpoint(_collabPlatform); 


This does not require password other wise we require user password for initializing userendpoint





  • private Microsoft.Rtc.Signaling.SipAuthenticationProtocols _authProtocol = Microsoft.Rtc.Signaling.SipAuthenticationProtocols.Ntlm;
  • _collabPlatform.AllowedAuthenticationProtocol = _authProtocol;

_userEnpointSettings = new UserEnpointSetttings("owneruri","servername","serverport);

_userEndPoint = new UserEndpoint(_collabPlatform,_userEndpointSettings);

TLSException While Deploying UCMA 3.0 Application On IIS

Remote Deployment of UCMA 3.0  application on to Microsoft IIS:


If You are deploying UCMA 3.0 Application on to IIS Server rather than executing from Visual Studio  .

One of the most common issues you are likely to run into in doing UCMA 3.0 development is the following exception:


Microsoft.Rtc.Internal.Sip.TLSException: CertificateInfoNative::AcquireCredentialsHandle() failed; 




Most often, it means that the process does not have permission to access the certificate you are using to authenticate for transport layer security (TLS). 


There are a number of reasons why this might happen.If you are debugging your application in Visual Studio, make sure you are running Visual Studio as an administrator. You can do this by right-clicking on Visual Studio in the start menu and choosing Run as administrator.


If it’s a console application or a Windows service you’re trying to run, make sure the account you are running it under has permission to access the private key of your certificate. Copy the certificates to Trusted Root Certification Authorities from Personal folder




For websites running in IIS, you may need to use WinHttpCertCfg.exe to grant access to the private key.


Follow the steps as stated below



1. Right-click on the newly created application and then choose "Edit Permissions" to open the Properties dialog.
2. In the Security tab, edit permissions and grant user "Everyone" read permission.
Even after above steps, if it is not working then Download the WinHttpCertCfg.exe utility




winhttpcertcfg -g -c LOCAL_MACHINE\Root -s "apphost.rtc.ca.oracle.com" -a RTC\EveryOne 


where apphost.rtc.ca.oracle.com is the hostname of the server where UCMA is going to be deployed.



C:\Program Files (x86)\Windows Resource Kits\Tools>winhttpcertcfg.exe -g -c
  LOCAL_MACHINE\Root -s "adapter.rtc.ca.oracle.com" -a RTC\Everyone
Microsoft (R) WinHTTP Certificate Configuration Tool
Copyright (C) Microsoft Corporation 2001.


Matching certificate:
CN=adapter.rtc.ca.oracle.com


Granting private key access for account:
    \Everyone



For more Information on WinHttpCertCfg.exe you can refer to the following link


http://msdn.microsoft.com/en-us/library/aa384088(VS.85).aspx


Popular Posts