[ https://issues.apache.org/jira/browse/AXIS2-3988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086009#comment-13086009 ]
Matt Smith commented on AXIS2-3988: ----------------------------------- Hi, this issue caused me particular frustration but for a different case. Basically, when I added '-g' to my wsdl2java commandline, the ExtensionMapper class was generated differently, and included some derived types that are otherwise missing if you generate without the -g option. It seems strange to have to generate the 'server' code to get all of the schema properly mapping through adb, but maybe it's just my axis2 naivety? > using/not using generate-all generates different adb beans > ---------------------------------------------------------- > > Key: AXIS2-3988 > URL: https://issues.apache.org/jira/browse/AXIS2-3988 > Project: 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. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org