Absolutely, fixing WSDL2Java so it doesn't abend is probably what I really meant but just described badly. Ignoring the extra WSDL should work fine.
I don't know about a new API and a WSDL2WSIF command, it seems a little over kill when all WSIF needs is to suppress writing out the stub classes. How about then a -xs switch to say don't generate stubs. Later other options such as -xt (don't generate types) could be added if anyone ever wanted it. Actually to do this would probably require creating the new API anyway with new methods on the Emiter and Parser classes. If there was a new WSDL2WSIF command, would it be part of AXIS or WSIF? ...ant Anthony Elder [EMAIL PROTECTED] Web Services Development IBM UK Laboratories, Hursley Park (+44) 01962 818320, x248320, MP208. Russell Butek/Austin/IBM@IBMUS on 30/09/2002 15:08:43 Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: RE: [axis] WSDL2Java enhancements for WSIF Seems to me that we need a new extension - WSDL2WSIF. This could either extend WSDL2Java or extend the base framework WSDL2. If I could get some more information from you folks about what you actually generate, I could help create this extension (next week - this week I'm rather strapped for time). Russell Butek [EMAIL PROTECTED] Tom Jordahl <[EMAIL PROTECTED]> on 09/30/2002 08:46:20 AM Please respond to [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> cc: 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. :-) 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.