Package org.apache.wsdl.impl

Examples of org.apache.wsdl.impl.WSDLInterfaceImpl


    public WSDLInclude createInclude() {
        return new WSDLIncludeImpl();
    }

    public WSDLInterface createInterface() {
        return new WSDLInterfaceImpl();
    }
View Full Code Here


    public ServiceDescription(WSDLServiceImpl serviceimpl){
        this.serviceimpl = serviceimpl;
        this.wasaction_opeartionmap = new HashMap();
        this.setComponentProperty(MODULEREF_KEY, new ArrayList());
        this.setComponentProperty(PARAMETER_KEY, new ParameterIncludeImpl());
        this.setServiceInterface(new WSDLInterfaceImpl());
         moduleConfigmap = new HashMap();
    }
View Full Code Here

    public ServiceDescription() {
        this.serviceimpl = new WSDLServiceImpl();
        this.wasaction_opeartionmap = new HashMap();
        this.setComponentProperty(MODULEREF_KEY, new ArrayList());
        this.setComponentProperty(PARAMETER_KEY, new ParameterIncludeImpl());
        this.setServiceInterface(new WSDLInterfaceImpl());
         moduleConfigmap = new HashMap();
    }
View Full Code Here

        WSDLInterface intfc;
        WSDLInterface[] array = new WSDLInterface[5];
        int interfaceCounter = 5;
        int operationCounter = 5;
        for (int j = 0; j < interfaceCounter; j++) {
            intfc = new WSDLInterfaceImpl();
            intfc.setName(new QName(WSDLConstants.WSDL2_0_NAMESPACE, "inteface"
                    + j));
            for (int i = 0; i < operationCounter; i++) {
                op = new WSDLOperationImpl();
                op.setName(
View Full Code Here

        WSDLInterface intfc;
        WSDLInterface[] array = new WSDLInterface[5];
        int interfaceCounter = 5;
        int operationCounter = 5;
        for (int i = 0; i < interfaceCounter; i++) {
            intfc = new WSDLInterfaceImpl();
            for (int j = 0; j < operationCounter; j++) {
                op = new WSDLOperationImpl();
                op.setName(new QName(WSDLConstants.WSDL1_1_NAMESPACE,
                        "operation" + j));
                intfc.setOperation(op);
            }
            intfc.setName(new QName(WSDLConstants.WSDL2_0_NAMESPACE,
                    "Interface" + i));
            array[i] = intfc;
        }
        WSDLInterface inheritedInterface = new WSDLInterfaceImpl();
        for (int i = 0; i < array.length; i++) {
            inheritedInterface.addSuperInterface(array[i]);
        }
        assertEquals(inheritedInterface.getAllOperations().size(), 5);

    }
View Full Code Here

    public AxisService(WSDLServiceImpl serviceimpl) {
        this.serviceimpl = serviceimpl;
        this.wasaction_opeartionmap = new HashMap();
        this.setComponentProperty(PARAMETER_KEY, new ParameterIncludeImpl());
        this.setServiceInterface(new WSDLInterfaceImpl());
        moduleConfigmap = new HashMap();

    }
View Full Code Here

    public AxisService() {
        this.serviceimpl = new WSDLServiceImpl();
        this.wasaction_opeartionmap = new HashMap();
        this.setComponentProperty(PARAMETER_KEY, new ParameterIncludeImpl());
        this.setServiceInterface(new WSDLInterfaceImpl());
        moduleConfigmap = new HashMap();
    }
View Full Code Here

        return new AxisService();
    }


    public WSDLInterface createInterface() {
        return new WSDLInterfaceImpl();
    }
View Full Code Here

    WSDLInterface intfc;
    WSDLInterface[] array = new WSDLInterface[5];
    int interfaceCounter = 5;
    int operationCounter = 5;
    for (int j = 0; j < interfaceCounter; j++) {
      intfc = new WSDLInterfaceImpl();
      intfc.setName(new QName(WSDLConstants.WSDL2_0_NAMESPACE, "inteface"
          + j));
      for (int i = 0; i < operationCounter; i++) {
        op = new WSDLOperationImpl();
        op.setName(new QName(WSDLConstants.WSDL1_1_NAMESPACE, "op" + i
View Full Code Here

    WSDLInterface intfc;
    WSDLInterface[] array = new WSDLInterface[5];
    int interfaceCounter = 5;
    int operationCounter = 5;
    for (int i = 0; i < interfaceCounter; i++) {
      intfc = new WSDLInterfaceImpl();
      for (int j = 0; j < operationCounter; j++) {
        op = new WSDLOperationImpl();
        op.setName(new QName(WSDLConstants.WSDL1_1_NAMESPACE,
            "operation" + j));
        intfc.setOperation(op);
      }
      intfc.setName(new QName(WSDLConstants.WSDL2_0_NAMESPACE,
          "Interface" + i));
      array[i] = intfc;
    }
    WSDLInterface inheritedInterface = new WSDLInterfaceImpl();
    for (int i = 0; i < array.length; i++) {
      inheritedInterface.addSuperInterface(array[i]);
    }
    assertEquals(inheritedInterface.getAllOperations().size(), 5);

  }
View Full Code Here

TOP

Related Classes of org.apache.wsdl.impl.WSDLInterfaceImpl

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.