Enum value and element name conflict #152

Closed
sledorze opened this Issue Apr 12, 2012 · 10 comments

Comments

Projects
None yet
2 participants

Trying to generate and compile a wsdl file containing both a 'LOGIN' enumeration and a 'login' element fails on windows.
One just overwrite the other.
It should be handled in a proper way enforcing freshnames when appropriate to remain usable.
Would be happy to get some love for this one!

Owner

eed3si9n commented Apr 12, 2012

It does usually try to manage the name collisions. I'll look into this.

..stuck..

On Thu, Apr 12, 2012 at 8:32 PM, Stephane Le Dorze <
stephane.ledorze@gmail.com> wrote:

Oh that would be very nice; I can provide the wsdl if you want..
..I'm kinda stuff due to this clash .. :\

2012/4/12 eugene yokota <
reply@reply.github.com

It does usually try to manage the name collisions. I'll look into this.


Reply to this email directly or view it on GitHub:
#152 (comment)

Stphane Le Dorze

http://lambdabrella.blogspot.com/
http://www.linkedin.com/in/stephaneledorze
http://twitter.com/stephaneledorzehttps://twitter.com/#!/stephaneledorze/status/74020060125077504

Tel: +33 (0) 6 08 76 70 15

Stphane Le Dorze

http://lambdabrella.blogspot.com/
http://www.linkedin.com/in/stephaneledorze
http://twitter.com/stephaneledorzehttps://twitter.com/#!/stephaneledorze/status/74020060125077504

Tel: +33 (0) 6 08 76 70 15

Oh that would be very nice; I can provide the wsdl if you want..
..I'm kinda stuff due to this clash .. :\

2012/4/12 eugene yokota <
reply@reply.github.com

It does usually try to manage the name collisions. I'll look into this.


Reply to this email directly or view it on GitHub:
#152 (comment)

Stphane Le Dorze

http://lambdabrella.blogspot.com/
http://www.linkedin.com/in/stephaneledorze
http://twitter.com/stephaneledorzehttps://twitter.com/#!/stephaneledorze/status/74020060125077504

Tel: +33 (0) 6 08 76 70 15

Owner

eed3si9n commented Apr 12, 2012

Any data to help me reproduce the bug would be greatly appreciated.

sledorze closed this Apr 12, 2012

Sure! :)
done: https://github.com/sledorze/WSDL---failing-for-scalaxb

2012/4/12 eugene yokota <
reply@reply.github.com

Any data to help me reproduce the bug would be greatly appreciated.


Reply to this email directly or view it on GitHub:
#152 (comment)

Stphane Le Dorze

http://lambdabrella.blogspot.com/
http://www.linkedin.com/in/stephaneledorze
http://twitter.com/stephaneledorzehttps://twitter.com/#!/stephaneledorze/status/74020060125077504

Tel: +33 (0) 6 08 76 70 15

sledorze reopened this Apr 12, 2012

Quick message just to be sure it's still considered as a bug as I've inadvertedly closed it and just reopened it afterwhile.

Owner

eed3si9n commented Apr 25, 2012

The generated code was failing for completely different reason than what you described.
I was able to generate code using 0.7.1-SNAPSHOT, which does include some bug fixes regarding RPC style web services, and compile it. See https://github.com/eed3si9n/scalaxb-sample/tree/betfair/betfair

eed3si9n closed this Apr 25, 2012

Oh Good!
okay will check that in the next week or so.

Curious what was the reason; namepace???

2012/4/25 eugene yokota <
reply@reply.github.com

The generated code was failing for completely different reason than what
you described.
I was able to generate code using 0.7.1-SNAPSHOT, which does include some
bug fixes regarding RPC style web services, and compile it. See
https://github.com/eed3si9n/scalaxb-sample/tree/betfair/betfair


Reply to this email directly or view it on GitHub:
#152 (comment)

Stéphane Le Dorze

http://lambdabrella.blogspot.com/
http://www.linkedin.com/in/stephaneledorze
http://twitter.com/stephaneledorzehttps://twitter.com/#!/stephaneledorze/status/74020060125077504

Tel: +33 (0) 6 08 76 70 15

Owner

eed3si9n commented Apr 25, 2012

I didn't dig completely, but I am guessing it was fixed with #153.

very late on this reply (project was stopped).
the issue is fixed indeed.. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment