Package org.eclipse.wst.wsdl

Examples of org.eclipse.wst.wsdl.Output


    BindingOutput bindingOutput = bindingOperation.getEBindingOutput();
    List bindingFaults = bindingOperation.getEBindingFaults();

    Operation operation = bindingOperation.getEOperation();
    Input input = operation.getEInput();
    Output output = operation.getEOutput();
    List faults = operation.getEFaults();

    /******************************************************
     * Compare the Operation names
     ******************************************************/
    if (!namesEqual(bindingOperation.getName(), operation.getName()))
    {
      bindingOperation.setName(operation.getName());
    }

    /******************************************************
     * Compare the Output
     ******************************************************/
    if (output == null)
    {
      bindingOperation.setBindingOutput(null);
    }
    else
    {
      // Create BindingOutput if necessary
      if (bindingOutput == null)
      {
        BindingOutput newBindingOutput = factory.createBindingOutput();
        newBindingOutput.setEOutput(output);
        newBindingOutput.setName(output.getName());
        bindingOperation.setBindingOutput(newBindingOutput);
      }
      else
      {
        // Compare the Output names
        if (!namesEqual(bindingOutput.getName(), output.getName()))
        {
          bindingOutput.setName(output.getName());
        }
      }
    }
    generateBindingOutputContent(bindingOperation.getEBindingOutput());

View Full Code Here


   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetEOutput(Output newEOutput, NotificationChain msgs)
  {
    Output oldEOutput = eOutput;
    eOutput = newEOutput;
    if (eNotificationRequired())
    {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, WSDLPackage.OPERATION__EOUTPUT, oldEOutput, newEOutput);
      if (msgs == null)
View Full Code Here

        setInput(input);
        break;
      }
      case WSDLConstants.OUTPUT:
      {
        Output output = WSDLFactory.eINSTANCE.createOutput();
        output.setEnclosingDefinition(definition);
        output.setElement(child);
        setOutput(output);
        break;
      }
      case WSDLConstants.FAULT:
      {
View Full Code Here

    {
      Element child = ((InputImpl)input).createElement();
      newElement.appendChild(child);
    }

    Output output = getEOutput();
    if (output != null)
    {
      Element child = ((OutputImpl)output).createElement();
      newElement.appendChild(child);
    }
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  public void setEOutput(Output newEOutput)
  {
    Output oldEOutput = eOutput;
    eOutput = newEOutput;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.BINDING_OUTPUT__EOUTPUT, oldEOutput, eOutput));
  }
View Full Code Here

            operationName = webMethodAnnotation.operationName();         
          operation.setName(operationName);
          operation.setUndefined(false);
          Input input = WSDLFactory.eINSTANCE.createInput();
          operation.setInput(input);
          Output output = WSDLFactory.eINSTANCE.createOutput();
          operation.setOutput(output);
          portType.addOperation(operation);
          Message inputMessage = WSDLFactory.eINSTANCE.createMessage();
          inputMessage.setQName(new QName(operation.getEnclosingDefinition().getTargetNamespace(), operationName));
          inputMessage.setUndefined(false);
          input.setMessage(inputMessage);
          wsdlDef.addMessage(inputMessage);
         
          Message outputMessage = WSDLFactory.eINSTANCE.createMessage();
          outputMessage.setQName(new QName(operation.getEnclosingDefinition().getTargetNamespace(), operationName + "Response"));
          outputMessage.setUndefined(false);
          output.setMessage(outputMessage);
          wsdlDef.addMessage(outputMessage);
          methodOperationMap.put(m,operation);
         
          createWsdlStyleMapping(m);
         
View Full Code Here

TOP

Related Classes of org.eclipse.wst.wsdl.Output

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.