diff --git a/src/site/fml/faq.fml b/src/site/fml/faq.fml index 845fc965..59fb4a10 100644 --- a/src/site/fml/faq.fml +++ b/src/site/fml/faq.fml @@ -80,7 +80,9 @@
* = See + below + . +
Additionally, Java SE 6 includes SAAJ 1.3.
@@ -130,6 +136,46 @@ ++ Weblogic 9 has a known bug in the SAAJ 1.2 implementation: it implement all the 1.2 interfaces, + but throws + UnsupportedOperationExceptions + when you call them. + Confusingly, the exception message is + This class does not support SAAJ 1.1 + , even though + supports SAAJ 1.1 just fine; it just doesn't support SAAJ + 1.2 + . + See also + this BEA forum post + . +
++ Spring-WS has a workaround for this, we basically use SAAJ 1.1 only when dealing with Weblogic 9. + Unfortunately, other frameworks which depend on SAAJ, such as XWSS, do not have this workaround. + These frameworks happily call SAAJ 1.2 methods, which throw this exception. +
++ The solution is to not use BEA's version of SAAJ, but to use another implementation, like the one + from Axis 1, or SUN. In you application context, use the following: +
+ <bean id="messageFactory" class="org.springframework.ws.soap.saaj.SaajSoapMessageFactory"> + <property name="messageFactory"> + <bean class="com.sun.xml.messaging.saaj.soap.MessageFactoryImpl"/> + </bean> ++ +