Hi Madhawa,

I wrote a TestCase for ESB and in there we can set like below. Hope this
will help you to get some idea :)

private ServerConfigurationManager configManager;
> @BeforeClass(alwaysRun = true)
> public void setEnvironment() throws Exception {
>     ...
>     File customAxisConfig = new File(path_to_axis2.xml);
>     configManager = new ServerConfigurationManager(
> esbServer.getBackEndUrl());
>     configManager.applyConfiguration(customAxisConfig);
>     ...
> }


Thanks
/Thusitha

On Sat, Jun 6, 2015 at 8:43 AM, Madhawa Gunasekara <[email protected]>
wrote:

> Hi All,
>
> I am writing a test case for DSS 3.2.2 to test the
> org.apache.axis2.json.JSONMessageFormatter (old json formatter) for some
> queries, In default configurations DSS3.2.2 uses
> org.apache.axis2.json.gson.JsonFormatter as json formatter.
> Therefore I think, I need to replace the axis.xml in test scope. How can I
> do it in DSS 3.2.2 ?
>
> Any help on this is highly appreciated.
>
> Thanks,
> Madhawa
>
> --
> *Madhawa Gunasekara*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 719411002 <+94+719411002>
> blog: *http://madhawa-gunasekara.blogspot.com
> <http://madhawa-gunasekara.blogspot.com>*
> linkedin: *http://lk.linkedin.com/in/mgunasekara
> <http://lk.linkedin.com/in/mgunasekara>*
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thusitha Dayaratne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog      alokayasoya.blogspot.com
About    http://about.me/thusithathilina
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to