Examples of operations()


Examples of xsul5.wsdl.WsdlBinding.operations()

      }

      Iterator<WsdlBinding> bindingItr = wsdl.bindings().iterator();
      while (bindingItr.hasNext()) {
        WsdlBinding wsdlBinding = (WsdlBinding) bindingItr.next();
        Iterator<WsdlBindingOperation> operationsItr = wsdlBinding
            .operations().iterator();
        while (operationsItr.hasNext()) {
          WsdlBindingOperation wsdlBindingOperation = (WsdlBindingOperation) operationsItr
              .next();
          org.xmlpull.infoset.XmlElement input = wsdlBindingOperation
View Full Code Here

Examples of xsul5.wsdl.WsdlBinding.operations()

            }

            Iterator<WsdlBinding> bindingItr = wsdl.bindings().iterator();
            while (bindingItr.hasNext()) {
                WsdlBinding wsdlBinding = (WsdlBinding) bindingItr.next();
                Iterator<WsdlBindingOperation> operationsItr = wsdlBinding.operations().iterator();
                while (operationsItr.hasNext()) {
                    WsdlBindingOperation wsdlBindingOperation = (WsdlBindingOperation) operationsItr.next();
                    org.xmlpull.infoset.XmlElement input = wsdlBindingOperation.xml().element(INPUT);
                    org.xmlpull.infoset.XmlElement body = input.element(BODY);
                    if (body == null) {
View Full Code Here

Examples of xsul5.wsdl.WsdlBinding.operations()

            }

            Iterator<WsdlBinding> bindingItr = wsdl.bindings().iterator();
            while (bindingItr.hasNext()) {
                WsdlBinding wsdlBinding = (WsdlBinding) bindingItr.next();
                Iterator<WsdlBindingOperation> operationsItr = wsdlBinding.operations().iterator();
                while (operationsItr.hasNext()) {
                    WsdlBindingOperation wsdlBindingOperation = (WsdlBindingOperation) operationsItr.next();
                    org.xmlpull.infoset.XmlElement input = wsdlBindingOperation.xml().element(INPUT);
                    org.xmlpull.infoset.XmlElement body = input.element(BODY);
                    if (body == null) {
View Full Code Here

Examples of xsul5.wsdl.WsdlPortType.operations()

    public static List<WSComponent> createComponents(WsdlDefinitions wsdl)
            throws ComponentException {
        QName portTypeQName = WSDLUtil.getFirstPortTypeQName(wsdl);
        WsdlPortType portType = wsdl.getPortType(portTypeQName.getLocalPart());
        List<WSComponent> components = new ArrayList<WSComponent>();
        for (WsdlPortTypeOperation operation : portType.operations()) {
            String operationName = operation.getOperationName();
            WSComponent component = createComponent(wsdl, portTypeQName,
                    operationName);
            components.add(component);
        }
View Full Code Here

Examples of xsul5.wsdl.WsdlPortType.operations()

    }
   
   
    WsdlPortType portType = WSDLUtil.getfirst(wsdl.portTypes());
    //Thinking that the first operation is the the one that is workflow input
    QName workflowInputMessage = WSDLUtil.getfirst(portType.operations()).getInput().getMessage();
    addCorrelationProperties(wsdl, wsdl.getMessage(workflowInputMessage.getLocalPart()),
        newInputMessage);

  }
View Full Code Here

Examples of xsul5.wsdl.WsdlPortType.operations()

                      LEAD_CONTEXT_HEADER_NS));

      Iterator<WsdlPortType> iterator = wsdl.portTypes().iterator();
      while (iterator.hasNext()) {
        WsdlPortType portType = iterator.next();
        Iterator<WsdlPortTypeOperation> operations = portType
            .operations().iterator();
        while (operations.hasNext()) {
          WsdlPortTypeOperation operation = operations.next();
          WsdlMessagePart leadHeaderPart = new WsdlMessagePart(
              LEAD_HEADER);
View Full Code Here

Examples of xsul5.wsdl.WsdlPortType.operations()

   */
  public static String getFirstOperationName(WsdlDefinitions definitions,
      QName portTypeQName) throws ComponentException {
    WsdlPortType portType = definitions.getPortType(portTypeQName
        .getLocalPart());
    for (WsdlPortTypeOperation operation : portType.operations()) {
      String operationName = operation.getOperationName();

      // XXX Temporary solution to skip some GFac specific operations.
      if ("Shutdown".equals(operationName)) {
        continue;
View Full Code Here

Examples of xsul5.wsdl.WsdlPortType.operations()

            wsdl.xml().declareNamespace(BUILDER.newNamespace(LC, LEAD_CONTEXT_HEADER_NS));

            Iterator<WsdlPortType> iterator = wsdl.portTypes().iterator();
            while (iterator.hasNext()) {
                WsdlPortType portType = iterator.next();
                Iterator<WsdlPortTypeOperation> operations = portType.operations().iterator();
                while (operations.hasNext()) {
                    WsdlPortTypeOperation operation = operations.next();
                    WsdlMessagePart leadHeaderPart = new WsdlMessagePart(LEAD_HEADER);
                    leadHeaderPart.setName(LEAD_HEADER);
                    // we hand set this element to xml because when you use the
View Full Code Here

Examples of xsul5.wsdl.WsdlPortType.operations()

    public static List<WSComponent> createComponents(WsdlDefinitions wsdl) throws ComponentException {
        List<WSComponent> components = new ArrayList<WSComponent>();
        try {
            QName portTypeQName = WSDLUtil.getFirstPortTypeQName(wsdl);
            WsdlPortType portType = wsdl.getPortType(portTypeQName.getLocalPart());
            for (WsdlPortTypeOperation operation : portType.operations()) {
                String operationName = operation.getOperationName();
                WSComponent component = createComponent(wsdl, portTypeQName, operationName);
                components.add(component);
            }
        } catch (Exception e) {
View Full Code Here

Examples of xsul5.wsdl.WsdlPortType.operations()

     * @return The name of the first operation in a given portType.
     * @throws UtilsException
     */
    public static String getFirstOperationName(WsdlDefinitions definitions, QName portTypeQName) throws UtilsException {
        WsdlPortType portType = definitions.getPortType(portTypeQName.getLocalPart());
        for (WsdlPortTypeOperation operation : portType.operations()) {
            String operationName = operation.getOperationName();

            // XXX Temporary solution to skip some GFac specific operations.
            if ("Shutdown".equals(operationName)) {
                continue;
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.