/** * Instantiates ClaimMetadataAdminClient * * @param cookie For session management * @param backendServerURL URL of the back end server where ClaimManagementServiceStub is running. * @param configCtx ConfigurationContext * @throws org.apache.axis2.AxisFault if error occurs when instantiating the stub */ public ClaimMetadataAdminClient(String cookie, String backendServerURL, ConfigurationContext configCtx) throws AxisFault { String serviceURL = backendServerURL + "ClaimMetadataManagementService"; stub = new ClaimMetadataManagementServiceStub(configCtx, serviceURL); ServiceClient client = stub._getServiceClient(); Options option = client.getOptions(); option.setManageSession(true); option.setProperty(org.apache.axis2.transport.http.HTTPConstants.COOKIE_STRING, cookie); }
/** * Instantiates ClaimMetadataMgtServiceClient * * @param cookie For session management * @param backendServerURL URL of the back end server where ClaimManagementServiceStub is running. * @param configCtx ConfigurationContext * @throws org.apache.axis2.AxisFault if error occurs when instantiating the stub */ public ClaimMetadataMgtServiceClient(String cookie, String backendServerURL, ConfigurationContext configCtx) throws AxisFault { String serviceURL = backendServerURL + "ClaimMetadataManagementService"; stub = new ClaimMetadataManagementServiceStub(configCtx, serviceURL); ServiceClient client = stub._getServiceClient(); Options option = client.getOptions(); option.setManageSession(true); option.setProperty(org.apache.axis2.transport.http.HTTPConstants.COOKIE_STRING, cookie); }
/** * Instantiates ClaimMetadataAdminClient * * @param cookie For session management * @param backendServerURL URL of the back end server where ClaimManagementServiceStub is running. * @param configCtx ConfigurationContext * @throws org.apache.axis2.AxisFault if error occurs when instantiating the stub */ public ClaimDataAdminClient(String cookie, String backendServerURL, ConfigurationContext configCtx) throws AxisFault { String serviceURL = backendServerURL + SERVICE; stub = new ClaimMetadataManagementServiceStub(configCtx, serviceURL); ServiceClient client = stub._getServiceClient(); Options option = client.getOptions(); option.setManageSession(true); option.setProperty(org.apache.axis2.transport.http.HTTPConstants.COOKIE_STRING, cookie); }
/** * Instantiates ClaimMetadataAdminClient * * @param cookie For session management * @param backendServerURL URL of the back end server where ClaimManagementServiceStub is running. * @param configCtx ConfigurationContext * @throws AxisFault if error occurs when instantiating the stub */ public ClaimMetadataAdminClient(String cookie, String backendServerURL, ConfigurationContext configCtx) throws AxisFault { String serviceURL = backendServerURL + "ClaimMetadataManagementService"; stub = new ClaimMetadataManagementServiceStub(configCtx, serviceURL); ServiceClient client = stub._getServiceClient(); Options option = client.getOptions(); option.setManageSession(true); option.setProperty(org.apache.axis2.transport.http.HTTPConstants.COOKIE_STRING, cookie); }
/** * Instantiates ClaimMetadataAdminClient * * @param cookie For session management * @param backendServerURL URL of the back end server where ClaimManagementServiceStub is running. * @param configCtx ConfigurationContext * @throws org.apache.axis2.AxisFault if error occurs when instantiating the stub */ public ClaimDataAdminClient(String cookie, String backendServerURL, ConfigurationContext configCtx) throws AxisFault { String serviceURL = backendServerURL + SERVICE; stub = new ClaimMetadataManagementServiceStub(configCtx, serviceURL); ServiceClient client = stub._getServiceClient(); Options option = client.getOptions(); option.setManageSession(true); option.setProperty(org.apache.axis2.transport.http.HTTPConstants.COOKIE_STRING, cookie); }