+ interfaceName + "'."); final Operation op = itf.getOperation(new QName(itf.getQName() .getNamespaceURI(), this.invoke.getOperation())); if (op == null) { throw new CoreException( "Impossible to find operation with this name: " + this.invoke.getOperation());
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().getOperation() != null) && (this.getActivity().getOperation().trim().length() > 0)) { if(partnerLink != null) { final BPELProcess process = ScopeUtil.getProcess((this.getActivity())); final AbsItfOperation op = itf.getOperation(new QName(itf.getQName().getNamespaceURI(), this.getActivity().getOperation())); if(op != null) { ops.add(op); BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In invoke " + this.getActivity().getName() + " => Impossible to find in wsdl descriptions the operation: " + this.getActivity().getOperation()))); } else if(ops.size() > 1) { String itfString = null; BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In invoke " + this.getActivity().getName() + " => Several interfaces match with the operation " + this.getActivity().getOperation() + ": " + itfString + ". " + "You must add portType attribute in invoke or add a role to the partnerLink of invoke")));