[ https://issues.apache.org/jira/browse/AXIS2-3988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625942#action_12625942 ]
Martin Gainty commented on AXIS2-3988: -------------------------------------- I just gened the Account java both with -g and without -g I only see 2 fields set to null in Account java.lang.String namespaceURI = null; java.lang.String prefix = null; could you be more specific on the difference of behaviour between the 2 Account.java classes? please include location of noted deltas as well as the java classes you generated. thanks, Martin > 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 > Attachments: diff.zip, zuora.wsdl > > > 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]