Package org.apache.axis2.description

Examples of org.apache.axis2.description.AxisBinding.addChild()


        String soapAction = operation.getSoapAction();
        if (soapAction != null) {
          axisBindingOperation.setProperty(
              WSDL2Constants.ATTR_WSOAP_ACTION, soapAction);
        }
        axisBinding.addChild(axisBindingOperation.getName(),
            axisBindingOperation);
        populateBindingOperation(axisService, axisBinding,
            axisBindingOperation);
      }
      if (bindingCache != null) {
View Full Code Here


        AxisBinding binding = new AxisBinding();
        AxisBindingOperation bindingOp = new AxisBindingOperation();

        bindingOp.setName(axisOp.getName());
        bindingOp.setAxisOperation(axisOp);
        binding.addChild(bindingOp);
        endpoint.setBinding(binding);
        service.addEndpoint(endpoint.getName(), endpoint);
        service.setEndpointName(endpoint.getName());

        service.mapActionToOperation(operationName.getLocalPart(), axisOp);
View Full Code Here

        AxisBinding binding = new AxisBinding();
        AxisBindingOperation bindingOp = new AxisBindingOperation();

        bindingOp.setAxisOperation(axisOp);
        binding.addChild(bindingOp);
        endpoint.setBinding(binding);
        service.addEndpoint(endpoint.getName(), endpoint);
        service.setEndpointName(endpoint.getName());

        service.mapActionToOperation(operationName.getLocalPart(), axisOp);
View Full Code Here

      // setting parent child relationships
      AxisService service = newMessageContext.getAxisService();

      if (service != null && operation != null) {
        service.addChild(operation);
        operation.setParent(service);
      }
     

      OperationContext operationContext = new OperationContext(operation);
View Full Code Here

      } else {
        AxisService axisService = new AxisService("AnonymousRMService");
       
        AxisServiceGroup serviceGroup = newMessageContext.getAxisServiceGroup();
        axisService.setParent(serviceGroup);
        serviceGroup.addChild(axisService);
       
        ServiceContext serviceContext = new ServiceContext(axisService, newMessageContext.getServiceGroupContext());

        newMessageContext.setAxisService(axisService);
        newMessageContext.setServiceContext(serviceContext);
View Full Code Here

      } else {
        AxisService axisService = new AxisService("AnonymousRMService");
       
        AxisServiceGroup serviceGroup = newMessageContext.getAxisServiceGroup();
        axisService.setParent(serviceGroup);
        serviceGroup.addChild(axisService);
       
        ServiceContext serviceContext = new ServiceContext(axisService, newMessageContext.getServiceGroupContext());

        newMessageContext.setAxisService(axisService);
        newMessageContext.setServiceContext(serviceContext);
View Full Code Here

                        "ns1");
        envelope.getBody().addChild(operation);
        operation.addAttribute("soapenv:encordingStyle",
                "http://schemas.xmlsoap.org/soap/encoding/", null);

        operation.addChild(
                getOMElement(omFactory,
                        defNs,
                        "key",
                        "xsd:string",
                        asyncClient.getKey()));
View Full Code Here

                getOMElement(omFactory,
                        defNs,
                        "key",
                        "xsd:string",
                        asyncClient.getKey()));
        operation.addChild(
                getOMElement(omFactory,
                        defNs,
                        "q",
                        "xsd:string",
                        asyncClient.getSearch()));
View Full Code Here

                getOMElement(omFactory,
                        defNs,
                        "q",
                        "xsd:string",
                        asyncClient.getSearch()));
        operation.addChild(
                getOMElement(omFactory,
                        defNs,
                        "start",
                        "xsd:int",
                        str_ST_index));
View Full Code Here

                getOMElement(omFactory,
                        defNs,
                        "start",
                        "xsd:int",
                        str_ST_index));
        operation.addChild(
                getOMElement(omFactory,
                        defNs,
                        "maxResults",
                        "xsd:int",
                        asyncClient.getMaxResults()));
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.