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 14:44:20 UTC
[jira] Updated: (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=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