Project: mule
Issue MULE-7328: Can't use WS consumer with message properties
Consider the attached configuration in which I'm trying to receive a ZIP as an http query param and then use that zip to invoke a weather web service. It is impossible to do so unless I use that message property to create a map in the payload and then use datamapper to create the invocation body. I should have to be forced to create completely artificial set-payload and datamapper message processors for doing something as simple as asking for the weather of a ZIP number. I should't have to write the SOAP body myself either. Any of these two options defeat the purpose of the component. I should be able to just pass the ws:consumer whatever attributes the invocation takes and it should be able to construct the body.
Story points: 8