axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Chinthaka Suriarachchi (JIRA)" <>
Subject [jira] Resolved: (AXIS2-2949) ADB: Wrong variable name in Factory class generated from XSD file
Date Wed, 18 Jul 2007 09:34:04 GMT


Amila Chinthaka Suriarachchi resolved AXIS2-2949.

    Resolution: Fixed

this is already fixed. if you see any problems still please reopen the wsdl file

> ADB: Wrong variable name in Factory class generated from XSD file
> -----------------------------------------------------------------
>                 Key: AXIS2-2949
>                 URL:
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.2
>         Environment: Fedora, Eclipse 3.2, codegen as ant-task
>            Reporter: Łukasz Zaręba
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments:
> The problem occurs when processing WSDL file which imports types from external schema
file (XSD file looks like it was generated by .NET).
> When using ADB binding codegen generates variables with incorrect names. Variable names
are linked to attribute names, and contain '-' characters. All errors occur in parse method
of the Factory class. Example of generated code:
>                     // handle attribute "order-wlr-service-package_Id_0"
>                     java.lang.String tempAttriborder-wlr-service-package_Id_0 =  reader.getAttributeValue("","order-wlr-service-package_Id_0");
> The corresponding XSD file fragment:
>                   <xs:attribute msprop:Generator_UserColumnName="order-wlr-service-package_Id_0"
msprop:Generator_ColumnVarNameInTable="_columnorder_wlr_service_package_Id_0" msprop:Generator_ColumnPropNameInRow="_order_wlr_service_package_Id_0"
msprop:Generator_ColumnPropNameInTable="_order_wlr_service_package_Id_0Column" name="order-wlr-service-package_Id_0"
type="xs:int" use="prohibited" />

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:
For additional commands, e-mail:

View raw message