Package org.apache.axis2.client

Examples of org.apache.axis2.client.Call.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


            client.getServiceContext().setProperty(RAMPART_POLICY, issuerPolicy);
            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

            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

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.