Hi keith, I dont think you have got the question. Have got the WSDL using the Java2WSDL tool for the existing class. But wht I wanted was to apply the WSDL2Java tool to it to generate the stub,build.xml and the service.xml. So that I can directly create a aar and then deploy it.
Thanks, Chinmay ----- Original Message ---- From: keith chapman <[EMAIL PROTECTED]> To: [email protected] Sent: Tuesday, November 28, 2006 5:55:37 PM Subject: Re: WSDL2Java in AXIS2_1.1 If you want to expose existing Java classes as a web service then it might be better to use the Java2WSDL tool... Thanks, Keith. On 11/28/06, c b <[EMAIL PROTECTED]> wrote: Hi, I have just moved from Axis 1.4 to Axis2. In the WSDL2Java tool, we used to have an "-i" option in Axis 1.4, which allowed you to set the implementation class. This stopped the WSDL2Java toll from generating a blank impl class. This -i option is no longer present in Axis2. I can just drop the -ss option and generate the client side code and solve this issue. But If no -ss is provided then we dont get any service.xml, which is required for aar deployment. My scenario involvs exposing existing java classes and their api as a web service. So having a skeleton and adding some more redundant code does not make sense. More specifically what is needed is given a name of java class, expose all the public methods as web service in an automated fashion. i.e. the whole deployment process should happen as a part of a utility, with no manual steps. Any ideas,directions would help a lot. Thanks in advance, Chinmay. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ____________________________________________________________________________________ Sponsored Link $420k for $1,399/mo. Think You Pay Too Much For Your Mortgage? Find Out! www.LowerMyBills.com/lre
