Hi Stu, Using the Ant tasks would allow you to automate the steps for a particular set of source files, but I don't see this as a big gain - typically you'd only go through this process once for any particular set of classes anyway, so why bother to script it out in Ant?
What I meant by making the process simpler was to eliminate the need for so much tinkering in this common case - basically build the WSDD to refer to the existing server-side code, avoid overwriting classes that already exist (or generating the server-side implementation stub), etc. - Dennis Dennis M. Sosnoski Enterprise Java, XML, and Web Services Support http://www.sosnoski.com Original Message: ----------------- From: Stuart Halloway \(DevelopMentor\) [EMAIL PROTECTED] Date: Fri, 1 Nov 2002 14:56:19 -0500 To: [EMAIL PROTECTED] Subject: RE: Web service from Java code - online example Hi Dennis, WRT making Java2WSDL and WSDL2Java simpler, what is wrong with the Ant tasks in axis-ant.jar? The whole process you describe can be automated with Ant. The toughest part (not that tough!) would be generating a transform to do step 4. Stu ---------------------------------------------------------- Stuart Halloway : staff.develop.com/halloway DevelopMentor : www.develop.com Essential Java : www.develop.com/courses/essjava ---------------------------------------------------------- -----Original Message----- From: Dennis Sosnoski [mailto:dms@;sosnoski.com] Sent: Friday, November 01, 2002 1:23 PM To: axis-user Subject: Web service from Java code - online example New users might be interested in an example I posted of using Axis to build a web service from existing Java code: http://www.sosnoski.com/presents/java-xml/axis/axis-service.html This uses the approach of Java->WSDL->Java, keeping the original code for the server side and using the generated code for a test client. I helped a client go through this process a couple of weeks ago and found it worked pretty well once you knew what to modify along the way. I'd like to put together a tool to wrap Java2WSDL and WSDL2Java to make the process simpler, but don't know when I'll get to that. - Dennis Dennis M. Sosnoski Enterprise Java, XML, and Web Services Support http://www.sosnoski.com -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ .