Posts

Showing posts from August, 2009

AJAX with Peoplesoft

AJAX - Asynchronous JavaScript And XML AJAX is a group of interrelated web development techniques used on the client-side to create interactive web applications or rich Internet applications. With Ajax, web applications can retrieve data from the server asynchronously in the background without interfering with the display and behavior of the existing page. The use of Ajax with Peoplesoft has led to an increase in interactive or dynamic interfaces on web pages and better quality of Web services due to the asynchronous mode. Very few sites help us how to Integrate Peoplesoft and AJAX. Here is the basic code how to start… 1) Download the jquery Ajax library and put it in a publicly accessible folder on your web server http://docs.jquery.com/Downloading_jQuery Place the jquery.js file in Webserver (...peoplesoft/applications/peoplesoft/PORTAL/scripts) 2) Let us test how Ajax works,with this basic example: Add an html file to your web server root named "ajax.html" with the content

Byte Array in Peoplesoft

Byte Array in Peoplesoft: What is Byte Array? The Byte Array service provides a mechanism to create an array of bytes. This can be useful for sending a raw data packets containing binary information. Basically passing contents of files/Images in a byte (array) format. If you google Byte Array it is very hard to find the definition and you can find lot of java programs for converting File to Byte Array or Vice Versa. Byte Array and Peoplesoft: While integrating peoplesoft with a third party tool i got a situation to pass the file as byte array. I searched in google but in vein i didn’t get even a single clue. Then i thought of using java to overcome this issue. Latter i find an article from Jims Blog regarding the Base64 encoding, which really gave me a good idea to continue. From Jims Blog: (Thanks Jim) We need to create an Algorithm Chain and an Encryption Profile. PeopleBooks does an excellent job of explaining each of these terms as well as telling how to create each of these compon