I am not using the aar-deployment for my service, but "exploded" deployment in my webapp. The directory "myService" (under WEB-INF\services) also contains the WSDL-file. But since I have put the parameter, Axis2 does not return a WSDL file anymore. A blank wsdl-file would be fine as well.
Best Regards, Sven -----Ursprüngliche Nachricht----- Von: Grimshaw, Jeffrey [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 15. März 2007 23:11 An: [email protected] Betreff: RE: [Axis2] Securing webservice But this will only work if you don't have a wsdl file in the aar? I'm using that parameter to return _my_ wsdl rather than the generated one. Cheers, Jeff Grimshaw Sr. Programmer/Analyst Green Point Mortgage -----Original Message----- From: Sven Schroebler [mailto:[EMAIL PROTECTED] Sent: Thursday, March 15, 2007 2:50 PM To: [email protected] Subject: AW: [Axis2] Securing webservice Just found it. Simply add the following in the service.xml: <parameter name="useOriginalwsdl">true</parameter> Sven -----Ursprüngliche Nachricht----- Von: Sven Schroebler [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 15. März 2007 22:37 An: [email protected] Betreff: [Axis2] Securing webservice Hi Axis-Users & -Developers, is there a way to prevent Axis2 from returning the WSDL-File when requesting the service's URL with "?wsdl"? I only found information on this for Axis1. Thanks & Best Regards, Sven --------------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
