[jira] [Commented] (XMLBEANS-555) too many constants

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (XMLBEANS-555) too many constants

PJ Fanning (Jira)

    [ https://issues.apache.org/jira/browse/XMLBEANS-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17283869#comment-17283869 ]

Andreas Beeker commented on XMLBEANS-555:
-----------------------------------------

So 3.1.0 only generates xget*Array() methods and no xget*List() method opposed to 4.0.0. I'll try make the generation configurable.

For the current case, the problem is really the WSDL - the generated implementation file has ~700k lines and heaps of named lists with ascending numbers like AdditionalBorrower8AddressLine1. The WSDL seems to be auto-generated and the annotation description in singular seems not to match with the element being plural, i.e. maxOccurs="unbounded"

> too many constants
> ------------------
>
>                 Key: XMLBEANS-555
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-555
>             Project: XMLBeans
>          Issue Type: Bug
>    Affects Versions: Version 4.0.0
>            Reporter: Sushil Madankar
>            Priority: Critical
>             Fix For: Version 4.0.1
>
>         Attachments: DummyJokerAccountView.wsdl, JokerAccountViewResponseTypeImpl.java.v3.1.0, JokerAccountViewResponseTypeImpl.java.v4.0.0, image-2021-02-08-10-46-23-299.png
>
>
> while generating .jar file out of  .wsdl file which is 2.20 mb in size, having a multiple number of final variables, but it results in the following error:
> error: too many constants
> but it works with version 3.1.0 !image-2021-02-08-10-46-23-299.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]