Hi Eapen, I've found this. In wsdd in service element you can add a subelement wsdlFile to specify the handcoded wsdl, for example <wsdlFile>invocationmanager.wsdl</wsdlFile> I put this wsdl in WEB-INF/classes, so it is in classpath Regards, WANG Chi -----Original Message----- From: WANG Chi [mailto:[EMAIL PROTECTED] Sent: Friday, March 02, 2007 9:57 AM ? To: axis-user@ws.apache.org Subject: RE: How can I set wsdlFile attribute in the WSDD ?
Hi, I need this too. Because Axis 1.4 seems can't generate wsdl in which an element has minOccurs="0" attribute automatically -----Original Message----- From: John Eapen [mailto:[EMAIL PROTECTED] Sent: Friday, March 02, 2007 2:27 AM ? To: axis-user Subject: How can I set wsdlFile attribute in the WSDD ? I am currently using Axis 1.3 1 . Is it possible to disable the user access to axis auto-generated wsdl files. ( eg .. /services/MyService?wsdl ). We would like our users to use the handcoded wsdl's instead. 2. If disabling is not possible, I would like to replace it with the corresponding "handcoded" wsdl. I understand that this can be done using the "wsdlFile" attribute in wsdd file. How can I set this in my ant build process which uses "wsdl2java" to generate the wsdd and "AdminClient" to deploy. Thanks John