reply.setName("ReplyFor"+om.getOperation()); reply.setOperation(om.getOperation()); reply.setOutputVariable(this.varInOut.get(var)); reply.setPartnerLink(currentPl.getName());
reply.setName("ReplyFor"+om.getOperation()); reply.setOperation(om.getOperation()); reply.setOutputVariable(this.varInOut.get(var)); reply.setPartnerLink(pl.getName());
BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.message, new BPELException("In OnMessage => the partnerLink cannot be null or empty"))); if((this.message.getOperation() == null) || (this.message.getOperation().trim().length() == 0)) { BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.message, new BPELException("In OnMessage => the operation cannot be null or empty"))); if((this.message.getOperation() != null) && (this.message.getOperation().trim().length() > 0)) { if(partnerLink != null) { final BPELProcess process = ScopeUtil.getProcess((this.message)); final AbsItfOperation op = itf.getOperation(new QName(itf.getQName().getNamespaceURI(), this.message.getOperation())); if(op != null) { ops.add(op); BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.message, new BPELException("In OnMessage => Impossible to find in wsdl descriptions the operation: " + this.message.getOperation()))); } else if(ops.size() > 1) { String itfString = null; BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.message, new BPELException("In OnMessage => Several interfaces match with the operation " + this.message.getOperation() + ": " + itfString + ". " + "You must add portType attribute in receive or add a role to the partnerLink of receive")));