Thanks Tom, do you think such a patch can be included in the next release?
Tom Jordahl ha scritto: > I do not believe so. > > I think the problem was that we didn't enforce any order (like the order in > the WSDL) and it could change (like when you switched JDK's). > > I would love to see a patch that included a switch to WSDL2Java that would > enforce either alphabetical or WSDL order for the constructor arguments. > > -- > Tom Jordahl > Adobe ColdFusion Team > > -----Original Message----- > From: Tommaso Martini [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 26, 2006 12:38 PM > To: [email protected] > Subject: Re: Parameters order in Axis generated code > > Ok, is there a way to control this? Maybe some parameter of WSDL2Java? > > Tom Jordahl ha scritto: >> This behavior was code intentionally so that code that is written to >> construct these objects can have a deterministic way of doing so. >> >> So, its not a bug, it is a feature. >> >> -- >> Tom Jordahl >> Adobe ColdFusion Team >> >> -----Original Message----- >> From: Tommaso Martini [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, January 25, 2006 1:04 PM >> To: [email protected] >> Subject: Parameters order in Axis generated code >> >> Hi everyone, >> >> as you reported on http://ws.apache.org/axis/bugs.html, I send this to the >> developer mailing list (I already tried the user list but got no answer). >> >> I use Axis 1.3 (Java version) and I find it great! Anyway I noticed a >> particular >> behavior and I would like to know whether it is a feature or a bug. >> >> I develop web service in a bottom-up approach, so I write the implementation >> class (let's call them "starting classes" for sake of simplicity) and then I >> use >> first Java2WSDL to get the wsdl file and then WSDL2Java to get the deployable >> classes. In the generated classes, however, methods parameters are not >> necessarily in the same order I wrote them in the starting classes, they get >> inserted in alphabetical order. >> >> This caused me a lot of debugging in the past few days, as I didn't know it. >> I have not found information on that, maybe I missed something in the doc? If >> so, can someone direct me to the right section? >> >> Is this a bug? If not, is there any way to control the order of parameters in >> the generated methods? >> >> Thank in advance for the help and for your great work. >> >> Tommaso Martini >> >> >> >> -- >> Email.it, the professional e-mail, gratis per te: http://www.email.it/f >> >> Sponsor: >> Problemi di Liquidità? Con Logos Finanziaria 30.000 € in 24 ore a >> dipendenti e lavoratori autonomi con rimborsi fino a 120 mesi, clicca qui >> * >> Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2911&d=25-1 >> > > > -- > Email.it, the professional e-mail, gratis per te: http://www.email.it/f > > Sponsor: > Partecipa anche tu al concorso di Suzi Wan, potresti essere uno dei > fortunati vincitori! > Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=4628&d=26-1 -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Per la casa dei tuoi sogni, la soluzione è un Credito Casa Findomestic, facile e senza anticipi, clicca qui per realizzare un sogno! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=3932&d=1-2
