Hi,
I have a method in a java bean that i want to turn into a webservice that returns a soap attachment of file to the client. From various articles i have read that your method must return a DataHandler object.

my method looks like:

public DataHandler getXYZ()

when i run java2wsdl on the javabean, i get xsd:anytype as the return type in my wsdl and no attachment information. do i have insert the soap attachment information in my wsdl manually? is there a way java2wsdl can generate it?

thx for your help
Anthony

Reply via email to