Here is a zip file with bpel, ca and soapui projects reproducing the problem.attachmentsBug.zip
This zip file contains:
* BpelModule2 - Folder with the BPEL project
* CompositeApp2 - Folder with the Composite Application project. In the dist folder there is the deployable composite application zip file
* attachementsBugSOAPUIProject.xml and attachmentBug-workspace.xml: SOAPUI project witch reproduces the problem
* outputScreenShot.jpg: SOAPUI Snapshot with the problem reproduced: we have a input message with an attachment. The response should be 2 elements, one inlined and other attached. But both are inlined.
* readme.txt : this file.
The problem can be seen here. My bpel gets the attached input and copies it to the output. There are 2 nodes in the output. I assign the first with the inline option and the second with the attachment option, but both of them becomes inlined outputs.