wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
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 ?

Don't get me started about those stupid light bulbs.
subject: Axis 1.4 Attachments not working
Similar Threads
AttachmentPart getContentType() gives "application/octet-stream"
SOAP with attachments in JBOSS
Java Mail - Multipart Messages and Attachments
Retrieving an SOAP Attachement with Axis
.Net Server and Java Client