I am trying to create a Web Service which produces a SOAP Message with an Attachment. In the sample code for JBossWS I only found an Web Service that receives an attachment (and I am trying to achieve the opposite)
Has anybody seen an example how to do this? - What should be the return type? java.lang.Object/javax.activation.DataHandler/byte - How can you configure the WSTool to set the appropriate MIME Type on the WSDL?