tag:blogger.com,1999:blog-41835331731696972012024-02-06T19:48:45.446-08:00Read from SriniSrinihttp://www.blogger.com/profile/16066404098542349956noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-4183533173169697201.post-5167193931347096312012-02-13T08:12:00.000-08:002012-02-13T10:23:45.045-08:00Time Zone conversions in Oracle SOA 10g BPEL process<div style="font-family: Georgia, serif; font-size: 100%; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; "><span >Date/Time conversion from one timezone to another - I feel this is not a rare requirement for any global customer. </span></div><div style="font-family: Georgia, serif; font-size: 100%; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; "><span ><br /></span></div><div style="font-family: Georgia, serif; font-size: 100%; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; "><span >To simplify the post here i am giving</span></div><div style="font-family: Georgia, serif; font-size: 100%; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; "><span ><br /></span></div><span><span style="font-size: 100%;" >Problem Statement: How to change the date/time in the BPEL request to a date/time with different timezone?</span></span><div style="font-family: Georgia, serif; font-size: 100%; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; "><span ><br /></span></div><div style="font-family: Georgia, serif; font-size: 100%; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; "><span >Solution: Use Oracle SOA 10g BPEL's 'Java Embedded' activity and write java code for date conversion.</span></div><div style="font-family: Georgia, serif; font-size: 100%; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; "><span ><br /></span></div><div style="font-family: Georgia, serif; font-size: 100%; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; "><span >Though i am referring particularly Oracle SOA 10g here the idea can be used in any "JAVA" base SOA tool ( like JCAPA, Open ESB , etc...) if it allows a Java coding in their BPEL based interface development(OR in any form of interface development). </span></div><div style="font-family: Georgia, serif; font-size: 100%; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; "><span ><br /></span></div><div style="font-family: Georgia, serif; font-size: 100%; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; "><span >Here are the steps to follow</span></div><div style="font-family: Georgia, serif; font-size: 100%; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; "><span ><br /></span></div><div style="font-family: Georgia, serif; font-size: 100%; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; "><span >1.) Read input date/time value from the BPEL input message and convert it to java.lang.String Object</span></div><div style="font-family: Georgia, serif; font-size: 100%; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; "><span ><br /></span></div><div><span ><span><span style="font-size: 100%;">2.) C</span></span><span style="font-family: Georgia, serif; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size: 100%; ">reate two java.text.DateFormat objects one with the source timezone format (let us say the variable name is '</span><span>oSourceDtFormat') </span><span style="font-family: Georgia, serif; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size: 100%; ">and second with target timezone format ( let us say the variable name is '</span><span>oTargetDtFormat' )</span></span></div><div><span ><br /></span></div><div style="font-family: Georgia, serif; font-size: 100%; font-variant: normal; font-weight: normal; line-height: normal; "><span ><span style="font-style: normal; font-size: 100%; ">3.) </span><span style="font-size: 100%; ">Parse the date/time String to java.util.Date Object using oSourceDtFormat.parse("<i>input date/time String</i>") method</span></span></div><div style="font-family: Georgia, serif; font-size: 100%; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; "><span style="font-size: 100%; " ><br /></span></div><div style="font-family: Georgia, serif; font-size: 100%; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; "><span >4.) Format the Date object in Step 3 in to the target date/time format, using oTargetDtFormat.<span style="font-size: 100%; ">format() method, it returns the required date/time in String format.</span></span></div><div style="font-family: Georgia, serif; font-size: 100%; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; "><span ><br /></span></div><div style="font-family: Georgia, serif; font-size: 100%; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; "><span style="font-size: 100%; " ><br /></span></div><div style="font-family: Georgia, serif; font-size: 100%; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; "><span style="font-size: 100%; " >Here is the pseudo code. that can be used in Oracle SOA 10g 'Embedded Java' activity</span></div><div style="font-family: Georgia, serif; font-size: 100%; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; "><span style="font-size: 100%; "><br /></span></div><div style="font-family: Georgia, serif; font-size: 100%; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; "><span style="font-size: 100%; "><br /></span></div><div><span ><i>String sInputTime=(String)getVariableData("sourceDateTime");</i></span></div><div><span ><span> //Assuming the variable '</span><span style="font-family: Georgia, serif; ">sourceDateTime' is holding </span><span style="font-family: Georgia, serif; ">input date/time value</span></span></div><div><span ><br /></span></div><div><span><div><span ><i><span>java.util.TimeZone oTargetTZ = java.util.TimeZone.getTimeZone("CST");</span></i><span class="Apple-tab-span" style="white-space: pre; "> </span> </span></div><div><span >//Assuming the target Time Zone is 'CST' </span></div><div><span > </span></div><div><span ><i>java.text.DateFormat oSourceDtFormat = new java.text.SimpleDateFormat("yyyyMMdd hh:mm a z");</i></span></div><div><span >//20100923 01:00 PM CDT assume the input date/time has timeZone component </span></div><div><span ><br /></span></div><div><span ><i>java.text.DateFormat oTargetDtFormat = new java.text.SimpleDateFormat("MM/dd/yyyy HH:mm:ss");</i></span></div><div><span >//target date/time format "yyyy/MM/dd HH:mm"); </span></div><div><span ><br /></span></div><div><div><span ><i>oTargetDtFormat.setTimeZone(oTargetTZ);</i></span></div><span >//Set the time zone to target time </span></div><div><span ><span class="Apple-tab-span" style="white-space:pre"> </span> </span></div><div><span ><i>java.util.Date oDate = null; </i></span></div><div><span ><i><br /></i></span></div><div><div><i><span >try{ </span></i></div><div><i><span > oDate = (java.util.Date)oSourceDtFormat.parse(sInputTime); </span></i></div><div><div><i><span >try{ </span></i></div><div><i><span > oDate = (java.util.Date)oSourceDtFormat.parse(sInputTime); </span></i></div><div><i><span > java.lang.String sSourceTime = oSourceDtFormat.format(oDate); </span></i></div><div><span > <i> </i><i>addAuditTrailEntry("Input bid-date-time is ::", sSourceTime);</i><span style="font-style: italic; "> </span></span></div><div><i><span ><br /></span></i></div><div><div><i><span > java.lang.String sTargetTime = oTargetDtFormat.format(oDate); </span></i></div><div><i><span > setVariableData("targetDateTime", sTargetTime);</span></i></div><div><span >//Assuming the 'targetDateTime is a variable in BPEL process<span style="font-style: italic; "> </span></span></div><div><i><span > addAuditTrailEntry("Date/Time in target timezone ::", sTargetTime); </span></i></div></div><div><i><span ><br /></span></i></div><div><i><span > }catch(Exception e){ </span></i></div><div><i><span ><span class="Apple-tab-span" style="white-space:pre"> </span>addAuditTrailEntry(e);<span class="Apple-tab-span" style="white-space:pre"> </span> </span></i></div><div><i><span > } </span></i></div><div style="color: rgb(51, 102, 255); "><br /></div><div style="color: rgb(51, 102, 255); "> </div></div></div></span></div><div style="font-family: Georgia, serif; font-size: 100%; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; ">Hope this helps..................</div><div style="font-family: Georgia, serif; font-size: 100%; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; "><br /></div><div style="font-family: Georgia, serif; font-size: 100%; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; "><br /></div><div style="font-family: Georgia, serif; font-size: 100%; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; "><br /></div><div style="font-family: Georgia, serif; font-size: 100%; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; "><br /></div>Srinihttp://www.blogger.com/profile/16066404098542349956noreply@blogger.com0tag:blogger.com,1999:blog-4183533173169697201.post-83521278288816750732009-01-19T03:50:00.000-08:002009-01-19T03:54:26.713-08:00Obama's Presidential InaugurationWatch it here.<br /><br /><object width="512" height="296"><param name="movie" value="http://www.hulu.com/live/embed/kqDzjGqsvKQZKY1CUG_aDSkM_bxqboC5"><embed src="http://www.hulu.com/live/embed/kqDzjGqsvKQZKY1CUG_aDSkM_bxqboC5" type="application/x-shockwave-flash" width="512" height="296"></embed></object>Srinihttp://www.blogger.com/profile/16066404098542349956noreply@blogger.com0tag:blogger.com,1999:blog-4183533173169697201.post-11054590502784320292009-01-02T01:39:00.000-08:002009-01-05T00:01:32.782-08:00Sun Certified Integrator for Identity Manager 7.1<span style="color: rgb(51, 51, 51);font-family:courier new;" >I thought of testing my Luck and doing some adventurous thing on 31st Dec 2008-as a final thing I could in the year :-) and I decided to write Sun Certified Integrator for Identity Manager 7.1 exam with out having even a single project experience on IDM. Thinking I am crazy? :-) Not really, there is one more reason for that- I just wanted to utilize my Sun certification voucher which is going to expire on 31st Dec 2008.</span><br /><br /><span></span><br /><br /><span style="color: rgb(51, 51, 51);font-family:courier new;" >My overall opinion on the exam is “It can be cracked”. Here is my experience; the exam contains total 56 multiple choice questions out of which we have to answer 43% of questions correctly to pass the exam, are you going to write this exam in near future? here are some points that can help you in the exam preparation.</span><br /><br /><ol style="color: rgb(51, 51, 51);font-family:courier new;"><li>There are around 6 to 7 questions on <span style="font-weight: bold;">EXPRESS language</span>, the questions would be like asking for the syntax errors in a given code snippet, asking for the output of a given code snippet etc.. I feel spending considerable preparation time on EXPRESS language would be a good idea.</li><br /><br /><li>There are around 5 to 6 questions on SPML, SPML I mean both SPML1.0 and SPML2.0. The questions would be on the differences between SPML1.0 and SPML2.0, <span style="font-weight: bold;">what are the SPML capabilities supported by Sun Identity Manager and also on SPML API</span>.</li><br /><br /><li>There are some questions on SPE; I feel the first point of contact for SPE preparation would be idmspe-refkit.zip that comes with the IDM installation. Of course preparation from other sources will always help. The questions I have got are like <span style="font-weight: bold;">asking for the output of a given code snippet and how to invoke a method from the EXPRESS code</span> etc..</li><br /><br /><li>Most of the questions i have got are from real time scenarios, meaning given a client’s problem scenario which action would be an appropriate to solve the problem. I feel having a full project life cycle experience (i.e., right from the requirements gathering to deployment in production) would be the only way to correctly answer 100% of these questions. This section also includes the experience on development estimations (Question is something like ‘<span style="font-weight: bold;">which of the following tasks can be delivered quickly?</span>’).</li><br /><br /><li>There are some questions on IDM concepts like ‘Delegated administration’, ‘Password Sync’, ‘Identity Sync’, ’Rules’, ‘Forms’, ‘Workflows’, ‘variables’ (in Forms, Rules and WFs), ‘Controlled Organizations’ and ‘Capabilities’, etc..</li><br /><br /><li>Also there are some questions on ‘Real time Performance issues’. The question I have got is like ‘<span style="font-weight: bold;">The client noticed that a workflow is causing a delay in application response time, which of the following could improve the performance?</span>’, etc..</li><br /></ol><br /><span style="color: rgb(51, 51, 51);font-family:arial;" >These are the points I could make out of my experience, if anyone has some additional points to add please feel free to put them in your comments.</span>Srinihttp://www.blogger.com/profile/16066404098542349956noreply@blogger.com2tag:blogger.com,1999:blog-4183533173169697201.post-78381983557309643302008-11-03T22:57:00.000-08:002008-11-04T01:47:43.019-08:00Getting started with OpenSSO<span style="font-family:arial;">Few days back i have started reading about OpenSSO. OpenSSO is Sun's open Web access management project that's based on the Sun Java System Access Manager source code. Future versions of Sun Java System Access Manager will be built from OpenSSO. After getting a basic idea of OpenSSO i have followed a four part article given at </span><a style="font-family: verdana;" href="http://developers.sun.com/identity/reference/techart/id-svcs.html">Sun Developer Network</a><span style="font-family:arial;"> to get a good feel of developing secure web application using OpenSSO.<br /><br /></span><span style="font-family:verdana;"> </span><span style="font-family:arial;">Below are the steps to successfully complete the exercises given at </span><a style="font-family: verdana;" href="http://developers.sun.com/identity/reference/techart/id-svcs.html">http://developers.sun.com/identity/reference/techart/id-svcs.html</a><span style="font-family:verdana;"><br /><br /></span><ol style="font-family: verdana;"><li>Follow the steps given at <a href="http://developers.sun.com/identity/reference/techart/opensso-glassfish.html">http://developers.sun.com/identity/reference/techart/opensso-glassfish.html</a> to download and deploy the OpenSSO on Glassfish Application Server. (I have used OpenSSO V1 Build 5 Zip to complete the exercises.)</li><li> Follow the steps given for each one of the 4 exercises given at <a href="http://developers.sun.com/identity/reference/techart/id-svcs.html">http://developers.sun.com/identity/reference/techart/id-svcs.html</a>. The steps in each exercise are in detail and self explanatory. Below are those 4 exercises.</li></ol><span style="font-family:arial;"><span style="font-weight: bold; color: rgb(0, 153, 0);">Exercise 1:-</span><br /><br /><span style="font-weight: bold;"><span style="color: rgb(255, 102, 0);">Securing Applications With Identity Services, Part 1</span>:</span> Authentication</span><span style="font-family:arial;">Through an example of a client web application(IdSvcsClient) built with the </span><a style="font-family: verdana;" href="http://netbeans.org/">NetBeans IDE</a><span style="font-family:arial;"> and deployed on </span><a style="font-family: verdana;" href="https://glassfish.dev.java.net/">GlassFish Application Server</a><span style="font-family:arial;">, this article, Part 1 of a series, shows you how to configure OpenSSO so as to authenticate—by means of identity services—users who access protected resources.<br /><br /></span><span style="font-weight: bold; color: rgb(0, 153, 0);font-family:arial;" >Exercise 2:- </span><br /><br /><span style="font-family:arial;"><span style="font-weight: bold;"><span style="color: rgb(255, 102, 0);">Securing Applications With Identity Services, Part 2</span>:</span> Authorization</span><span style="font-family:arial;">Here in Part 2, again with IdSvcsClient, an example client application built with the </span><a style="font-family: verdana;" href="http://netbeans.org/">NetBeans IDE</a><span style="font-family:arial;">, you learn how to further configure OpenSSO so as to allow authenticated users to perform tasks for which they have been authorized.</span><span style="font-family:arial;"><br /><br /></span><span style="font-weight: bold; color: rgb(0, 153, 0);font-family:arial;" >Exercise 3:- </span><br /><br /><span style="font-family:arial;"><span style="font-weight: bold;"><span style="color: rgb(255, 102, 0);">Securing Applications With Identity Services, Part 3</span>:</span> User Attributes</span><span style="font-family:arial;">In this exercise the task of obtaining the attributes of users whose tokens are passed in service calls will be handled. User attributes are also called profile attributes, This article, Part 3 of the series, describes how to fetch user attributes by means of the attribute service, still with IdSvcsClient as an example.</span><span style="font-family:arial;"><br /><br /></span><span style="font-weight: bold; color: rgb(0, 153, 0);font-family:arial;" >Exercise 4:- </span><br /><br /><span style="font-family:arial;"><span style="font-weight: bold;"><span style="color: rgb(255, 102, 0);">Securing Applications With Identity Services, Part 4</span>:</span> Single Sign-On and Logout </span><span style="font-family:arial;">Here in Part 4, you're shown how to achieve single sign-on (SSO) and logout with REST. Even though the procedures in this part start with authentication as a key part of the process, the emphasis is on SSO and logout.<br /><br /></span><span style="font-style: italic;font-family:arial;" ><span style="color: rgb(255, 0, 0);">Note:-</span> I have done all these exercise in </span><a style="font-family: verdana; font-style: italic;" href="http://www.vmware.com/download/ws/">VMWare</a><span style="font-style: italic;font-family:arial;" > WinXp-image. The size of WinXP-Image has reached to 4.13GB after installing NetBeans IDE, GlassFish Application Server and after deploying OpenSSO and sample client web application IdSvcsClient, so if you also want to do this in virtual environment, make sure you have sufficient memory available before starting these exercises and also make sure you have minimum 1GB RAM setting for the virtual image to get a better response. Ignore this note if you don't want to do these exercises in virtual environment.<br /></span>Srinihttp://www.blogger.com/profile/16066404098542349956noreply@blogger.com1tag:blogger.com,1999:blog-4183533173169697201.post-71213843559253234932008-08-28T02:16:00.000-07:002008-11-05T01:48:07.360-08:00How to write a HTTP Service in JCAPS to send a file content<span style="font-family:verdana;">Few days back one of my friends asked my “How do we implement a HTTP Service to send a flat file content to the client?” of course using JCAPS. He wants me to do it in JCAPS5.1.3, so I did. Here I am sharing the logic I have used, so if any one of you has such requirement in future you can simply check this blog :-) . As you would have expected, i have used JCAPS's HTTP eWay(Adapter) for this exercise. If some one is new to HTTP eWay check this </span><a style="font-family: verdana;" href="http://docs.sun.com/app/docs/doc/820-0989">Link</a><span style="font-family:verdana;"> for documentation. I chose Java Collaboration to implement the HTTP Service(Alternatively we can use the Business Process also to accomplish the same). Below is the problem statement and the steps i have followed to implement the HTTP Service using HTTP eWay in JCAPS 5.1.3.</span><br /><br /><span style="font-weight: bold;font-family:verdana;" >Problem Statement: </span><br /><br /><span style="font-family:verdana;">Implement a HTTP service which accepts the file name (should exists in a local file system - server) and send the file content as a response.</span><br /><br /><br /><span style="font-family:verdana;">1.) Create a project in eDesigner, i gave the project name as 'prjHTTPService'.</span><br /><br /><span style="font-family:verdana;">2.) Create a Java Collaboration (jcd) with name 'jcdHTTPService'. In the second step of Collaboration Wizard, select the repository(HEAD)-->Sun SeeBeyond-->eWays-->HTTPServer-->processRequest as the 'Web Service Operation' to implement.</span><br /><br /><span style="font-family:verdana;">3.) Optionally add any otds that you think will be required to implement the service. For this example i have not used any otds because i am just reading the file data(using </span><a style="font-family: verdana;" href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/package-summary.html">java.io</a><span style="font-family:verdana;">) and sending it as a response. Finally click on Finish button to create the jcd.</span><br /><br /><span style="font-family:verdana;">4.) Open the 'Java Source' editor for above jcd and put the logic given in below screenshot.</span><br /><br /><br /><a style="font-family: verdana;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhT7QkcK8wTKx_p8GV6JH2MoPHDEGpJ1THxLnSqx7JUzZTkOrU2PvYArF91fA9xzF_8a6GndyosKpccgAMB42BvZK2S25SBaO__jJ0zBmVuGR3p7PobJKbOEo5JLIUfAVqtwIyY5nAfm-w/s1600-h/HTTPService1.JPG"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhT7QkcK8wTKx_p8GV6JH2MoPHDEGpJ1THxLnSqx7JUzZTkOrU2PvYArF91fA9xzF_8a6GndyosKpccgAMB42BvZK2S25SBaO__jJ0zBmVuGR3p7PobJKbOEo5JLIUfAVqtwIyY5nAfm-w/s320/HTTPService1.JPG" alt="" id="BLOGGER_PHOTO_ID_5239543183193343906" border="0" /></a><br /><br /><span style="font-family:verdana;">5.) As its mentioned in the line#24 (in above screen shot) we need to set the 'Content Type' property of the HTTP Response to the respective MIME type of the file content(plain text, XML, html, etc ....)</span><br /><br /><span style="font-family:verdana;">6.) My code above is assuming only one request parameter in the input HTTP request, that is why i am reading the file name through index position( input.getRequest().getParameterInfo().getWebParameterList( 0 ).getValues( 0 ) ). If there are more than one request parameters in the HTTP request this logic need to be changed( we can get it through request attribute name also, for more info refer HTTPRequest java docs) </span><br /><br /><span style="font-family:verdana;">7.) readFileInfo() method is a utility method i have written using java.io to read the file content(screenshot is pasted below). Alternately we can use BatchLocalFile eWay also for this purpose but i don't prefer this approach for such a simple tasks.</span><br /><br /><span style="font-style: italic;font-family:verdana;" >Note:- This method will work only for the files whose data can be read as a meaningful String. If some one want to send a file content which can not be read as a String, this logic needs to be changed a little bit(by using Bytes instead of String).</span><br /><br /><a style="font-family: verdana;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibA274cj3GNRk4-iScVRM7gZdzdzqfFqcWqRHUG3aSete8rMIhXphEw3eUBW5DztHv6pGxW6DwATjNyCTodaF8rCaDQ9PaG6G_WPXdUI20nbgWaWfHUpwHEpFdcqRvLzMvMCPwkr1jis8/s1600-h/HTTPService2.JPG"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibA274cj3GNRk4-iScVRM7gZdzdzqfFqcWqRHUG3aSete8rMIhXphEw3eUBW5DztHv6pGxW6DwATjNyCTodaF8rCaDQ9PaG6G_WPXdUI20nbgWaWfHUpwHEpFdcqRvLzMvMCPwkr1jis8/s320/HTTPService2.JPG" alt="" id="BLOGGER_PHOTO_ID_5239553221524435458" border="0" /></a><br /><br /><br /><span style="font-family:verdana;">8.) That is it for the logic. Create the Connectivity Map and Deployment profile for the project and deploy it. In case of any problem in setting the configurations parameters in Connectivity Map and Deployment Profile Refer </span><a style="font-family: verdana;" href="http://docs.sun.com/app/docs/doc/820-0989">Sun SeeBeyond eWay(TM) HTTPS Adapter User's Guide</a><span style="font-family:verdana;">.</span><br /><br /><span style="font-family:verdana;">9.) To test the project, open the url "http://<</span><span style="font-style: italic;font-family:verdana;" >Host Name</span><span style="font-family:verdana;">>:<</span><span style="font-style: italic;font-family:verdana;" >port</span><span style="font-family:verdana;">>/<</span><span style="font-style: italic;font-family:verdana;" >Deployment Profile Name</span><span style="font-family:verdana;">>_servlet_<</span><span style="font-style: italic;font-family:verdana;" >servlet-url property value given in Connectivity Map</span><span style="font-family:verdana;">>/<</span><span style="font-style: italic;font-family:verdana;" >servlet-url property value given in Connectivity Map</span><span style="font-family:verdana;">>?FileName=<</span><span style="font-style: italic;font-family:verdana;" >FileName</span><span style="font-family:verdana;">>" in the web browser, the browser should show the file content.</span><br /><br /><span style="font-family:verdana;">Hope this helps :-) in case of any problems just drop me a mail to srinivasa.mataboyina@sun.com or to srinivasarao.mataboyina@gmail.com. I am happy to help on this.</span><br /><br /><span style="font-family:verdana;">Check my Next blog "How to Write a HTTP Client in JCAPS to get a file content"</span>Srinihttp://www.blogger.com/profile/16066404098542349956noreply@blogger.com1tag:blogger.com,1999:blog-4183533173169697201.post-25431836750907529892008-08-27T23:04:00.000-07:002008-08-29T07:20:26.400-07:00My first impression on JCAPS<meta equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 12"><meta name="Originator" content="Microsoft Word 12"><link style="font-family: verdana;" rel="File-List" href="file:///C:%5CDOCUME%7E1%5CSrini%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"><link style="font-family: verdana;" rel="themeData" href="file:///C:%5CDOCUME%7E1%5CSrini%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"><link style="font-family: verdana;" rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5CSrini%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"><!--[if gte mso 9]><xml> <w:worddocument> <w:view>Normal</w:View> <w:zoom>0</w:Zoom> <w:trackmoves/> <w:trackformatting/> <w:punctuationkerning/> <w:validateagainstschemas/> <w:saveifxmlinvalid>false</w:SaveIfXMLInvalid> <w:ignoremixedcontent>false</w:IgnoreMixedContent> <w:alwaysshowplaceholdertext>false</w:AlwaysShowPlaceholderText> <w:donotpromoteqf/> <w:lidthemeother>EN-US</w:LidThemeOther> <w:lidthemeasian>X-NONE</w:LidThemeAsian> <w:lidthemecomplexscript>X-NONE</w:LidThemeComplexScript> <w:compatibility> <w:breakwrappedtables/> <w:snaptogridincell/> <w:wraptextwithpunct/> <w:useasianbreakrules/> <w:dontgrowautofit/> <w:splitpgbreakandparamark/> <w:dontvertaligncellwithsp/> <w:dontbreakconstrainedforcedtables/> <w:dontvertalignintxbx/> <w:word11kerningpairs/> <w:cachedcolbalance/> </w:Compatibility> <w:browserlevel>MicrosoftInternetExplorer4</w:BrowserLevel> <m:mathpr> <m:mathfont val="Cambria Math"> <m:brkbin val="before"> <m:brkbinsub val="--"> <m:smallfrac val="off"> <m:dispdef/> <m:lmargin val="0"> <m:rmargin val="0"> <m:defjc val="centerGroup"> <m:wrapindent val="1440"> <m:intlim val="subSup"> <m:narylim val="undOvr"> </m:mathPr></w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"> <w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"> <w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"> <w:lsdexception locked="false" priority="39" name="toc 1"> <w:lsdexception locked="false" priority="39" name="toc 2"> <w:lsdexception locked="false" priority="39" name="toc 3"> <w:lsdexception locked="false" priority="39" name="toc 4"> <w:lsdexception locked="false" priority="39" name="toc 5"> <w:lsdexception locked="false" priority="39" name="toc 6"> <w:lsdexception locked="false" priority="39" name="toc 7"> <w:lsdexception locked="false" priority="39" name="toc 8"> <w:lsdexception locked="false" priority="39" name="toc 9"> <w:lsdexception locked="false" priority="35" qformat="true" name="caption"> <w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"> <w:lsdexception locked="false" priority="1" name="Default Paragraph Font"> <w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"> <w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"> <w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"> <w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"> <w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"> <w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"> <w:lsdexception locked="false" unhidewhenused="false" name="Revision"> <w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"> <w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"> <w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"> <w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"> <w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"> <w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"> <w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"> <w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"> <w:lsdexception locked="false" priority="37" name="Bibliography"> <w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"> </w:LatentStyles> </xml><![endif]--><style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} @font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:536871559 0 0 0 415 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin-top:0in; margin-right:0in; margin-bottom:10.0pt; margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} em {mso-style-priority:20; mso-style-unhide:no; mso-style-qformat:yes; font-weight:bold; font-style:normal;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} .MsoPapDefault {mso-style-type:export-only; margin-bottom:10.0pt; line-height:115%;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> </style><!--[if gte mso 10]> <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;} </style> <![endif]--> <p class="MsoNormal" style="font-family:verdana;"><span style="line-height: 115%;font-size:100%;" >It was on 16<sup>th</sup> September 2006 I got a chance to listen the detailed instructions session on <b>Sun <em>SeeBeyond ICAN</em></b> (Integrated Composite Application Network) Suite. I was in a training session conducted by sun professional services department in Hyderabad, India. My initial impression on the product was ‘<b>wow its great</b>’ because in my graduation day’s we used to dream on things like enterprise designer – which generates the code automatically on drag and drop of components. One more reason for such first impression on the product would be the nature of work I was doing at that time; I was spending a lot time in coding and I have never came across the products like eDesigner before the training. I am not only impressed with eDesigner, I am impressed with the availability of numerous adapters (eWays) the product suite is offering. The similar kind of adapters and features may also available in other EAI products as well but ICAN is the first product I have experienced. 24<sup>th</sup> September 2006 (the last day of our training) was the day I have decided to start my career in EAI domain and I was able to join SUN SOABI Professional Services department on 11<sup>th</sup> December 2006 as a consultant.</span><span style="font-size:100%;"><o:p></o:p></span></p> <span style="font-size:100%;"><u4:p style="font-family: verdana;"></u4:p></span> <p style="font-family: verdana;" class="MsoNormal"><span style="font-size:100%;"><o:p> </o:p></span></p> Srinihttp://www.blogger.com/profile/16066404098542349956noreply@blogger.com2