To user your user defined wsdl, add :
<parameter name="useOriginalwsdl">true</parameter> to the services.xml file. ________________________________ From: Alistair Young [mailto:[EMAIL PROTECTED] Sent: Monday, March 19, 2007 4:45 PM To: axis-user@ws.apache.org Subject: Re: [AXIS2] targetnamspace wrong in Axis2 version of wsdl with imported xsd Can Axis2 wsdl2java not handle imported schema files? The imported xsd file gets renamed to xsd0.xsd and all the namespaces in it are ignored. xsd0.xsd is not referenced in the new wsdl - why is it creating a NEW wsdl? and all the types that reference xsd0.xsd get changed to xsi:anyType, so nothing works. thanks, Alistair -------------- mov eax,1 mov ebx,0 int 80h On 16 Mar 2007, at 14:41, Alistair Young wrote: in META-INF/TestService.wsdl: targetNamespace="uk:ac:ox:oucs:ask:repo:ws:collectionmanager" xmlns:rt="uk:ac:ox:oucs:ask:repo:ws:types" axis2-admin listing the service: targetNamespace="http://collectionmanager.ws.repo.ask.oucs.ox.ac.uk" and xmlns:rt has been removed xmlns:rt has been imported from an external xsd into the wsdl all these changes cause the service to break. How can I stop Axis2 rewriting the wsdl? thanks, Alistair -------------- mov eax,1 mov ebx,0 int 80h