log.finest("validate reply: " + this.getActivity().getName());
try {
BPELStaticAnalysisImpl.getInstance().addInfo(new BPELInfoImpl(this.getActivity(), "In reply " + this.getActivity().getName() + " => [BPEL engine Restriction] Sorry, but the activity topart is not supported by BPEL engine for the moment. Use assign element before this reply instead"));
BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In reply " + this.getActivity().getName() + " => [BPEL engine Restriction] Sorry, but the activity topart is not supported by BPEL engine for the moment. Use assign element before this reply instead")));
BPELStaticAnalysisImpl.getInstance().addInfo(new BPELInfoImpl(this.getActivity(), "In receive " + this.getActivity().getName() + " => [BPEL engine Restriction] Sorry, but the messageExchange attribute is not supported by BPEL engine for the moment."));
BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In reply " + this.getActivity().getName() + " => [BPEL engine Restriction] Sorry, but the activity topart is not supported by BPEL engine for the moment. Use assign element before this reply instead")));
BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In reply " + this.getActivity().getName() + " => the partnerLink cannot be null or empty")));
BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In reply " + this.getActivity().getName() + " => the operation cannot be null or empty")));
BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In reply " + this.getActivity().getName() + " => the output variable cannot be null or empty")));
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 reply " + this.getActivity().getName() + " => Impossible to find partnerLink corresponding to the name: " + this.getActivity().getPartnerLink())));
final PartnerLinkType plt = process.getImports().getPartnerLinkType(partnerLink.getPartnerLinkType());
if(plt == null) {
BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In receive " + this.getActivity().getName() + " => Impossible to find partnerLink corresponding to the name: " + partnerLink.getPartnerLinkType())));
if(itfsToVerify.size() == 0) {
if(this.getActivity().getInterface() != null) {
BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In reply " + this.getActivity().getName() + " => Impossible to find in wsdl descriptions the portType: " + this.getActivity().getInterface())));
} else {
BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In reply " + this.getActivity().getName() + " => Impossible to find portType. You must add portType attribute in reply or add a role to the partnerLink of reply")));