a. I have to expose a synchronous web service which takes an employeeId as an input data. Base upon the employee id in the input, it fetches the employee assignment PDF file from database and send it back to client application in MTOM.
What steps i have followed:
1. I configured MTOM Policy on Service component. But when i receive only Employee ID in the request as a string, my BPEL throws an error "Expected MTOM data and got non MTOM input" This is because the automatically the inbuilt MTOM policy gets configured at service level. Instead of service level i want it at "The response message of a service operation". Please help me how can i achieve the above scenerio.