i am experiencing a problem using attachments with axis1.4.
i have da implement a webservice for a given wsdl. used wsdl2java to generate the java skeleton.
when i am trying to add attachments to the response message, as shown in the coding below and testing the service form xmlspy, i always get the message, that the service returned an empty response.
when leaving the coding for adding attachments away, it works find.
can anybody tell me, what i did wrong in my coding ?