using/not using generate-all generates different adb beans
----------------------------------------------------------

                 Key: AXIS2-3988
                 URL: https://issues.apache.org/jira/browse/AXIS2-3988
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: codegen
    Affects Versions: 1.4
         Environment: Axis 2 1.4, JDK 1.6.0_05, Windows Vista
            Reporter: Ryan Choi


i am generating the code for the attached WSDL using the following ant 
definition:

                <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
                        <classpath refid="axis2.classpath" />
                        <arg value="-d" />
                        <arg value="adb" />
                        <arg value="-uri" />
                        <arg file="${api.wsdl}" />
                        <arg value="-ss" />
                        <arg value="-sd" />
                        <!--
                        <arg value="-g" />
                        -->
                        <arg value="-o" />
                        <arg file="${api.generated.server}" />
                </java>

When I exclude the -g (generate-all) option, the generated bean for the Account 
object handles the parent ZObject's fieldsToNull and Id fields properly in the 
Account object itself. When I include the -g option, the handling of the 
fieldsToNull and Id fields no longer appears in the Account object. 

I have also included a diff of the two generated Account objects, in case that 
will help with the investigation.

Thanks!

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to