From 3462c23e0e5f617ab004d540848ee3512ec956ff Mon Sep 17 00:00:00 2001
From: Arjen Poutsma * = See
+ below
+ .
+ Additionally, Java SE 6 includes SAAJ 1.3.
BEA WebLogic 9
- 1.2
+ 1.1/1.2
+ *
+
+ IBM WebSphere 6
@@ -92,6 +94,10 @@
+ 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> ++ +