Thanks for your reply.
I do have all the info needed don't I? I have the .wsdl file, and the .java file for my web-service. All that I need is to generate the services.xml... But I guess the wsdl2java tool is written in such a way that it expects to generate services.xml from java code it also generates, not from pre-existing java code. I assume it is possible to automatically generate services.xml from pre-existing .java code... somehow. (I am only writing very simple web-services at the moment which only return ints, or strings, but later I will want to return more complex/custom types). /Peter ________________________________ Fra: Ashish Arya [mailto:[EMAIL PROTECTED] Sendt: 10. oktober 2007 11:48 Til: [email protected] Emne: RE: [Aixs2]: generating services.xml with wsdl2java Peter, If you remove the 'serverside' and 'serverSideInterface' attribute from <wsdl2Java> target (in Ant), it will not generate the skeleton and interface for you. And since you don't have the complete information for generating services.xml, the same is also not generated by the tool. Thus I don't think there is any way to generate services.xml without generating server side components. If any one has any alternate approach, that would be helpful. Regards, Ashish Arya, ________________________________ From: Peter A. Kirk [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 10, 2007 3:02 PM To: [email protected] Subject: [Aixs2]: generating services.xml with wsdl2java Hi Wsdl2Java can be used to generate "services.xml" - but it also generates java files (skeleton code for the webservice), and the services.xml file references the generated java classes. What if I already have a complete java file (containing all the necessary code for my webservice), and I already have an associated wsdl. How do I generate the appropriate "services.xml" for deployment in Axis2? Is there no other way than writing services.xml by hand? Thanks, Peter
