This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis 1.4 Attachments not working" Watch "Axis 1.4 Attachments not working" New topic
Author

Axis 1.4 Attachments not working

martin ko
Greenhorn

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 ?





Thanks,
Martin
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Axis 1.4 Attachments not working