0 Replies Latest reply on May 19, 2006 10:46 AM by Steinar Ardasl

    Creating an EJB SEI using SOAP with Attachments

    Steinar Ardasl Newbie

      Guys,

      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?

      Anybody?