hi Ian, no, my types are completely missing. only request and response types are defined in schema part of wsdl. they refer to my types but definitions are missing. i suspect it's because of package structure but i couldnt fix it. my packages are:
xx.service.web : service interface xx.service.web.impl : service implementation xx.dto : data types xx.dto.sub : more data types ianroberts wrote: > > raft wrote: >> thank you Daniel :) that reduced the number of wsdl files to one. >> >> but i have also noticed that my types aren't included in the schema part >> of >> wsdl file. java2ws includes them correctly. do you knowhow to correct it >> ? > > I'm not quite sure what you mean by this. If you mean that you've got > an operation like "public TopType foo()" but the implementation returns > an instance of SubType (a subclass of TopType) then to get SubType into > the schema in the WSDL you can use an @XmlSeeAlso annotation on the > parent class (search for XmlSeeAlso in the list archive, I'm sure it's > been mentioned before). Is that what you're after? > >> and for curiosity, what tool is running when i invoke serviceName?wsdl ? > > org.apache.cxf.transport.http.WSDLQueryHandler (in rt/core). > > Ian > > -- > Ian Roberts | Department of Computer Science > [EMAIL PROTECTED] | University of Sheffield, UK > > -- View this message in context: http://www.nabble.com/configuring-the-WSDL-generator-at-serviceUrl-wsdl-tp20703988p20733630.html Sent from the cxf-user mailing list archive at Nabble.com.
