Hi Dims,

In my case, tweaking the WSDL is problematic as I am working on dynamic
test cases. I have a Client class and a web service class. I then would
like to generate the client stubs by pointing the wsdl2java at the
running web service. My problem is that the generated stubs are not what
the client class on top of the stub would expect.

Now I can work around this, but ideally wsdl2java would come back with
the original message's signature (sorry for being a pain ;) The major
concern I have for our particular use case is that the huge number of
parameters generated for INOUTs makes the test cases' signatures harder
to read and thus harder to understand; however, we would like to use the
test cases as part of our documentation/tutorial sections.

Do you think there will be a patch for this in the near future (Axis 1.2
final)? Thanks much.

Cheers,

-michael

-----Original Message-----
From: Davanum Srinivas [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 20, 2004 12:38 PM
To: [EMAIL PROTECTED]
Subject: Re: java2wsdl ant task for document/literal

Michael,

I do advocate starting from WSDL, but i do find it convenient to start
from a java skeleton code and then tweak the wsdl using the wsdl editors
like XMLSPY.

thanks,
dims


On Mon, 20 Dec 2004 21:31:33 +0100, Michael Schuerig
<[EMAIL PROTECTED]> wrote:
> 
> 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
> 


--
Davanum Srinivas - http://webservices.apache.org/~dims/

Reply via email to