javax.xml.namespace.QName qname=javax.xml.namespace.QName.valueOf(serviceName);
logger.debug("Invoking service: "+qname);
// Create invocationContext
ESBInvocationAdapter invocationContext =
new ESBInvocationAdapter(_config.getAttribute(OPERATION), qname, _config.getAttribute(PORT));
invocationContext.setRequestXML(mesgElem);
establishHeaderParts(invocationContext);
// invoke ODE
try {
engine.invoke(invocationContext);
} catch(Throwable t) {
// RIFTSAW-177 - prevent ODE specific exceptions being returned to ESB client where
// a ClassNotFoundException would be thrown
throw new Exception("BPEL invoke failed: "+t);
}
ret = handleResponse(invocationContext.getInvocationResult(),
invocationContext.getFaultName(), serviceName, proxy, f_toText);
return(ret);
}