Well it seems that this is where the problem lies. My users will never edit xml, they will use the property sheet of my workitem in the BPMN2 designer. Which looks like this
http://community.jboss.org/servlet/JiveServlet/downloadImage/2-620453-16860/450-256/propertysheet.png
As you can see there are no inputSet dataInputAssociation etc. Ignore the double period in the classname it is just for example.
I made another post about this. Answers here assume that people are editing xml, whereas if you have a nice graphical designer the end users are likely to use that. But I have found no where that explains how you map input and output for parameters using the property sheet.
Ed