We call this "round tripping" and in most cases this works.  

In many cases the meta-data that we emit in to the Java data types will fill in info 
to the WSDL.  But, in several places you do not get the exact WSDL you started with 
because the Java binding of some of the XML Schema data types are "lossy".  We don't 
emit meta-data in the Java code because it is not needed or isn't supported (yet).


Tom Jordahl
Macromedia Server Development

-----Original Message-----
From: Wes Devauld [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 29, 2003 6:55 PM
To: [EMAIL PROTECTED]
Subject: End-to-End with WSDL2Java, and Java2WSDL

Is there any reason why I shouldn't be able to use WSDL2Java to generate
Java classes for the embedded schema and stubs for the service, and then run
Java2WSDL on the Stub class and recreate the original WSDL document?




Thanks,


-Wes


Reply via email to