Hi,
I'm trying to use SAAJ from jwsdp 1.3 and can't process a SOAP message with
an attachment sent using SOAPConnection.call(). When examining the HTTP
Headers, it seems that the HTTP Content-Type header doesn't comply with the
SOAP 1.1 spec. The boundary attribute is on a separate line and the start
attribute is not specified.
Even when I add code to handle the Content-Type boundary attribute problem
in my SOAP message receiving program, I get this error:
javax.mail.MessagingException: Missing start boundary
at javax.mail.internet.MimeMultipart.parse(MimeMultipart.java:284)
at
javax.mail.internet.MimeMultipart.getBodyPart(MimeMultipart.java:172) at
com.sun.xml.messaging.soap.MessageImpl.<init>(MessageImpl.java:118)
at
com.sun.xml.messaging.soap.MessageFactoryImpl.createMessage(MessageFactoryIm
pl.java:32) at
mil.osd.dmdc.aatd.dts.servlet.SAAJServlet.doPost(SAAJServlet.java:62) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:211) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at
com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispa
tcher.java:684) at
com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletReq
uestDispatcher.java:269) at
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandle
r.java:735) at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
at
com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
Has anyone else encountered these problems?
Thanks,
Richard