0 Replies Latest reply on Mar 3, 2013 6:56 AM by 932716

    MTOM in syncronous BPEL

    932716
      Hi,
      I have a following use case:

      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.

      Urgent help will be really appreciated.