NPE org.apache.cxf.attachment.AttachmentSerializer.writeAttachments

2008-04-11 Thread guse
Hi List, I'm relatively new to Apache CXF and managed to implement a Webservice using JAX-WS which returns MTOM attachments. My service connects to a Webserver and gets the content of the MTOM attachment by reading a Java HTTPConnection. Sometimes there seems to be no content in the

Re: NPE org.apache.cxf.attachment.AttachmentSerializer.writeAttachments

2008-04-11 Thread Daniel Kulp
Christoph, How is the attachment constructed? Is this something that is a byte[] in the jaxb beans or is it an Image or a DataHandler or what? That may help narrow down that cause a bit. All we do is iterator over the attachments, write out the mime headers, then call: