Hi Dushan,
Current implementation of the SecureAxisServiceClient use default axis2
configuration and we do not set specific axis2.xml when
creating ConfigurationContext. so you can create a
SecureServiceClient with specific axis2 configuration. Please refer
[1] for existing
client.

configurationContext = ConfigurationContextFactory.
createConfigurationContextFromFileSystem(
                    FrameworkPathUtil.getSystemResourceLocation() +
File.separator
+ "client", null);

Here you can set the axis2.xml file path as bellow.

configurationContext = ConfigurationContextFactory.
createConfigurationContextFromFileSystem(
                    FrameworkPathUtil.getSystemResourceLocation() +
File.separator
+ "client", axisxmlFIlePath);

[1]
https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/platform-integration/test-automation-framework/4.2.5/org.wso2.carbon.automation.utils/src/main/java/org/wso2/carbon/automation/utils/axis2client/SecureAxisServiceClient.java

Thanks,
Nuwanw


On Sun, Jul 20, 2014 at 12:12 AM, Dushan Abeyruwan <[email protected]> wrote:

> Hi
> Running  ProxyServiceSecurityTestCase, How can I inject customized
> axis2.xml to SecureServiceClient  is this configurable?
>
>
> https://svn.wso2.com/wso2/custom/projects/projects/carbon/turing/platform/trunk/products/esb/4.8.1/modules/integration/tests-service/src/test/java/org/wso2/carbon/esb/proxyservice/test/secureProxy
>
> Cheers,
> Dushan Abeyruwan | Associate Tech Lead
> Integration Technologies Team
> PMC Member Apache Synpase
> WSO2 Inc. http://wso2.com/
> Blog:http://dushansview.blogspot.com/
> Mobile:(0094)713942042
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Nuwan Wimalasekara
Senior Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to