Send Remote Content as a mail attachment in Salesforce


Hi All, Recently I encountered a situation where I need to fetch some content present in a remote server and need to send this content to salesforce users as attachment in mail.  Without much thinking I started Googling but I didn’t find any soution for this. Finally I came up with my own solution. I […]

,

Leave a comment

SAML 2 doc links


http://www.oasis-open.org/sta ndards#samlv2.0

Leave a comment

Getting All Field Names and their corresponding values using Java Reflection


Hi All, Today I am posting a simple source code to get all field names and their corresponding valuea present in a java class. Here I am using a simple java Reflection concept. Using java reflection we can access even private fields and can modify their vales. For more details on this you can refer […]

, ,

1 Comment

Calculating MD5 hash for a File


Below Code can be used for calculating md5 hash of a file. It uses 2 libraries from apache commons project. One is common-codec and other one is commons-io. package com.wordpress.narendrakadali.utils; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import org.apache.commons.io.IOUtils; /** * @author narendra */ public class Main { /** * @param args */ public […]

Leave a comment


2 Comments

Sign SAML Assertion using OpenSAML


Hi All, After long time I am posting some useful stuff to my blog. In this post I am trying to write code for signign assertion which is generated by OpenSAML ans signing is aslo performed by OpenSAML API’s. Generating SAML assertion code can be found at http://blog.keksrolle.de/2010/07/27/how-to-create-a-valid-saml-2-0-assertion-with-opensaml-for-java.html The code below uses keystore and x509 […]

, , , ,

20 Comments

YouTube – Transformers 3 Dark of the Moon Trailer 3 Official (HD)


YouTube – Transformers 3 Dark of the Moon Trailer 3 Official (HD).

,

Leave a comment

Code for listing classes present in a Jar file


Leave a comment

Deploying POJO Class as a Web Service using Axis2


  Under construction……………………………………………………………………………………….     Hi Everybody. This is my first post in my blog. This post contains how, we can use Axis2 framework for implementing web services. First of all I will give you brief introduction about what is Axis2 and advantages of using Axis2 over other frameworks like Spring Web services, Metro web […]

Leave a comment

Hello world!


Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!

Leave a comment

Create your own website, free on WordPress.com.Create your own website.
Start free