This commit is contained in:
Arjen Poutsma
2008-02-15 18:39:00 +00:00
parent a808f72548
commit cfcb7de350

View File

@@ -98,54 +98,28 @@
<answer>
<table class="bodyTable">
<tbody>
<tr>
<th>Application Server</th>
<th>SAAJ Version</th>
</tr>
<tr>
<td>BEA WebLogic 8</td>
<td>1.1</td>
</tr>
<tr>
<td>BEA WebLogic 9</td>
<td>1.1/1.2
<sup>*</sup>
</td>
</tr>
<tr>
<td>IBM WebSphere 6</td>
<td>1.2</td>
</tr>
<tr>
<td>SUN Glassfish 1</td>
<td>1.3</td>
</tr>
<tr>
<td>JBoss 4.2</td>
<td>1.3
<sup>**</sup>
</td>
</tr>
<tr><th>Application Server</th><th>SAAJ Version</th></tr>
<tr><td>BEA WebLogic 8</td><td>1.1</td></tr>
<tr><td>BEA WebLogic 9</td><td>1.1/1.2<sup>*</sup></td></tr>
<tr><td>IBM WebSphere 6</td><td>1.2</td></tr>
<tr><td>SUN Glassfish 1</td><td>1.3</td></tr>
<tr><td>JBoss 4.2</td><td>1.3<sup>**</sup></td></tr>
</tbody>
</table>
<p>* = See<a href="#saaj-weblogic9">below</a>.
<p>* = See <a href="#saaj-weblogic9">below</a>.
</p>
<p>** = See<a href="#saaj-jboss">below</a>.
<p>** = See <a href="#saaj-jboss">below</a>.
</p>
<p>Additionally, Java SE 6 includes SAAJ 1.3.</p>
</answer>
</faq>
<faq id="saaj-nosuchmethod">
<question>I get an
<tt>NoSuchMethodError</tt>
when using SAAJ. What can I do about it?
<question>I get a <tt>NoSuchMethodError</tt> when using SAAJ. What can I do about it?
</question>
<answer>
<p>If you get the following stack trace:</p>
<pre>
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.springframework.ws.soap.saaj.SaajSoapMessageFactory'
defined in ServletContext resource [/WEB-INF/springws-servlet.xml]:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.ws.soap.saaj.SaajSoapMessageFactory' defined in ServletContext resource [/WEB-INF/springws-servlet.xml]:
Invocation of init method failed;
nested exception is java.lang.NoSuchMethodError:
javax.xml.soap.MessageFactory.newInstance(Ljava/lang/String;)Ljavax/xml/soap/MessageFactory;
@@ -169,19 +143,14 @@
</faq>
<faq id="saaj-weblogic9">
<question>
I get a
<tt>UnsupportedOperationException</tt>
"This class does not support SAAJ 1.1" when I use SAAJ
under WebLogic 9. What can I do about it?
I get an <tt>UnsupportedOperationException</tt> "This class does not support SAAJ 1.1" when I use SAAJ under WebLogic 9. What can I do about it?
</question>
<answer>
<p>
Weblogic 9 has a known bug in the SAAJ 1.2 implementation: it implement all the 1.2 interfaces,
but throws
<tt>UnsupportedOperationExceptions</tt>
when you call them.
Confusingly, the exception message is<tt>This class does not support SAAJ 1.1</tt>, even though
it supports SAAJ 1.1 just fine; it just doesn't support SAAJ<strong>1.2</strong>.
but throws <tt>UnsupportedOperationExceptions</tt> when you call them.
Confusingly, the exception message is <tt>This class does not support SAAJ 1.1</tt>, even though
it supports SAAJ 1.1 just fine; it just doesn't support SAAJ <strong>1.2</strong>.
See also<a href="http://forums.bea.com/bea/thread.jspa?threadID=600007964">this BEA forum post</a>.
</p>
<p>
@@ -204,9 +173,7 @@
</faq>
<faq id="saaj-jboss">
<question>
I get a
<tt>IndexOutOfBoundsException</tt>
when I use SAAJ under JBoss. What can I do about it?
I get an <tt>IndexOutOfBoundsException</tt> when I use SAAJ under JBoss. What can I do about it?
</question>
<answer>
<p>
@@ -232,8 +199,7 @@
<p>
You can find the answer to this question on
<a href="http://static.springframework.org/spring-ws/site/why-contract-first.html">a separate page
</a>
. Note that Spring-WS only requires you to write the XSD; the WSDL can be generated from that.
</a>. Note that Spring-WS only requires you to write the XSD; the WSDL can be generated from that.
<a href="http://static.springframework.org/spring-ws/site/tutorial/tutorial2.html">The tutorial</a>
illustrates how.
</p>