|
98 | 98 | <answer>
|
99 | 99 | <table class="bodyTable">
|
100 | 100 | <tbody>
|
101 |
| - <tr> |
102 |
| - <th>Application Server</th> |
103 |
| - <th>SAAJ Version</th> |
104 |
| - </tr> |
105 |
| - <tr> |
106 |
| - <td>BEA WebLogic 8</td> |
107 |
| - <td>1.1</td> |
108 |
| - </tr> |
109 |
| - <tr> |
110 |
| - <td>BEA WebLogic 9</td> |
111 |
| - <td>1.1/1.2 |
112 |
| - <sup>*</sup> |
113 |
| - </td> |
114 |
| - </tr> |
115 |
| - <tr> |
116 |
| - <td>IBM WebSphere 6</td> |
117 |
| - <td>1.2</td> |
118 |
| - </tr> |
119 |
| - <tr> |
120 |
| - <td>SUN Glassfish 1</td> |
121 |
| - <td>1.3</td> |
122 |
| - </tr> |
123 |
| - <tr> |
124 |
| - <td>JBoss 4.2</td> |
125 |
| - <td>1.3 |
126 |
| - <sup>**</sup> |
127 |
| - </td> |
128 |
| - </tr> |
| 101 | + <tr><th>Application Server</th><th>SAAJ Version</th></tr> |
| 102 | + <tr><td>BEA WebLogic 8</td><td>1.1</td></tr> |
| 103 | + <tr><td>BEA WebLogic 9</td><td>1.1/1.2<sup>*</sup></td></tr> |
| 104 | + <tr><td>IBM WebSphere 6</td><td>1.2</td></tr> |
| 105 | + <tr><td>SUN Glassfish 1</td><td>1.3</td></tr> |
| 106 | + <tr><td>JBoss 4.2</td><td>1.3<sup>**</sup></td></tr> |
129 | 107 | </tbody>
|
130 | 108 | </table>
|
131 |
| - <p>* = See<a href="#saaj-weblogic9">below</a>. |
| 109 | + <p>* = See <a href="#saaj-weblogic9">below</a>. |
132 | 110 | </p>
|
133 |
| - <p>** = See<a href="#saaj-jboss">below</a>. |
| 111 | + <p>** = See <a href="#saaj-jboss">below</a>. |
134 | 112 | </p>
|
135 | 113 | <p>Additionally, Java SE 6 includes SAAJ 1.3.</p>
|
136 | 114 | </answer>
|
137 | 115 | </faq>
|
138 | 116 | <faq id="saaj-nosuchmethod">
|
139 |
| - <question>I get an |
140 |
| - <tt>NoSuchMethodError</tt> |
141 |
| - when using SAAJ. What can I do about it? |
| 117 | + <question>I get a <tt>NoSuchMethodError</tt> when using SAAJ. What can I do about it? |
142 | 118 | </question>
|
143 | 119 | <answer>
|
144 | 120 | <p>If you get the following stack trace:</p>
|
145 | 121 | <pre>
|
146 |
| - org.springframework.beans.factory.BeanCreationException: |
147 |
| - Error creating bean with name 'org.springframework.ws.soap.saaj.SaajSoapMessageFactory' |
148 |
| - defined in ServletContext resource [/WEB-INF/springws-servlet.xml]: |
| 122 | + 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]: |
149 | 123 | Invocation of init method failed;
|
150 | 124 | nested exception is java.lang.NoSuchMethodError:
|
151 | 125 | javax.xml.soap.MessageFactory.newInstance(Ljava/lang/String;)Ljavax/xml/soap/MessageFactory;
|
|
169 | 143 | </faq>
|
170 | 144 | <faq id="saaj-weblogic9">
|
171 | 145 | <question>
|
172 |
| - I get a |
173 |
| - <tt>UnsupportedOperationException</tt> |
174 |
| - "This class does not support SAAJ 1.1" when I use SAAJ |
175 |
| - under WebLogic 9. What can I do about it? |
| 146 | + 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? |
176 | 147 | </question>
|
177 | 148 | <answer>
|
178 | 149 | <p>
|
179 | 150 | Weblogic 9 has a known bug in the SAAJ 1.2 implementation: it implement all the 1.2 interfaces,
|
180 |
| - but throws |
181 |
| - <tt>UnsupportedOperationExceptions</tt> |
182 |
| - when you call them. |
183 |
| - Confusingly, the exception message is<tt>This class does not support SAAJ 1.1</tt>, even though |
184 |
| - it supports SAAJ 1.1 just fine; it just doesn't support SAAJ<strong>1.2</strong>. |
| 151 | + but throws <tt>UnsupportedOperationExceptions</tt> when you call them. |
| 152 | + Confusingly, the exception message is <tt>This class does not support SAAJ 1.1</tt>, even though |
| 153 | + it supports SAAJ 1.1 just fine; it just doesn't support SAAJ <strong>1.2</strong>. |
185 | 154 | See also<a href="http://forums.bea.com/bea/thread.jspa?threadID=600007964">this BEA forum post</a>.
|
186 | 155 | </p>
|
187 | 156 | <p>
|
|
204 | 173 | </faq>
|
205 | 174 | <faq id="saaj-jboss">
|
206 | 175 | <question>
|
207 |
| - I get a |
208 |
| - <tt>IndexOutOfBoundsException</tt> |
209 |
| - when I use SAAJ under JBoss. What can I do about it? |
| 176 | + I get an <tt>IndexOutOfBoundsException</tt> when I use SAAJ under JBoss. What can I do about it? |
210 | 177 | </question>
|
211 | 178 | <answer>
|
212 | 179 | <p>
|
|
232 | 199 | <p>
|
233 | 200 | You can find the answer to this question on
|
234 | 201 | <a href="http://static.springframework.org/spring-ws/site/why-contract-first.html">a separate page
|
235 |
| - </a> |
236 |
| - . Note that Spring-WS only requires you to write the XSD; the WSDL can be generated from that. |
| 202 | + </a>. Note that Spring-WS only requires you to write the XSD; the WSDL can be generated from that. |
237 | 203 | <a href="http://static.springframework.org/spring-ws/site/tutorial/tutorial2.html">The tutorial</a>
|
238 | 204 | illustrates how.
|
239 | 205 | </p>
|
|
0 commit comments