[
https://issues.apache.org/jira/browse/AXIS2C-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Damitha Kumarage closed AXIS2C-763.
-----------------------------------
Resolution: Fixed
adding this property does not help when for example a service client is created
from within a service using the services conf_ctx. In that case you can't
defferenciate whether it is the server or the client.
However adding this property do no harm. So let it be there.
> Adding AXIS2_IS_SVR_SIDE property to axis2_build_conf_ctx and
> axis2_build_client_conf_ctx
> -----------------------------------------------------------------------------------------
>
> Key: AXIS2C-763
> URL: https://issues.apache.org/jira/browse/AXIS2C-763
> Project: Axis2-C
> Issue Type: Bug
> Reporter: Damitha Kumarage
> Assignee: Damitha Kumarage
> Priority: Trivial
> Fix For: 1.2.0
>
>
> I am adding following lines to axis2_build_conf_ctx function
> conf_ctx_base = axis2_conf_ctx_get_base(conf_ctx, env);
> property = axutil_property_create_with_args(env, 2, 0, 0,
> AXIS2_VALUE_TRUE);
> axis2_ctx_set_property(conf_ctx_base, env, AXIS2_IS_SVR_SIDE, property);
> and adding following to axis2_build_client_conf_ctx function
> conf_ctx_base = axis2_conf_ctx_get_base(conf_ctx, env);
> property = axutil_property_create_with_args(env, 2, 0, 0,
> AXIS2_VALUE_FALSE);
> axis2_ctx_set_property(conf_ctx_base, env, AXIS2_IS_SVR_SIDE, property);
> This is needed in sandesha2c to identify whether to create a client database
> or a server database.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]