|
From: Ronald v. K. <rv...@ab...> - 2003-11-07 16:08:34
|
Do you get this message in hermes on receiving 'echo'?
This is caused by the servelet not detecting a multipart-mime header.
Either because it's not there or because the format is wrong. There has
been problems with the mail/activation libraries in Bea where they wew
unable to detect a boundary that spanned multiple lines. (spanning is
done by having the second line begin with a whitespace character, which
bea failed to detect). An plain html or a simple xml (including a echo
of an ebxml envelop!!) response also does not have the boundary set, and
therefor leads to the same error
Ronald
-----Oorspronkelijk bericht-----
Van: Tripathi, Ajit (GXS) [mailto:Aji...@gx...]
Verzonden: vrijdag 7 november 2003 16:38
Aan: 'ebx...@li...'
Onderwerp: [ebxmlms-general] interesting hermes error
Hi,
I am using hermes to send a message from hermes to a JAXM servlet.
If I return the same ebXML message in reponse, this is what I am
getting.
regards,
Ajit
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.saaj.soap.MessageImpl.<init>(MessageImpl.java:1
18)
at
com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(Mess
ageFactoryImpl.java:32)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOA
PConnection.java:333)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedP
ost.run(HttpSOAPConnection.java:142)
at java.security.AccessController.doPrivileged(Native Method)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOA
PConnection.java:115)
at
hk.hku.cecid.phoenix.message.transport.HttpServlet.send(HttpServlet.j
ava:231)
at
hk.hku.cecid.phoenix.message.handler.HttpSender.run(HttpSender.java:1
38)
javax.xml.soap.SOAPException: Unable to internalize message
at
com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:1
35)
at
com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(Mess
ageFactoryImpl.java:32)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOA
PConnection.java:333)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedP
ost.run(HttpSOAPConnection.java:142)
at java.security.AccessController.doPrivileged(Native Method)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOA
PConnection.java:115)
at
hk.hku.cecid.phoenix.message.transport.HttpServlet.send(HttpServlet.j
ava:231)
at
hk.hku.cecid.phoenix.message.handler.HttpSender.run(HttpSender.java:1
38)
Caused by: 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.saaj.soap.MessageImpl.<init>(MessageImpl.java:1
18)
|