Added Why contract-first? page

This commit is contained in:
Arjen Poutsma
2007-04-04 15:54:52 +00:00
parent 3de06c8636
commit 5f851a47b4

View File

@@ -102,17 +102,17 @@
</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.SaajSoapMessageContextFactory'
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;
Caused by:
java.lang.NoSuchMethodError:
javax.xml.soap.MessageFactory.newInstance(Ljava/lang/String;)Ljavax/xml/soap/MessageFactory;
</pre>
<pre>
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.springframework.ws.soap.saaj.SaajSoapMessageContextFactory'
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;
Caused by:
java.lang.NoSuchMethodError:
javax.xml.soap.MessageFactory.newInstance(Ljava/lang/String;)Ljavax/xml/soap/MessageFactory;
</pre>
<p>
Like most J2EE libraries, SAAJ consists of two parts: the API that consists of interfaces (
<tt>saaj-api.jar</tt>
@@ -140,10 +140,7 @@
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>
.
</p>
<p>
Note that Spring-WS only requires you to write the XSD; the WSDL can be generated from that.
. 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>