When you say exposing are you doing like the way publish_as_webservice quickstart is doing? SOAPProcessor.setMessage will no longer be available in the next release. What is the need for you to set the ESB message? Do you want to look at the SOAP request down the pipeline? If that is the case you can add an action prior to your main action and copy the body from the default location to some other location and the actions down the pipeline can see the request intact from that location. Will this work?