Tuesday, August 30, 2011

Difference between Bind Parameter and Lexical Parameter

What is the difference between bind parameter and lexical parameter?

Tuesday, August 23, 2011

Microsoft Webservices Error


Getting Error When trying to consume svc webservice from .net in Java

org.apache.axis2.AxisFault: The input stream for an incoming message is null.
    at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:92)
    at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67)
    at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354)
    at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
    at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
    at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
    at org.tempuri.ServiceStub.getData(ServiceStub.java:461)
    at com.MainClass.main(MainClass.java:22)

How to Install IIS in windows 7

Control Panel->Programs->Programs And Features-> Turn Windows Features On or off

Select the IIS to install

Error Code 0x80070021

I am getting this error after i deployed an application in IIS

Monday, August 22, 2011

Routine FDPREP cannot read the file ../reports/US/sample_report.rep.

We created a custom report using report builder and registered that as concurrent program in the application. While running the request, got the error in the log file  'Routine FDPREP cannot read the ../reports/US/sample_report.rep.'

Check if the file exists under correct product directory.

Check if the person who started the Concurrent Manager has read privil
Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 10709213.

Review your concurrent request log and/or report output file for more detailed information.

Java Interview Question

What is the difference between ClassNotFound Exception and NoClassDef found exception?

Java Interview Question

Why can't interfaces have static blocks?

Saturday, August 20, 2011

Difference between SUBSTR and INSTR

SUBSTR extracts characters from  a string

Ex: SUBSTR('oracle',2,3) gives rac

INSTR gives position of the string

Ex:INSTR('ORACLE',A) returns 2

     INSTR('UPPER','P',1,2) gives 3


Friday, August 19, 2011

APP-FND-00906 You can only query existing flex field code combinations

When querying for a code combination from GL Responsibility -> Setup-> Accounts -> Combinations window, we got the error APP-FND-00906


TDS Sections not generated for Vendor in R12


TDS Sections are not getting generated for a Vendor after Vendor Site and PAN details are given from Suppliers -> Additional Information window in R12.




Adobe Interview Question

Write a program to transpose a n*n matrix using recursion?

Adobe Interview Question

Write a program to find the second largest number in a given set of numbers?

Adobe Interview Question

Why is the get() method synchronized in Hashtable?

Adobe Interview Question

Given pre-order and inorder traversals for a binary tree.Write a program to construct the resultant binary tree.

Adobe Interview Question

Given a binary search tree. Find the closest common ancestor for given two numbers?Write a program for the same

Adobe Interview Question

W?hat is object obfuscation

Adobe Interview Question

What is serialization? How to not make some variables serialize?

Adobe Interview Question

How to access system variables in java

Wednesday, August 17, 2011

How to find ORG_ID for an operating unit?

You can get from the table HR_ORGANIZATION_LOV_V. The organization_id in this table is ORG_ID.


Tuesday, August 16, 2011

Actiance Interview Question

Given 100 bulbs where all the bulbs are switched off.

In the 1st iteration you will toggle 1st,2nd,3rd .....100th bulbs

In the 2nd iteration you will toggle 2nd,4th,6th....

In the 3rd iteration you will toggle 3rd,6th,9th,12th so on

After the 100th iteration how many bulbs will be switched off and how many bulbs will be switched on.

WaveCrest Interview Question

What is the difference between deep copy and shallow copy?

Monday, August 15, 2011


if a,b,c are real numbers such that a+(1/b)=7/3, b+(1/c)=4, c+(1/a)=1, then abc is

Thursday, August 11, 2011


In R12, AP_SWEEP_ACCESS_ERROR when trying to sweep unaccounted transactions from 'Control Payables Period Form'

Security Profiles and operating units in Oracle Apps

How to get all securtiy profiles and operating units assigned to it?

Wednesday, August 10, 2011

This combination is disabled.(ROUTINE=fdfvcc)


We got the error ' This combination is disabled.(ROUTINE=fdfvcc)' when we are creating AP invoice and entering accounting segments values.


Monday, August 8, 2011

Amazon Interview Question

Write a program to convert a binary tree into a doubly linked list

Amazon Interview Question

Given two nodes in a binary tree. Write a program to find a common ancestor.

Amazon Interview Question

Design a traffic signal for a multi road junction

Amazon Interview Question

While blindfolded, you are presented with a tray of identical coins. You are told that N of them are heads up. How can you divide them into two groups such that each group ends up with the same number of heads?

Amazon Interview Question

QuickSort - worst case,average case,best case scenarios aways to improve performance.

Amazon Interview Question

Given a list of strings,each string represents a node in a binary tree and the string value will be its access path in the binary tree(eg: lr - goto the leftchild from the root and goto the right child from there o find the node). WAP to check if a valid binary tree can be formed from the list.

Amazon Interview Question

You are on a game show. There are 3 doors. Behind one of the doors, there is a great prize. Behind the other two doors, there is nothing. To win the prize, you must correctly guess which door it is behind and open that door. But wait ... there's more! After you guess, the host opens one of the doors and gives you a chance to change your mind.

Pay close attention to the following rules:

    1. First, you choose one of the 3 doors.
    2. After you make your choice, the game show host opens one of the other 2 doors.
    3. The host is not allowed to open the door with the prize.
    4. The host is not allowed to open the door, that you chose.
    5. After the host opens a door, he gives you a chance to change your mind.

For example:

    1.  You choose door #1.
    2.  Host opens door #2, which is empty.
    3.  You may either stay with #1 or switch to #3.

What should you do? Does switching increase or decrease your chance of winning the prize? Does it even make a difference?

Komli Interview Question

Given two arrays which are sorted find the median with the merged array

Komli Interview Question

Given two arrays which are sorted find the median with the merged array

Citrix Interview Question

Write a program to find the largest subsequence

Flipkart Interview Question

Write a program to generate the permutations

Deshaw Interview Questions

swapping two variables x,y without using a temporary variable.

Deshaw Interview Questions

in 80 coins one coin is counterfiet what is minimum number of weighings to find out counterfiet coin

Deshaw Interview Questions

falling height is proportional to square of the time.one object falls 64cm in 2sec than in 6sec from how much height the object will fall.

Deshaw Interview Questions

in 8*8 chess board what is the total number of squares

Deshaw Interview Questions

one fast typist type some matter in 2hr andanother slow typist type the

same matter in 3hr. if both do combinely in how much time they

will finish.

Deshaw Interview Questions

in some game 139 members have participated every time one fellow will get bye what is the number of matches to choose the champion to be held?

Deshaw Interview Questions