return new OInvoke(_context.getOProcess(), _context.getCurrent());
}
public void compile(OActivity output, Activity srcx) {
InvokeActivity src = (InvokeActivity) srcx;
OInvoke oinvoke = (OInvoke) output;
oinvoke.partnerLink = _context.resolvePartnerLink(src.getPartnerLink());
oinvoke.operation = _context.resolvePartnerRoleOperation(oinvoke.partnerLink, src.getOperation());
assert oinvoke.operation.getInput() != null; // ensured by reolvePartnerRoleOperation
assert oinvoke.operation.getInput().getMessage() != null; // ensured by resolvePartnerRoleOperation