Package org.eclipse.bpel.model

Examples of org.eclipse.bpel.model.To


    Query fromQuery = BPELFactory.eINSTANCE.createQuery();
    fromQuery.setValue(xpath.evaluate());
    fromQuery.setQueryLanguage(XPATH_NAMESPACE);
    from.setQuery(fromQuery);
   
    To to = BPELFactory.eINSTANCE.createTo();
    to.setVariable(variable);
    Query toQuery = BPELFactory.eINSTANCE.createQuery();
    toQuery.setQueryLanguage(XPATH_NAMESPACE);
   
    javax.jws.soap.SOAPBinding soapBinding = operationSoapBindingMap.get(operation);
    Message message = null;
    javax.wsdl.Fault f = operation.getFault(type.getName());
    if (f != null){
      message = (org.eclipse.wst.wsdl.Message)f.getMessage();
    } else {
      javax.wsdl.Output output = operation.getOutput();
      if (output != null)
        message = (org.eclipse.wst.wsdl.Message)output.getMessage();
    }
    if (message != null){
      List<Part> msgParts = message.getOrderedParts(null);
      if (soapBinding == null ||
          (soapBinding != null &&
          soapBinding.style() == javax.jws.soap.SOAPBinding.Style.DOCUMENT &&
          soapBinding.use() == javax.jws.soap.SOAPBinding.Use.LITERAL &&
          soapBinding.parameterStyle() == javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED)){
        //XSDElementDeclaration el = wsdlDocLitWrapResultMap.get(operation);
        //toQuery.setValue("$" + tmp.getName() + "." + msgParts.get(0).getName() + "/" + this.schemaNsPrefixMap.get(el.getTargetNamespace()) + ":" + el.getQName());
        to.setPart(msgParts.get(0));
        //toQuery.setValue("/" + this.schemaNsPrefixMap.get(el.getTargetNamespace()) + ":" + el.getQName());
        //to.setQuery(toQuery);
      } else if (soapBinding != null &&
          soapBinding.style() == javax.jws.soap.SOAPBinding.Style.RPC &&
          soapBinding.use() == javax.jws.soap.SOAPBinding.Use.LITERAL){
        //toQuery.setValue("$" + tmp.getName() + "." + msgParts.get(0).getName());
        to.setPart(msgParts.get(0));
      }   
     
      Copy copy = BPELFactory.eINSTANCE.createCopy();
      copy.setFrom(from);
      copy.setTo(to);
View Full Code Here


   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetTo(To newTo, NotificationChain msgs) {
    To oldTo = to;
    to = newTo;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BPELPackage.COPY__TO, oldTo, newTo);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

       
        Query toQuery = BPELFactory.eINSTANCE.createQuery();
        toQuery.setQueryLanguage(XPATH_NAMESPACE);
        toQuery.setValue("/" + schemaNsPrefixMap.get(el.getTargetNamespace()) + ":" + el.getName());
       
        To to = BPELFactory.eINSTANCE.createTo();
        to.setVariable(variable);
        to.setQuery(toQuery);
       
        Copy copy = BPELFactory.eINSTANCE.createCopy();
        copy.setFrom(from);
        copy.setTo(to);
       
View Full Code Here

TOP

Related Classes of org.eclipse.bpel.model.To

Copyright © 2018 www.massapicom. 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.