You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Damitha Kumarage (JIRA)" <ji...@apache.org> on 2006/10/05 07:25:19 UTC
[jira] Created: (AXIS2C-324) adding methods set_target_endpoint_ref
and get_target_endpoint_ref to axis2_svc_client
adding methods set_target_endpoint_ref and get_target_endpoint_ref to axis2_svc_client
--------------------------------------------------------------------------------------
Key: AXIS2C-324
URL: http://issues.apache.org/jira/browse/AXIS2C-324
Project: Axis2-C
Issue Type: Improvement
Components: core/clientapi
Reporter: Damitha Kumarage
Adding following two methods to svc_client. These methods are useful so that one can define the target independantly of
wsa:to. Now the following scenario is possible. I can set the target endpoint as the tcpmon listening at a port and wsa:to as the actual target to send the request at.
/**
* Gets the target endpoint ref.
* @param svc_client pointer to service client struct
* @param env pointer to environment struct
* @return pointer to the endpoint_ref struct. Returns a reference,
* not a cloned copy.
*/
const axis2_endpoint_ref_t *(AXIS2_CALL *
get_target_endpoint_ref)(
const axis2_svc_client_t *svc_client,
const axis2_env_t *env);
/**
* Sets the target endpoint ref. If this is not set then the target
* is deduced from wsa to epr.
* @param svc_client pointer to service client struct
* @param env pointer to environment struct
* @param target_epr pointer to the endpoint_ref struct to be set as
* target. service client takes over the ownership of the struct.
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
axis2_status_t (AXIS2_CALL *
set_target_endpoint_ref)(
axis2_svc_client_t *svc_client,
const axis2_env_t *env,
axis2_endpoint_ref_t *target_epr);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Commented: (AXIS2C-324) adding methods
set_target_endpoint_ref and get_target_endpoint_ref to axis2_svc_client
Posted by "Damitha Kumarage (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2C-324?page=comments#action_12441648 ]
Damitha Kumarage commented on AXIS2C-324:
-----------------------------------------
There is no change to service client. This is just a property set in options. Axis2/java too do something like this. There is no violation of the throry that, WSA to is the target EPR. One can totally disregard this property.
> adding methods set_target_endpoint_ref and get_target_endpoint_ref to axis2_svc_client
> --------------------------------------------------------------------------------------
>
> Key: AXIS2C-324
> URL: http://issues.apache.org/jira/browse/AXIS2C-324
> Project: Axis2-C
> Issue Type: Improvement
> Components: core/clientapi
> Reporter: Damitha Kumarage
>
> I'm adding following two methods to axis2_options
> /**
> * Set the target endpoint reference the receiving end is listening to
> * @param options pointer to options struct
> * @param env pointer to environment struct
> * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
> */
> axis2_status_t (AXIS2_CALL *
> set_target_epr) (
> axis2_options_t *options,
> const axis2_env_t *env,
> axis2_endpoint_ref_t *epr);
> /**
> * Get the target endpoint reference the receiving end is listening to
> * @param options pointer to options struct
> * @param env pointer to environment struct
> * @return endpoint reference the receiving end is listening to
> */
> axis2_endpoint_ref_t *(AXIS2_CALL *
> get_target_epr) (
> const axis2_options_t *options,
> const axis2_env_t *env);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Resolved: (AXIS2C-324) adding methods
set_target_endpoint_ref and get_target_endpoint_ref to axis2_svc_client
Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2C-324?page=all ]
Dinesh Premalal resolved AXIS2C-324.
------------------------------------
Fix Version/s: 0.95
Resolution: Fixed
> adding methods set_target_endpoint_ref and get_target_endpoint_ref to axis2_svc_client
> --------------------------------------------------------------------------------------
>
> Key: AXIS2C-324
> URL: http://issues.apache.org/jira/browse/AXIS2C-324
> Project: Axis2-C
> Issue Type: Improvement
> Components: core/clientapi
> Reporter: Damitha Kumarage
> Assigned To: Dinesh Premalal
> Fix For: 0.95
>
>
> I'm adding following two methods to axis2_options
> /**
> * Set the target endpoint reference the receiving end is listening to
> * @param options pointer to options struct
> * @param env pointer to environment struct
> * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
> */
> axis2_status_t (AXIS2_CALL *
> set_target_epr) (
> axis2_options_t *options,
> const axis2_env_t *env,
> axis2_endpoint_ref_t *epr);
> /**
> * Get the target endpoint reference the receiving end is listening to
> * @param options pointer to options struct
> * @param env pointer to environment struct
> * @return endpoint reference the receiving end is listening to
> */
> axis2_endpoint_ref_t *(AXIS2_CALL *
> get_target_epr) (
> const axis2_options_t *options,
> const axis2_env_t *env);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Assigned: (AXIS2C-324) adding methods
set_target_endpoint_ref and get_target_endpoint_ref to axis2_svc_client
Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2C-324?page=all ]
Dinesh Premalal reassigned AXIS2C-324:
--------------------------------------
Assignee: Dinesh Premalal
> adding methods set_target_endpoint_ref and get_target_endpoint_ref to axis2_svc_client
> --------------------------------------------------------------------------------------
>
> Key: AXIS2C-324
> URL: http://issues.apache.org/jira/browse/AXIS2C-324
> Project: Axis2-C
> Issue Type: Improvement
> Components: core/clientapi
> Reporter: Damitha Kumarage
> Assigned To: Dinesh Premalal
>
> I'm adding following two methods to axis2_options
> /**
> * Set the target endpoint reference the receiving end is listening to
> * @param options pointer to options struct
> * @param env pointer to environment struct
> * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
> */
> axis2_status_t (AXIS2_CALL *
> set_target_epr) (
> axis2_options_t *options,
> const axis2_env_t *env,
> axis2_endpoint_ref_t *epr);
> /**
> * Get the target endpoint reference the receiving end is listening to
> * @param options pointer to options struct
> * @param env pointer to environment struct
> * @return endpoint reference the receiving end is listening to
> */
> axis2_endpoint_ref_t *(AXIS2_CALL *
> get_target_epr) (
> const axis2_options_t *options,
> const axis2_env_t *env);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Commented: (AXIS2C-324) adding methods
set_target_endpoint_ref and get_target_endpoint_ref to axis2_svc_client
Posted by "Damitha Kumarage (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2C-324?page=comments#action_12441069 ]
Damitha Kumarage commented on AXIS2C-324:
-----------------------------------------
I think this can be handled by setting a property in options called AXIS2_TARGET_EPR instead of adding these methods.
> adding methods set_target_endpoint_ref and get_target_endpoint_ref to axis2_svc_client
> --------------------------------------------------------------------------------------
>
> Key: AXIS2C-324
> URL: http://issues.apache.org/jira/browse/AXIS2C-324
> Project: Axis2-C
> Issue Type: Improvement
> Components: core/clientapi
> Reporter: Damitha Kumarage
>
> I'm adding following two methods to axis2_options
> /**
> * Set the target endpoint reference the receiving end is listening to
> * @param options pointer to options struct
> * @param env pointer to environment struct
> * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
> */
> axis2_status_t (AXIS2_CALL *
> set_target_epr) (
> axis2_options_t *options,
> const axis2_env_t *env,
> axis2_endpoint_ref_t *epr);
> /**
> * Get the target endpoint reference the receiving end is listening to
> * @param options pointer to options struct
> * @param env pointer to environment struct
> * @return endpoint reference the receiving end is listening to
> */
> axis2_endpoint_ref_t *(AXIS2_CALL *
> get_target_epr) (
> const axis2_options_t *options,
> const axis2_env_t *env);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Commented: (AXIS2C-324) adding methods
set_target_endpoint_ref and get_target_endpoint_ref to axis2_svc_client
Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2C-324?page=comments#action_12441466 ]
Samisa Abeysinghe commented on AXIS2C-324:
------------------------------------------
What is the difference between "target epr" and "to"? Why cant you use AXIS2_OPTIONS_GET_TO?
> adding methods set_target_endpoint_ref and get_target_endpoint_ref to axis2_svc_client
> --------------------------------------------------------------------------------------
>
> Key: AXIS2C-324
> URL: http://issues.apache.org/jira/browse/AXIS2C-324
> Project: Axis2-C
> Issue Type: Improvement
> Components: core/clientapi
> Reporter: Damitha Kumarage
>
> I'm adding following two methods to axis2_options
> /**
> * Set the target endpoint reference the receiving end is listening to
> * @param options pointer to options struct
> * @param env pointer to environment struct
> * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
> */
> axis2_status_t (AXIS2_CALL *
> set_target_epr) (
> axis2_options_t *options,
> const axis2_env_t *env,
> axis2_endpoint_ref_t *epr);
> /**
> * Get the target endpoint reference the receiving end is listening to
> * @param options pointer to options struct
> * @param env pointer to environment struct
> * @return endpoint reference the receiving end is listening to
> */
> axis2_endpoint_ref_t *(AXIS2_CALL *
> get_target_epr) (
> const axis2_options_t *options,
> const axis2_env_t *env);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Commented: (AXIS2C-324) adding methods
set_target_endpoint_ref and get_target_endpoint_ref to axis2_svc_client
Posted by "Damitha Kumarage (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2C-324?page=comments#action_12441610 ]
Damitha Kumarage commented on AXIS2C-324:
-----------------------------------------
See the change I have done
property = AXIS2_OPTIONS_GET_PROPERTY(op_client_impl->options, env,
AXIS2_TARGET_EPR);
if(property)
to_epr = AXIS2_PROPERTY_GET_VALUE(property, env);
if(!to_epr)
to_epr = AXIS2_OPTIONS_GET_TO(op_client_impl->options, env);
if (!to_epr)
to_epr = AXIS2_MSG_CTX_GET_TO(msg_ctx, env);
transport_out = AXIS2_MEP_CLIENT_INFER_TRANSPORT(op_client_impl->base, env, to_epr);
If we only use AXIS2_OPTIONS_GET_TO which is addressing specific and suppose I want to send to a tcpmon.
then my url is something like http://<host>:5555/axis2/services/<service>. That means wsa:to header is set with
this url which is not correct. But if we use AXIS2_TARGET_EPR property in such cases then it won't affect wsa:to
> adding methods set_target_endpoint_ref and get_target_endpoint_ref to axis2_svc_client
> --------------------------------------------------------------------------------------
>
> Key: AXIS2C-324
> URL: http://issues.apache.org/jira/browse/AXIS2C-324
> Project: Axis2-C
> Issue Type: Improvement
> Components: core/clientapi
> Reporter: Damitha Kumarage
>
> I'm adding following two methods to axis2_options
> /**
> * Set the target endpoint reference the receiving end is listening to
> * @param options pointer to options struct
> * @param env pointer to environment struct
> * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
> */
> axis2_status_t (AXIS2_CALL *
> set_target_epr) (
> axis2_options_t *options,
> const axis2_env_t *env,
> axis2_endpoint_ref_t *epr);
> /**
> * Get the target endpoint reference the receiving end is listening to
> * @param options pointer to options struct
> * @param env pointer to environment struct
> * @return endpoint reference the receiving end is listening to
> */
> axis2_endpoint_ref_t *(AXIS2_CALL *
> get_target_epr) (
> const axis2_options_t *options,
> const axis2_env_t *env);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Commented: (AXIS2C-324) adding methods
set_target_endpoint_ref and get_target_endpoint_ref to axis2_svc_client
Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2C-324?page=comments#action_12440074 ]
Samisa Abeysinghe commented on AXIS2C-324:
------------------------------------------
Again I am -1 on this change. You already have this API through options.
> adding methods set_target_endpoint_ref and get_target_endpoint_ref to axis2_svc_client
> --------------------------------------------------------------------------------------
>
> Key: AXIS2C-324
> URL: http://issues.apache.org/jira/browse/AXIS2C-324
> Project: Axis2-C
> Issue Type: Improvement
> Components: core/clientapi
> Reporter: Damitha Kumarage
>
> Adding following two methods to svc_client. These methods are useful so that one can define the target independantly of
> wsa:to. Now the following scenario is possible. I can set the target endpoint as the tcpmon listening at a port and wsa:to as the actual target to send the request at.
> /**
> * Gets the target endpoint ref.
> * @param svc_client pointer to service client struct
> * @param env pointer to environment struct
> * @return pointer to the endpoint_ref struct. Returns a reference,
> * not a cloned copy.
> */
> const axis2_endpoint_ref_t *(AXIS2_CALL *
> get_target_endpoint_ref)(
> const axis2_svc_client_t *svc_client,
> const axis2_env_t *env);
> /**
> * Sets the target endpoint ref. If this is not set then the target
> * is deduced from wsa to epr.
> * @param svc_client pointer to service client struct
> * @param env pointer to environment struct
> * @param target_epr pointer to the endpoint_ref struct to be set as
> * target. service client takes over the ownership of the struct.
> * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
> */
> axis2_status_t (AXIS2_CALL *
> set_target_endpoint_ref)(
> axis2_svc_client_t *svc_client,
> const axis2_env_t *env,
> axis2_endpoint_ref_t *target_epr);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Updated: (AXIS2C-324) adding methods set_target_endpoint_ref
and get_target_endpoint_ref to axis2_svc_client
Posted by "Damitha Kumarage (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2C-324?page=all ]
Damitha Kumarage updated AXIS2C-324:
------------------------------------
Description:
I'm adding following two methods to axis2_options
/**
* Set the target endpoint reference the receiving end is listening to
* @param options pointer to options struct
* @param env pointer to environment struct
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
axis2_status_t (AXIS2_CALL *
set_target_epr) (
axis2_options_t *options,
const axis2_env_t *env,
axis2_endpoint_ref_t *epr);
/**
* Get the target endpoint reference the receiving end is listening to
* @param options pointer to options struct
* @param env pointer to environment struct
* @return endpoint reference the receiving end is listening to
*/
axis2_endpoint_ref_t *(AXIS2_CALL *
get_target_epr) (
const axis2_options_t *options,
const axis2_env_t *env);
was:
Adding following two methods to svc_client. These methods are useful so that one can define the target independantly of
wsa:to. Now the following scenario is possible. I can set the target endpoint as the tcpmon listening at a port and wsa:to as the actual target to send the request at.
/**
* Gets the target endpoint ref.
* @param svc_client pointer to service client struct
* @param env pointer to environment struct
* @return pointer to the endpoint_ref struct. Returns a reference,
* not a cloned copy.
*/
const axis2_endpoint_ref_t *(AXIS2_CALL *
get_target_endpoint_ref)(
const axis2_svc_client_t *svc_client,
const axis2_env_t *env);
/**
* Sets the target endpoint ref. If this is not set then the target
* is deduced from wsa to epr.
* @param svc_client pointer to service client struct
* @param env pointer to environment struct
* @param target_epr pointer to the endpoint_ref struct to be set as
* target. service client takes over the ownership of the struct.
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
axis2_status_t (AXIS2_CALL *
set_target_endpoint_ref)(
axis2_svc_client_t *svc_client,
const axis2_env_t *env,
axis2_endpoint_ref_t *target_epr);
> adding methods set_target_endpoint_ref and get_target_endpoint_ref to axis2_svc_client
> --------------------------------------------------------------------------------------
>
> Key: AXIS2C-324
> URL: http://issues.apache.org/jira/browse/AXIS2C-324
> Project: Axis2-C
> Issue Type: Improvement
> Components: core/clientapi
> Reporter: Damitha Kumarage
>
> I'm adding following two methods to axis2_options
> /**
> * Set the target endpoint reference the receiving end is listening to
> * @param options pointer to options struct
> * @param env pointer to environment struct
> * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
> */
> axis2_status_t (AXIS2_CALL *
> set_target_epr) (
> axis2_options_t *options,
> const axis2_env_t *env,
> axis2_endpoint_ref_t *epr);
> /**
> * Get the target endpoint reference the receiving end is listening to
> * @param options pointer to options struct
> * @param env pointer to environment struct
> * @return endpoint reference the receiving end is listening to
> */
> axis2_endpoint_ref_t *(AXIS2_CALL *
> get_target_epr) (
> const axis2_options_t *options,
> const axis2_env_t *env);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
Re: [jira] Commented: (AXIS2C-324) adding methods set_target_endpoint_ref
and get_target_endpoint_ref to axis2_svc_client
Posted by Damitha Kumarage <da...@gmail.com>.
Samisa Abeysinghe (JIRA) wrote:
> [ http://issues.apache.org/jira/browse/AXIS2C-324?page=comments#action_12441640 ]
>
>Samisa Abeysinghe commented on AXIS2C-324:
>------------------------------------------
>
>Dealing with situations like the use of tcpmon is not the concern of service client
>
Yes service client need not do any thing. This is just a property set in
options. Setting a property won't make any harm.
>- if there is a to endpoint in addressing, then that has to be the connecting endpoint - if there is a middle man like tcpmon, it should be the responsibility of the middle man to deal with the correct semantics of addressing - otherwise we would have to change our code base to deal with all such situations.
>I dont think even Axis2/Java supports this kind of a situation.
>
What I learnt from Deepal they too can set a property like this
Damitha
> In theoty, WSA to is the target EPR - if we violate that then the code becomes overly complex and difficult to understand.
>
>
>
>
>>adding methods set_target_endpoint_ref and get_target_endpoint_ref to axis2_svc_client
>>--------------------------------------------------------------------------------------
>>
>> Key: AXIS2C-324
>> URL: http://issues.apache.org/jira/browse/AXIS2C-324
>> Project: Axis2-C
>> Issue Type: Improvement
>> Components: core/clientapi
>> Reporter: Damitha Kumarage
>>
>>I'm adding following two methods to axis2_options
>> /**
>> * Set the target endpoint reference the receiving end is listening to
>> * @param options pointer to options struct
>> * @param env pointer to environment struct
>> * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
>> */
>> axis2_status_t (AXIS2_CALL *
>> set_target_epr) (
>> axis2_options_t *options,
>> const axis2_env_t *env,
>> axis2_endpoint_ref_t *epr);
>> /**
>> * Get the target endpoint reference the receiving end is listening to
>> * @param options pointer to options struct
>> * @param env pointer to environment struct
>> * @return endpoint reference the receiving end is listening to
>> */
>> axis2_endpoint_ref_t *(AXIS2_CALL *
>> get_target_epr) (
>> const axis2_options_t *options,
>> const axis2_env_t *env);
>>
>>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Commented: (AXIS2C-324) adding methods
set_target_endpoint_ref and get_target_endpoint_ref to axis2_svc_client
Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2C-324?page=comments#action_12441640 ]
Samisa Abeysinghe commented on AXIS2C-324:
------------------------------------------
Dealing with situations like the use of tcpmon is not the concern of service client - if there is a to endpoint in addressing, then that has to be the connecting endpoint - if there is a middle man like tcpmon, it should be the responsibility of the middle man to deal with the correct semantics of addressing - otherwise we would have to change our code base to deal with all such situations.
I dont think even Axis2/Java supports this kind of a situation. In theoty, WSA to is the target EPR - if we violate that then the code becomes overly complex and difficult to understand.
> adding methods set_target_endpoint_ref and get_target_endpoint_ref to axis2_svc_client
> --------------------------------------------------------------------------------------
>
> Key: AXIS2C-324
> URL: http://issues.apache.org/jira/browse/AXIS2C-324
> Project: Axis2-C
> Issue Type: Improvement
> Components: core/clientapi
> Reporter: Damitha Kumarage
>
> I'm adding following two methods to axis2_options
> /**
> * Set the target endpoint reference the receiving end is listening to
> * @param options pointer to options struct
> * @param env pointer to environment struct
> * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
> */
> axis2_status_t (AXIS2_CALL *
> set_target_epr) (
> axis2_options_t *options,
> const axis2_env_t *env,
> axis2_endpoint_ref_t *epr);
> /**
> * Get the target endpoint reference the receiving end is listening to
> * @param options pointer to options struct
> * @param env pointer to environment struct
> * @return endpoint reference the receiving end is listening to
> */
> axis2_endpoint_ref_t *(AXIS2_CALL *
> get_target_epr) (
> const axis2_options_t *options,
> const axis2_env_t *env);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org