Hi Danny,
do you want a service or a wsdl doc :)
OK, if you do need a wsdl use XMLBeans or JAXB or some similar
XML-centric binding.
Write a XML schema with all the datatypes you need and define your
service as
public interface MyService{
ResponseDocument transform(RequestDocument in);
}
with request/response corresponding to elements in some xsd file.
In this case XFire will generate the wsdl for you.
(Unfortunately, this will not work in streaming mode, I think)
Best regards,
Bernd.
Danny Trieu wrote:
But if this is the interface of my service:
public class MyService {
public XMLStreamReader invoke(XMLStreamReader reader) {
// do something with the stream;
return responseStream;
}
}
What would the WSDL going to be like? And How do I include the
XSD(schema) that describe the my incoming xml doc.
--
Dr. Bernd Schuller
Central Institute for Applied Mathematics
Forschungszentrum Juelich GmbH
mail [EMAIL PROTECTED]
phone +49 2461 61 8736
fax +49 2461 61 6656