I would suggest you open a JIRA for an enhancement. I think we should be returning an error without the message, too.
Nadir K. Amra Nathan Hook <[EMAIL PROTECTED]> wrote on 10/12/2007 12:22:43 PM: > > Thank you for the reply. > > The suggestion worked but not quite as I was hoping. We received > the following message when we followed your suggestion: > > Unable to generate WSDL 1.1 for this serviceIf you wish Axis2 to > automatically generate the WSDL 1.1, then please +set > useOriginalwsdl as false in your services.xml > > I am hoping that there might be a way to either return nothing or > even better yet, return a 404 message. > > Any suggestions? > > Thank you for your time. > > > ________________________________ > Date: Fri, 12 Oct 2007 08:30:23 +0530 > From: [EMAIL PROTECTED] > To: axis-user@ws.apache.org > Subject: Re: [Axis2] Stopping display of WSDL > > Hi, > > One way of doing this is to add "useOriginalwsdl" parameter "true" > to the service definition in services.xml and not giving a wsdl file > in META-INF. > > test.Test > true > > Hope this helps. > > Upul > > > On 10/11/07, Nathan Hook <[EMAIL PROTECTED]> wrote: > > Is there a way to stop Axis2 from displaying a WSDL when a request > is made to a service with the ?wsdl ending? > > E.g.: > > http:///xxx.com/services/buysomething?wsdl > > I've looked for a way to do this, but I'm afraid that I'm looking in > the wrong places. > > Any friendly push in the right direction is appreciated. > > Thank you for your time. > _________________________________________________________________ > Boo!Scare away worms, viruses and so much more! Try Windows Live OneCare! > http://onecare.live.com/standard/en-us/purchase/trial.aspx? > s_cid=wl_hotmailnews > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > _________________________________________________________________ > Windows Live Hotmail and Microsoft Office Outlook ? together at > last. Get it now. > http://office.microsoft.com/en-us/outlook/HA102225181033.aspx? > pid=CL100626971033 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]