One thing that didn't become clear for me during this thread is why 
people are using java2wsdl at all. When I started with Axis and web 
services, I, too, had the idea of making Axis generate the "right" WSDL 
for me automagically. I've given up on this idea since. I don't object 
to generating wsdl from a programming language in general, but to my 
mind, in cases where interoperability is of supreme importance, a WSDL 
definition is the starting point. [1]

The mapping between Java and WSDL involves some loss in either 
direction; the two languages are different in expressiveness and in 
what they emphasize. In particular, I wouldn't expect roundtrip mapping 
to give sensible results.

Michael


[1] http://webservices.xml.com/pub/a/ws/2003/07/22/wsdlfirst.html
-- 
Michael Schuerig                           The more it stays the same,
mailto:[EMAIL PROTECTED]                        The less it changes!
http://www.schuerig.de/michael/      --Spinal Tap, The Majesty of Rock

Reply via email to