public com.ebmwebsourcing.easyviper.core.api.engine.variable.Variable findVariable(final javax.xml.namespace.QName arg0) throws com.ebmwebsourcing.easyviper.core.api.CoreException { com.ebmwebsourcing.easyviper.core.api.engine.variable.Variable ret = service.findVariable(arg0); return ret; }
public com.ebmwebsourcing.easyviper.core.api.engine.variable.Variable findVariable(final javax.xml.namespace.QName arg0) throws com.ebmwebsourcing.easyviper.core.api.CoreException { if ( impl == null ) { throw new java.lang.NullPointerException("Trying to invoke a method on a client or server interface whose complementary interface is not bound."); } com.ebmwebsourcing.easyviper.core.api.engine.variable.Variable ret = impl.findVariable(arg0); return ret; }
private Variable findVariable(final Scope scope, final FromAndTo to) throws CoreException { Variable v = null; // find variable in scope String variableName = null; if(to.getKind() != To.Kind.PARTNERLINK) { if(to.getKind() == To.Kind.EXPRESSION) { variableName = BPELVariableImpl.getVariableNameInXPathExpression(to.getContent()); } else if(to.getKind() == To.Kind.VARIABLE_PART) { variableName = to.getVariablePart().getVariable().getLocalPart(); } variableName = variableName.trim(); this.log.finest("find variable " + variableName); v = scope.findVariable(new QName(Util.getLocalPartWithoutPrefix(variableName))); if(v == null) { throw new CoreException("Error: impossible to find the variable: " + variableName); } } return v; }
public void resolveFaultMessage() throws CoreException { if (getFault() != null) return; Variable faultVariable = scope.findVariable(new QName(faultVariableName)); if (faultVariable == null) { // TODO : one could use a a constant builtin exception name instead of providing // a variable name ; unsupported right now. throw new CoreException("Variable " + faultVariableName + " cannot be found!"); } // FIXME : by default, we create a SOAPFault 1.1 which is not fair ; // we should create SOAPFault at a higher level where SOAP binding version is known. if (faultVariable.getValue() == null) return; Element soapFaultRootElement = (Element) faultVariable.getValue().getContent(); Element soapFault = SOAPAdapter.createSOAPFault((Element) soapFaultRootElement.getChildren().get(0)); BPELInternalMessage message = new BPELInternalMessageImpl(); message.setContent(soapFault); setFault(message); }
final Variable<?> v = scope.findVariable(variableName); if (v == null) { throw new CoreException(
final Variable v = scope.findVariable(variableName); if (v == null) { throw new CoreException(
final Variable v = this.scope.findVariable(new QName(Util .getLocalPartWithoutPrefix(variableName))); if (v == null) {
final Variable inputVariable = scope.findVariable(this.inputVariableName); this.log.finest("synchronous send"); final Variable outputVariable = scope .findVariable(this.outputVariableName);
final Variable v = this.scope.findVariable(new QName(Util .getLocalPartWithoutPrefix(variableName))); if (v == null) {
final BPELVariable varFrom = (BPELVariable) scope.findVariable(this.variableToCorrelate); if(varFrom == null) { throw new CoreException("Impossible to find variable corresponding to this name " + this.variableToCorrelate); final To to = (To) corr.getOriginator(); final Variable varTo = scope.findVariable(new QName(to.getVariableProperty().getVariable())); if(varTo == null) { throw new CoreException("Impossible to find variable corresponding to this name " + to.getVariableProperty().getVariable());
try { if( handlers.size() == 0 ) { com.ebmwebsourcing.easyviper.core.api.engine.variable.Variable ret = impl.findVariable(arg0); return ret;
final Variable inputVariable = scope.findVariable(this.inputVariableName); this.log.finest("synchronous send"); final Variable outputVariable = scope .findVariable(this.outputVariableName);
var.getElement().equals(businessException.getQname())) { final Variable v = faultScope.findVariable(var.getQName()); final BPELInternalMessage faultMessage = new BPELInternalMessageImpl(); final Variable vf = faultScope.findVariable(new QName(((UserDefinedException)e).getFaultVariableName())); final BPELInternalMessage formattedSoapFault = (BPELInternalMessage) (this.soapAdapter).formatFault(vf.getValue()); final Element soapFault = this.soapAdapter.createSOAPFault(formattedSoapFault.getContent()); var.getMessageType().equals(businessException.getQname())) { final Variable v = faultScope.findVariable(var.getQName()); final BPELInternalMessage faultMessage = new BPELInternalMessageImpl(); if(businessException.getFault() == null) { final Variable vf = faultScope.findVariable(new QName(businessException.getFaultVariableName())); final BPELInternalMessage formattedSoapFault = (BPELInternalMessage) (this.soapAdapter).formatFault(vf.getValue()); final Element soapFault = this.soapAdapter.createSOAPFault(formattedSoapFault.getContent());
faultVar = (BPELVariable) parentScope.findVariable(new QName( catch_.getFaultVariable()));