log.finest("validate invoke: " + this.getActivity().getName());
try {
BPELStaticAnalysisImpl.getInstance().addInfo(new BPELInfoImpl(this.getActivity(), "In invoke " + this.getActivity().getName() + " => [BPEL engine restriction] Sorry, but the fromPart activity is not supported by BPEL engine for the moment. Use assign element after this invoke instead"));
BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In invoke " + this.getActivity().getName() + " => [BPEL engine restriction] Sorry, but the fromPart activity is not supported by BPEL engine for the moment. Use assign element after this invoke instead")));
BPELStaticAnalysisImpl.getInstance().addInfo(new BPELInfoImpl(this.getActivity(), "In invoke " + this.getActivity().getName() + " => [BPEL engine restriction] Sorry, but the topart activity is not supported by BPEL engine for the moment. Use assign element before this invoke instead"));
BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In invoke " + this.getActivity().getName() + " => [BPEL engine restriction] Sorry, but the topart activity is not supported by BPEL engine for the moment. Use assign element before this invoke instead")));
BPELStaticAnalysisImpl.getInstance().addInfo(new BPELInfoImpl(this.getActivity(), "In invoke " + this.getActivity().getName() + " => [BPEL engine restriction] Sorry, but compensationHandler is not supported by BPEL engine for the moment."));
BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In invoke " + this.getActivity().getName() + " => [BPEL engine restriction] Sorry, but compensationHandler is not supported by BPEL engine for the moment.")));
if((this.getActivity().getPartnerLink() == null) || (this.getActivity().getPartnerLink().trim().length() == 0)) {
BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In invoke " + this.getActivity().getName() + " => the partnerLink cannot be null or empty")));
if((this.getActivity().getOperation() == null) || (this.getActivity().getOperation().trim().length() == 0)) {
BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In invoke " + this.getActivity().getName() + " => the operation cannot be null or empty")));
if((this.getActivity().getInputVariable() == null) || (this.getActivity().getInputVariable().trim().length() == 0)) {
BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In invoke " + this.getActivity().getName() + " => the input variable cannot be null or empty")));
if((this.getActivity().getOutputVariable() != null) && (this.getActivity().getInputVariable().trim().length() == 0)) {
BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In invoke " + this.getActivity().getName() + " => the output variable cannot be empty")));
if((this.getActivity().getPartnerLink() != null) && (this.getActivity().getPartnerLink().trim().length() > 0)) {
final PartnerLink partnerLink = ScopeUtil.findPartnerLinkRecursively(this.getActivity().getPartnerLink(), (BPELElement) ((BPELElementImpl)this.getActivity()).getParent());
if(partnerLink == null) {
BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In invoke " + this.getActivity().getName() + " => Impossible to find partnerLink corresponding to the name: " + this.getActivity().getPartnerLink())));