AxisService axisServce = new AxisService();
axisServce.setParent(new AxisServiceGroup(new AxisConfiguration()));
axisServce.addParameter(new Parameter(ScriptReceiver.SCRIPT_ATTR, "foo.js"));
axisServce.addParameter(new Parameter(ScriptReceiver.SCRIPT_SRC_PROP, "function invoke(inMC,outMC) { outMC.setPayloadXML(<a><b>petra</b></a>) }"));
inMC.setAxisService(axisServce);
mediator.invokeBusinessLogic(inMC, inMC);
Iterator iterator = inMC.getEnvelope().getChildElements();
iterator.next();
assertEquals(XML, ((OMElement) iterator.next()).getFirstElement().toString());
}