Hi Jarek,
The SOAP problem you saw before can be passed by jboss-saaj.jar from
JBOSS_DIR/server/.../lib to JBOSS_DIR/lib/endorsed.
Some people mentioned seems work around when they use JDK1.6 with
Jboss 4.2.x. activation.jar is required as well. (So don't need to
touch saaj-impl.jar & saaj-api.jar, I was wrong)
Then, H2O can start properly. However I found a known issue that also
related to SOAP (
http://groups.google.com/group/cecid-hermes2/
browse_thread/thread/813be1ebda574eea/d54106d961d2c241?
#d54106d961d2c241)
Now when I try to send message, it has following error message. The
work around when using Tomcat instead of Jboss is to place saaj-
impl.jar & saaj-api.jar to endorsed folder. But this would produce
content-type problem in Jboss.
And just to recap, I found Jboss 4.0.x has no such issue. I think it's
the same as we tried before H2O doesn't work with SAAJ1.3. For me, it
sounds H2O has to update according to WS spec.
Hope this would save you little time.
Regards
Philip
18:28:20,458 ERROR [STDERR] [Fatal Error] :1:301: The prefix "env" for
element "env:Envelope" is not bound.
18:28:20,459 INFO [STDOUT] 18:28:20,459 ERROR [spa] Error in outbox
task
hk.hku.cecid.ebms.spa.task.MessageValidationException: Cannot
reconstruct the message
20080212-1...@147.8.177.25 from
repository
by org.jboss.ws.core.CommonSOAPFaultException:
org.xml.sax.SAXParseException: The prefix "env" for element
"env:Envelope" is not bound.
at
hk.hku.cecid.ebms.spa.handler.EbxmlMessageDAOConvertor.getEbxmlMessage(EbxmlMessageDAOConvertor.java:
373)
at hk.hku.cecid.ebms.spa.task.OutboxTask.execute(OutboxTask.java:350)
at
hk.hku.cecid.piazza.commons.module.ActiveThread.run(ActiveThread.java:
90)
at java.lang.Thread.run(Thread.java:613)
Caused by: org.jboss.ws.core.CommonSOAPFaultException:
org.xml.sax.SAXParseException: The prefix "env" for element
"env:Envelope" is not bound.
at
org.jboss.ws.core.soap.EnvelopeBuilderDOM.build(EnvelopeBuilderDOM.java:
93)
at
org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:
262)
at
org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:
185)
at
hk.hku.cecid.ebms.spa.handler.EbxmlMessageDAOConvertor.getEbxmlMessage(EbxmlMessageDAOConvertor.java:
367)
... 3 more