You are viewing a plain text version of this content. The canonical link for it is here.
Posted to savan-dev@ws.apache.org by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2010/05/29 18:33:38 UTC

[jira] Resolved: (AXIS2-4496) error in C code generation from wsdl

     [ https://issues.apache.org/jira/browse/AXIS2-4496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi resolved AXIS2-4496.
-------------------------------------------------

    Resolution: Won't Fix

please report this issue here[1]

[1] http://ws.apache.org/axis2/c/

> error in C code generation from wsdl 
> -------------------------------------
>
>                 Key: AXIS2-4496
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4496
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.5
>            Reporter: Dominique Villard
>            Priority: Trivial
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> If in the wsdl the element name is followed by blanks (eg. spaces) the generated C code 
> can not be compiled.
> In my wsdl i have the following line:
> <element name="WebmailPreferredVersion " type="xsd:integer" minOccurs="0"/>
> which gives rise to:
>         axis2_bool_t AXIS2_CALL
>         adb_PreferencesData_type0_is_WebmailPreferredVersion _nil(
>                 adb_PreferencesData_type0_t* _PreferencesData_type0,
>                 const axutil_env_t *env);
> which can not be compiled since there is a space between WebmailPreferredVersion and _nil.
> The element name should be trimmed upon code generation.
> I guess that the file to be corrected is:
> CADBBeanTemplateSource.xsl

-- 
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