Examples of BrokerManagerAdminServiceStub


Examples of org.wso2.carbon.brokermanager.stub.BrokerManagerAdminServiceStub

       ConfigurationContext configContext = (ConfigurationContext) config.getServletContext()
                      .getAttribute(CarbonConstants.CONFIGURATION_CONTEXT);
              //Server URL which is defined in the server.xml
              String serverURL = CarbonUIUtil.getServerURL(config.getServletContext(),
                      session) + "BrokerManagerAdminService.BrokerManagerAdminServiceHttpsSoap12Endpoint";
              BrokerManagerAdminServiceStub stub = new BrokerManagerAdminServiceStub(configContext, serverURL);

              String cookie = (String) session.getAttribute(org.wso2.carbon.utils.ServerConstants.ADMIN_SERVICE_COOKIE);

              ServiceClient client = stub._getServiceClient();
              Options option = client.getOptions();
              option.setManageSession(true);
              option.setProperty(org.apache.axis2.transport.http.HTTPConstants.COOKIE_STRING, cookie);

//        String backendServerURL = CarbonUIUtil.getServerURL(config.getServletContext(), session);
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.