----- Original Message -----
From: "Tom Jordahl" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 30, 2002 6:46 AM
Subject: RE: [axis] WSDL2Java enhancements for WSIF


> Anthony,
>
> I would think that a different approach would be much better:
>
> 1. Fix WSDL2Java so that it either ignores or correctly processes the WSDL
you run it.
>
> Then
>
> 2. Enhance WSDL2Java with an API that gives more control over which
artifacts you want/need generated.  This MAY be reasonable to expose on the
command line, but lets not give a poor user too many obscure options. :-)

make it something that you can spec in the ant task and all will be well.
One thing I'd like for that would be some way to determine which files would
be created and so do dependency checking; right now wsdl2java either
regenerates the java files or warns that they exist; for some uses you want
to create the files whenever the sourcei s newer. (its more complex than
that, as GET foo?wsdl usually returns a timestamp of now, but I'm working on
a solution there)


>
> This sounds like the kind of changes that would be more widely beneficial
to everyone, don't you think?
>
> --
> Tom Jordahl
> Macromedia Server Development
>
>
>
> -----Original Message-----
> From: Anthony Elder [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 30, 2002 7:53 AM
> To: [EMAIL PROTECTED]
> Subject: [axis] WSDL2Java enhancements for WSIF
>
>
> In WSIF we use the AXIS WSDL2Java tool to generate the interfaces and
> complex type classes that WSIF requires.
>
> Currently WSDL2Java will always also generate the stub classes that WSIF
> does not require, and also when using WSDL that includes some of the WSIF
> specific bindings WSDL2Java will abend. This isn't a problem as the abend
> happens after the classes WSIF requires have been written out, and its
easy
> enough to delete the stubs WSIF doesn't use, but it would be nice from the
> WSIF perspective if WSDL2Java had a parameter which said to only to
> generate the WSIF required classes.
>
> If we made this change, say adding a -w switch to WSDL2Java and all the
> other associated changes to do this, would this be considered for adding
to
> the standard AXIS WSDL2Java?
>
>        ...ant
>
> Anthony Elder
> [EMAIL PROTECTED]
> Web Services Development
> IBM UK Laboratories,  Hursley Park
> (+44) 01962 818320, x248320, MP208.
>

Reply via email to