You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2010/12/25 10:00:47 UTC
[jira] Resolved: (AXIS2-4292) Invalid generated code for
axutil_base64_binary_set_encoded_binary()
[ https://issues.apache.org/jira/browse/AXIS2-4292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amila Chinthaka Suriarachchi resolved AXIS2-4292.
-------------------------------------------------
Resolution: Invalid
please report this issue under the Axis2 C jira.
> Invalid generated code for axutil_base64_binary_set_encoded_binary()
> --------------------------------------------------------------------
>
> Key: AXIS2-4292
> URL: https://issues.apache.org/jira/browse/AXIS2-4292
> Project: Axis2
> Issue Type: Bug
> Components: codegen, databinding
> Affects Versions: 1.4.1
> Environment: Axis2 1.4.1
> wsdl2c
> Reporter: Rutger van Eerd
>
> When generating C code from WSDL, erroneous code is generated for to call to axutil_base64_binary_set_encoded_binary(). The argument list is closed after the first argument but the remaining arguments are present.
> Here is the generated code.
> element = (void*)axutil_base64_binary_create(env);
> axutil_base64_binary_set_encoded_binary((axutil_base64_binary_t*)element), env,
> attrib_text);
> adb_Point_set_wkb(_Point,
> env, (axutil_base64_binary_t*)element);
> Here is the gcc error.
> ../autogen/src/adb_Point.c: In function `adb_Point_deserialize':
> ../autogen/src/adb_Point.c:201: error: too few arguments to function `axutil_base64_binary_set_encoded_binary'
> ../autogen/src/adb_Point.c:202: warning: left-hand operand of comma expression has no effect
> ../autogen/src/adb_Point.c:202: error: syntax error before ')' token
> .
> It can be easily fixed by removing the extra closing parenthesis after "(axutil_base64_binary_t*)element)" and before ", env".
--
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org