I've thought of (in the axis 1.2 timeframe) letting you specify a WsdlGenerator, a class that generates wsdl for an endpoint. The base impls. would be 'return a resource' and 'make one from introspection', but I'd envisage smarter things like running the resource through velocity to expand templates.
for now, jsut turn ?wsdl off (point to an empty resource) and serve up wsdl in some other manner, off a different url ----- Original Message ----- From: "Gurkan, Ozzie (MAN-Corporate)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 02, 2003 13:39 Subject: RE: Turning off ?wsdl feature > Short of writing a filter to intercept the ?wsdl querystring, I am not sure > how I trap that request in the web.xml file. Currently, the web.xml has an > entry for /axis/* for all services to be handled by the AxisServlet. How > would I intercept something like "/axis/*?wsdl"? > > -----Original Message----- > From: Mike Burati [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 02, 2003 4:37 PM > To: '[EMAIL PROTECTED]' > Subject: RE: Turning off ?wsdl feature > > > > Use that feature to point it to a resource in your WAR (defined by web.xml) > which is a servlet or JSP controller that dispatches to the client-specific > actual WSDL based on which client is making the request? > > -----Original Message----- > From: Gurkan, Ozzie (MAN-Corporate) [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 02, 2003 4:28 PM > To: '[EMAIL PROTECTED]' > Subject: RE: Turning off ?wsdl feature > > > That works great for only one, but I want to be able to select different > WSDL files, not just one. I guess you could conceivably have different > service urls for each client, but that gets ugly fast. > > -----Original Message----- > From: Kellogg, Richard [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 02, 2003 4:23 PM > To: [EMAIL PROTECTED] > Subject: RE: Turning off ?wsdl feature > > > Try the following article: > http://www.fawcette.com/javapro/2003_02/online/WSDL_kjones_02_27_03/default_ > pf.asp > <http://www.fawcette.com/javapro/2003_02/online/WSDL_kjones_02_27_03/default > _pf.asp> > > > -----Original Message----- > From: Gurkan, Ozzie (MAN-Corporate) [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 02, 2003 4:18 PM > To: '[EMAIL PROTECTED]' > Subject: Turning off ?wsdl feature > > > Is there a way to limit access to the ?wsdl feature or turn it off > completely? I need to be able customize the WSDL file based on the client, > so I don't want it readily available to all clients. > > Thanks, > Ozzie > >
