[
https://issues.apache.org/jira/browse/AXIS2-3988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625944#action_12625944
]
Ryan Choi commented on AXIS2-3988:
----------------------------------
thanks for the quick reply!
in the zip file, there is an html diff. at line 921 (on the left), you can see
the localFieldsToNullTracker and localIdTracker support. in the right side,
this is missing. also, at line 2012 (on the left), there is fieldsToNull and Id
parsing. in the right, it is missing.
i believe this latter issue is the cause i am facing. the -g code does not
handle an incoming "Id" field, and therefore chokes, giving a response
"unexpected subelement Id" or something similar. (i will re-produce the exact
error message and post it here.)
as a side note, i just updated to axis 1.4.1, and i see the same issue.
> 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]