Package org.apache.axis2.client

Examples of org.apache.axis2.client.MessageSender.engageModule()


            client.getOptions().setSoapVersionURI(this.soapVersion);
            if (this.addressingNs != null) {
                client.getOptions().setProperty(AddressingConstants.WS_ADDRESSING_VERSION, this.addressingNs);
            }
            client.engageModule("addressing");
            client.engageModule("rampart");

            this.processPolicy(issuerPolicy, null);

            String tokenType = RahasConstants.TOK_TYPE_SAML_10;
View Full Code Here


        }

        //Set the action
        client.getOptions().setAction(action);
        client.getOptions().setTo(new EndpointReference(issuerAddress));
        client.engageModule("rampart");
        return client;
    }

    /**
     * @param result
View Full Code Here

        ConfigurationContext configContext = ConfigurationContextFactory.
                createConfigurationContextFromFileSystem(repository, null);
        ServiceClient serviceClient = new ServiceClient(configContext, null);


        serviceClient.engageModule("addressing");
        serviceClient.engageModule("rampart");

        return serviceClient;

    }
View Full Code Here

                createConfigurationContextFromFileSystem(repository, null);
        ServiceClient serviceClient = new ServiceClient(configContext, null);


        serviceClient.engageModule("addressing");
        serviceClient.engageModule("rampart");

        return serviceClient;

    }
View Full Code Here

    opts.setTimeOutInMilliSeconds(getTimeoutInMilliSeconds());

    ServiceClient client = new ServiceClient();
    try {
      client
          .engageModule(MsgBoxCommonConstants.AXIS_MODULE_NAME_ADDRESSING);
      if (logger.isDebugEnabled())
        logger.debug("Addressing module engaged");
    } catch (AxisFault e) {
      if (logger.isDebugEnabled())
View Full Code Here

        + "createMsgBox");

    opts.setTimeOutInMilliSeconds(getTimeoutInMilliSeconds());
    ServiceClient client = new ServiceClient();
    try {
      client
          .engageModule(MsgBoxCommonConstants.AXIS_MODULE_NAME_ADDRESSING);
      if (logger.isDebugEnabled())
        logger.debug("Addressing module engaged");
    } catch (AxisFault e) {
      if (logger.isDebugEnabled())
View Full Code Here

        + "storeMessages");

    opts.setTimeOutInMilliSeconds(getTimeoutInMilliSeconds());
    ServiceClient client = new ServiceClient();
    try {
      client
          .engageModule(MsgBoxCommonConstants.AXIS_MODULE_NAME_ADDRESSING);
      if (logger.isDebugEnabled())
        logger.debug("Addressing module engaged");
    } catch (AxisFault e) {
      if (logger.isDebugEnabled())
View Full Code Here

        + message.getLocalName());

    opts.setTimeOutInMilliSeconds(getTimeoutInMilliSeconds());
    ServiceClient client = new ServiceClient();
    try {
      client
          .engageModule(MsgBoxCommonConstants.AXIS_MODULE_NAME_ADDRESSING);
      if (logger.isDebugEnabled())
        logger.debug("Addressing module engaged");
    } catch (AxisFault e) {
      if (logger.isDebugEnabled())
View Full Code Here

            clientOptions.setSoapVersionURI(this.soapVersion);
            clientOptions.setCallTransportCleanup(true);
            if(this.addressingNs != null) {
                clientOptions.setProperty(AddressingConstants.WS_ADDRESSING_VERSION, this.addressingNs);
            }
            client.engageModule("addressing");
            client.engageModule("rampart");

            //Process the STS and service policy policy
            this.processPolicy(issuerPolicy, servicePolicy);
           
View Full Code Here

            clientOptions.setCallTransportCleanup(true);
            if(this.addressingNs != null) {
                clientOptions.setProperty(AddressingConstants.WS_ADDRESSING_VERSION, this.addressingNs);
            }
            client.engageModule("addressing");
            client.engageModule("rampart");

            //Process the STS and service policy policy
            this.processPolicy(issuerPolicy, servicePolicy);
           
            OMElement response = client.sendReceive(rstQn,
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.