OMElement result = null;
try {
AuthenticateStub authenticateStub = new AuthenticateStub();
ConfigServiceAdminStub configServiceAdminStub = new ConfigServiceAdminStub("https://" + FrameworkSettings.HOST_NAME + ":" + FrameworkSettings.HTTPS_PORT + "/services/ConfigServiceAdmin");
authenticateStub.authenticateAdminStub(configServiceAdminStub, sessionCookie);
ArtifactReader artifactReader = new ArtifactReader();
String xmlPath = frameworkPath + File.separator + "components" + File.separator + "mediators-property"
+ File.separator + "src" + File.separator + "test" + File.separator + "resources" + File.separator + "setProperty" + File.separator + "setScope" + File.separator + "synapseScope" + File.separator + "synapse.xml";
OMElement omElement = artifactReader.getOMElement(SetScopeSynapseTest.class.getResource("/getProperty/synapseScope/synapse.xml").getPath());
configServiceAdminStub.updateConfiguration(omElement);
/*Sending a StockQuoteClient request*/
if (FrameworkSettings.STRATOS.equalsIgnoreCase("false")) {
result = stockQuoteClient.stockQuoteClientforProxy("http://" + FrameworkSettings.HOST_NAME + ":" + FrameworkSettings.HTTP_PORT, null, "IBM");
} else if (FrameworkSettings.STRATOS.equalsIgnoreCase("true")) {