Raja
This is an outbound proxy ..yes ..If via test data created in SPROXY it is working then via program the reason it is not working is because you are not passing all the mandtory fields in the call. Please compare what is passed in proxy call via SPROXY and try to pass the field values in the same fields via program it will work
Nabheet