Is there a way to stop auto generation for a service and optionally, for 
all services in Axis2 1.3? If not, I can create a JIRA.

It seems to that this could be easily handled with a configuration switch 
instead of adding filters, etc., which is more work than necessary, and am 
not sure if this "filtering" process is documented anywhere?

Nadir K. Amra


"Walker, Jeff" <[EMAIL PROTECTED]> wrote on 10/30/2007 09:37:40 AM:

> Yes,
> I was going to suggest the servlet filter, but that requires editing the
> web.xml to put the filter declaration in. Anyway, your question was
> aimed at the parameter in the wsdd.
> Good luck,
> -jeff
> 
> 
> -----Original Message-----
> From: Davide Caruso [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, October 30, 2007 10:12 AM
> To: [email protected]
> Subject: Re: RE: Stop wsdl autogeneration
> 
> Hello , Walker, Jeff,
> 
> 
> 
> 
> =======Il 2007-10-30, 14.38.30 hai scritto: =======
> 
> >Davide,
> >In server-config.wsdd, inside your service definition, put
> >  <wsdlFile>/secure.wsdl</wsdlFile>
> 
> In this way it works very well. Thank you very much.
> Alternately i've had created a servlet filter that intercepts the
> parameter "wsdl"...
>    <cut>
> 
> >
> >
> >-----Original Message-----
> >From: Davide Caruso [mailto:[EMAIL PROTECTED] 
> >Sent: Tuesday, October 30, 2007 8:44 AM
> >To: axis-user
> >Subject: Stop wsdl autogeneration
> >
> >Hi, i'm trying to stop axis to send the wsdl file to anyone who
> requests
> >it.
> >
> >I've edited the .wsdd file adding the parameter <parameter
> >name="wsdlFile" value="/my/class/mywsdl.wsdl"/> 
> >and i've added to the classpath mywsdl.wsdl file that is an empty file
> >with only the tags <wsdl></wsdl> .
> >
> >When i request the wsdl file i see always the wsdl generating from
> axis.
> >I want axis to stop this autogeneration for a purpose of security.
> >Where i go wrong?
> >I'm using Axis 1.4
> >
> >Tia
> >
> >
> >
> >
> >Best regards. 
> >
> >Davide Caruso
> >[EMAIL PROTECTED]
> >2007-10-30
> >
> >
> >---------------------------------------------------------------------
> >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]
> 
> = = = = = = = = = = = = = = = = = = = =
> 
> 
> Saluti. 
> Davide Caruso
> [EMAIL PROTECTED]
> 2007-10-30
> 
> 
> 
> ---------------------------------------------------------------------
> 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]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to