Hi, You can specify your DTO schema a different namespace with the one used by wsdl, so that the DTO class and SEI are in different packages. ------------- Freeman(Yue) Fang
Red Hat, Inc. FuseSource is now part of Red Hat Web: http://fusesource.com | http://www.redhat.com/ Twitter: freemanfang Blog: http://freemanfang.blogspot.com http://blog.sina.com.cn/u/1473905042 weibo: @Freeman小屋 On 2013-4-10, at 下午3:40, Samuel Quintana wrote: > Hi, my name is Samuel, i'm from Mexico, please helpme with a cxf theme. > > I need create the WSDL file and then create a clien with ant task. > > but when i run the task the generated namespaces of my DTOs aren't > respected, for example, original the namespace is com.oz.dto for all dto's > pojos and com.oz.ws.definitions for SEI Interfaces. > > but the generated code create only one package(com.oz.ws.definitions), in > this package all classes are put(DTO, SEI) > > how can say to generator that respect my packages? > > My problem is that this WS is not the unique than depends of the same > DTO's, so, when i generate the other WS, the same DTO's are generated in > several packages. > > thanks a lot and sorry again.
