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 "Samisa Abeysinghe (JIRA)" <ji...@apache.org> on 2006/10/05 10:55:21 UTC
[jira] Commented: (AXIS2C-324) adding methods
set_target_endpoint_ref and get_target_endpoint_ref to axis2_svc_client
[ 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