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

Reply via email to