File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Axis 1.4 Attachments not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis 1.4 Attachments not working" Watch "Axis 1.4 Attachments not working" New topic

Axis 1.4 Attachments not working

martin ko

Joined: Apr 05, 2009
Posts: 1
Hi all,

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 ?

I agree. Here's the link:
subject: Axis 1.4 Attachments not working
It's not a secret anymore!