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 "Dimuthu Chathuranga (JIRA)" <ji...@apache.org> on 2006/08/09 10:04:14 UTC
[jira] Commented: (AXIS2C-228) Woden/C doesnt provide the correct
MEP for WSDL1.0
[ http://issues.apache.org/jira/browse/AXIS2C-228?page=comments#action_12426869 ]
Dimuthu Chathuranga commented on AXIS2C-228:
--------------------------------------------
Correction: Code I used to extract Message exchange pattern is as following. The problem is variable mep_uri is always NULL.
axis2_uri_t *mep_uri = NULL;
axis2_char_t *mep_str = NULL;
mep_uri = WODEN_INTERFACE_OP_GET_MSG_EXCHANGE_PATTERN (interface_op, env);
if(mep_uri)
{
mep_str = AXIS2_URI_TO_STRING(mep_uri, env,
AXIS2_URI_UNP_OMITUSERINFO);
}
thanks
Dimuthu
> Woden/C doesnt provide the correct MEP for WSDL1.0
> --------------------------------------------------
>
> Key: AXIS2C-228
> URL: http://issues.apache.org/jira/browse/AXIS2C-228
> Project: Axis2-C
> Issue Type: Bug
> Affects Versions: Current (Nightly)
> Environment: Linux
> Reporter: Dimuthu Chathuranga
> Priority: Minor
>
> Codegen/C is using Woden for wsdl parser. MEP is essential in Codgeneration.
> This is the code I used starting from interface_op
> interface_msg_refs = WODEN_INTERFACE_OP_GET_INTERFACE_MSG_REFS(
> interface_op, env);
> if(interface_msg_refs)
> msg_refs_size = AXIS2_ARRAY_LIST_SIZE(interface_msg_refs, env);
> for(j = 0; j < msg_refs_size; j++)
> {
> interface_msg_ref = AXIS2_ARRAY_LIST_GET(interface_msg_refs, env, j);
> direction = WODEN_WSDL10_INTERFACE_MSG_REF_GET_DIRECTION
> (interface_msg_ref, env);
> str_direction = WODEN_DIRECTION_TO_STRING(direction, env);
> if(0 == AXIS2_STRCMP(str_direction, "in"))
> {
> in = AXIS2_TRUE;
> }
> if(0 == AXIS2_STRCMP(str_direction, "out"))
> {
> out = AXIS2_TRUE;
> }
> }
--
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