String respTextMessageText="Hello World Response";
String respTextMessage="<"+TEST_MESSAGE_ELEM+">"+respTextMessageText+"</"+TEST_MESSAGE_ELEM+">";
String respMessage="<"+MESSAGE+"><"+RESP_TEST_PART+">"+respTextMessage+
"</"+RESP_TEST_PART+"></"+MESSAGE+">";
Message resp=null;
TestBPELEngine bpelEngine=null;
try {
bpelEngine=new TestBPELEngine(respMessage);
BPELInvoke invoke=new BPELInvoke(config);
invoke.setBPELEngine(bpelEngine);
Message mesg=MessageFactory.getInstance().getMessage();
mesg.getBody().add(BPELInvoke.getNode(reqTextMessage));
resp = invoke.process(mesg);
} catch(Exception e) {
fail("Failed processing message: "+e);
}