msg.setStaticKey(bsk);
XMLInteractionObject interaction = new XMLInteractionObject();
interaction.setDocument(transformer.toDOMDocument(exchange.getMessage("in")));
msg.setPart(inputPartName, interaction);
EventDirector ed = ((BPEComponent) getServiceUnit().getComponent()).getEventDirector();
try {
IResponseMessage response;
try {
BPEEndpoint.setCurrent(this);
response = ed.sendEvent(msg, true);
} finally {
BPEEndpoint.setCurrent(null);
}
IInteraction payload = response.getPart(outputPartName);
if (response.getFault() != null) {