You need to have a folder call META-INF in ur aar file and place the wsdl file in that. Also the service name in the wsdl should be the same as the servicename you used in the services.xml.
Thanks, Keith. On Mon, Sep 7, 2009 at 12:13 PM, Lorenzo Carnevale < [email protected]> wrote: > Hello everybody. > I followed one of Sosnoski's tutorials on IBM website to create Secure w.s. > with Rampart. > > In Services.xml, I have the following tag: > > <parameter name="useOriginalwsdl">true</parameter> > I am deploying my web service as an aar service in an axis2 standalone > server, > and I have the error "Unable to generate WSDL 1.1 for this service" when I > try to access the WS. > > Please notice that: > 1) I don't care if the WSDL is 1.1 or 2.0 > 2) I don't want to use, if possible, a 'generated' wsdl: the original wsdl > is prettier (and if I declare *useOriginalwsdl = false, *the generated > WSDL provides 3 end points (!) without apparent reason) > > I have seen solutions suggesting to put the .wsdl file in the META-INF > folder, but working with a .aar I have no such folder. > > Thanks to all > Lorenzo > > > > > > > > -- Thanks, Keith. Keith Chapman blog: http://www.keith-chapman.org
