Examples of Invoke


Examples of org.test.proxy.doclitnonwrapped.Invoke

    public void testNullInvoke(){
        TestLogger.logger.debug("-----------------------------------");
        TestLogger.logger.debug("test: " + getName());
        TestLogger.logger.debug(">>Testing Sync Invoke on Proxy DocLit bare with a null parameter");
        ObjectFactory factory = new ObjectFactory();
        Invoke invokeObj = null;
        Service service = Service.create(null, serviceName);
        assertNotNull(service);
        DocLitnonWrappedProxy proxy = service.getPort(portName, DocLitnonWrappedProxy.class);
        assertNotNull(proxy);
        BindingProvider p = (BindingProvider)proxy;
View Full Code Here

Examples of org.test.proxy.doclitnonwrapped.Invoke

            //Create wsdl url
            File wsdl= new File(wsdlLocation);
            URL wsdlUrl = wsdl.toURL();
            ObjectFactory factory = new ObjectFactory();
            //create input object to web service operation
            Invoke invokeObj = factory.createInvoke();
            invokeObj.setInvokeStr("test request for twoWay Async Operation");
            //Create Service
            ProxyDocLitUnwrappedService service = new ProxyDocLitUnwrappedService(wsdlUrl, serviceName);
            //Create proxy
            DocLitnonWrappedProxy proxy = service.getProxyDocLitnonWrappedPort();
            TestLogger.logger.debug(">>Invoking Binding Provider property");
View Full Code Here

Examples of org.uengine.smcp.twister.engine.priv.core.definition.Invoke

        Element compensationHandler = element.element("compensationHandler");
        processCompensationHandler(compensationHandler, (Invoke) activity);
    }

    protected void processSpecificAttributes(Element element, Activity activity) throws DeploymentException {
        Invoke invoke = (Invoke) activity;
        Attribute partnerLink = element.attribute("partnerLink");
        if (partnerLink != null) {
            log.debug("partnerLink=" + partnerLink);
            invoke.setPartner(partnerLink.getValue());
        }

        Attribute portType = element.attribute("portType");
        if (portType != null) {
            String portTypeStr = portType.getValue();
            int sepIndex = portTypeStr.indexOf(TwisterDeployerImpl.NS_SEPARATOR);
            if (sepIndex > 0) {
                portTypeStr = portTypeStr.substring(sepIndex + 1, portTypeStr.length());
            }
            log.debug("portType=" + portTypeStr);
            invoke.setPortType(portTypeStr);
        }

        Attribute operation = element.attribute("operation");
        if (operation != null) {
            log.debug("operation=" + operation);
            invoke.setOperation(operation.getValue());
        }

        Attribute inputVariable = element.attribute("inputVariable");
        if (inputVariable != null) {
            log.debug("inputVariable=" + inputVariable);
            invoke.setInputVariable(inputVariable.getValue());
        }

        Attribute outputVariable = element.attribute("outputVariable");
        if (outputVariable != null) {
            log.debug("outputVariable=" + outputVariable);
            invoke.setOutputVariable(outputVariable.getValue());
        }
    }
View Full Code Here

Examples of org.woped.editor.controller.bpel.Invoke

                if (transitions[i].getToolspecificArray(j)
                    .isSetInvoke()) {
                  TInvoke invoke = transitions[i]
                      .getToolspecificArray(j)
                      .getInvoke();
                  Invoke bpel = new Invoke(invoke.getName(),
                      invoke.getPartnerLink(), invoke
                          .getOperation(), "", invoke
                          .getInputVariable(), invoke
                          .getOutputVariable());
                  map.setBpeldata(bpel);
View Full Code Here

Examples of st.gravel.support.compiler.jvm.Invoke

  }

  public JVMMethodCompiler producePrimitive_def_(final MethodNode _aMethodNode, final String[] _prim) {
    final JVMDefinedObjectType _ownerType;
    final String _name;
    final Invoke _invoke;
    final JVMMethodType[] _staticSignature;
    final int[] _selfOffset;
    _selfOffset = new int[1];
    _staticSignature = new JVMMethodType[1];
    _ownerType = JVMDefinedObjectType.factory.dottedClassName_(_prim[0]);
    _name = _prim[1];
    _invoke = _parent.createInvokeInstruction_name_numArgs_(_ownerType, _name, _aMethodNode.arguments().length);
    if (_invoke == null) {
      JVMMethodCompiler.this.emit_(NewInstance.factory.type_(JVMDefinedObjectType.factory.runtimeException()));
      JVMMethodCompiler.this.emit_(Dup.factory.basicNew());
      JVMMethodCompiler.this.pushString_("Cannot find method " + _ownerType.descriptorString() + ">>" + _name);
      JVMMethodCompiler.this.emit_(InvokeSpecial.factory.init_voidArguments_(JVMDefinedObjectType.factory.runtimeException(), st.gravel.support.jvm.ArrayFactory.with_(JVMDefinedObjectType.factory.string())));
      JVMMethodCompiler.this.emit_(AThrow.factory.basicNew());
      return JVMMethodCompiler.this;
    }
    _staticSignature[0] = _invoke.staticSignature();
    if (_invoke.isInvokeStatic() && st.gravel.support.jvm.IntegerExtensions.equals_(_invoke.signature().numArgs(), _aMethodNode.numArgs())) {
      _selfOffset[0] = 0;
    } else {
      _selfOffset[0] = 1;
      JVMMethodCompiler.this.produceVarRead_("self");
      JVMMethodCompiler.this.ensureCast_(_staticSignature[0].arguments()[0]);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.