Skip to content

Commit 5aca7c3

Browse files
committed
SWS-651 - Finished server-side docs
1 parent 01bcd26 commit 5aca7c3

File tree

2 files changed

+374
-13
lines changed

2 files changed

+374
-13
lines changed

src/docbkx/client.xml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -447,9 +447,9 @@ public void marshalWithSoapActionHeader(final Source s) {
447447
Web Services 2.0.
448448
</para>
449449
<section>
450-
<title>Writing integration tests</title>
450+
<title>Writing client-side integration tests</title>
451451
<para>
452-
Spring Web Services 2.0 introduced support for creating Web service client tests.
452+
Spring Web Services 2.0 introduced support for creating Web service client integration tests.
453453
In this context, a client is a class that uses the <classname>WebServiceTemplate</classname>
454454
to access a Web service.
455455
</para>
@@ -463,7 +463,7 @@ public void marshalWithSoapActionHeader(final Source s) {
463463
</para>
464464
<para>
465465
The typical usage of the <classname>MockWebServiceServer</classname> is:
466-
<itemizedlist>
466+
<orderedlist>
467467
<listitem>
468468
<para>
469469
Create a <classname>MockWebServiceServer</classname> instance by calling
@@ -501,7 +501,7 @@ public void marshalWithSoapActionHeader(final Source s) {
501501
expectations have been met.
502502
</para>
503503
</listitem>
504-
</itemizedlist>
504+
</orderedlist>
505505
</para>
506506
<note>
507507
<para>
@@ -554,7 +554,7 @@ public class CustomerClient extends WebServiceGatewaySupport {
554554
<callout arearefs="client.test.client.request">
555555
<para>
556556
<classname>CustomerCountRequest</classname> is an object supported by a marshaller.
557-
For instance, it could have a <interfacename>@XmlRootElement</interfacename> annotation
557+
For instance, it can have a <interfacename>@XmlRootElement</interfacename> annotation
558558
to be supported by JAXB2.
559559
</para>
560560
</callout>
@@ -575,8 +575,8 @@ public class CustomerClient extends WebServiceGatewaySupport {
575575
<areaspec>
576576
<areaset id="client.test.test.imports" coords="">
577577
<area id="client.test.test.imports.server" coords="13"/>
578-
<area id="client.test.test.imports.requestmatchers" coords="14"/>
579-
<area id="client.test.test.imports.resonsecreators" coords="15"/>
578+
<area id="client.test.test.imports.requestMatchers" coords="14"/>
579+
<area id="client.test.test.imports.responseCreators" coords="15"/>
580580
</areaset>
581581
<areaset id="client.test.test.spring" coords="">
582582
<area id="client.test.test.spring.runwith" coords="17"/>
@@ -604,8 +604,8 @@ import org.junit.runner.RunWith;
604604
import static org.junit.Assert.assertEquals;
605605
606606
import org.springframework.ws.test.client.MockWebServiceServer;
607-
import static org.springframework.ws.test.client.RequestMatchers.payload;
608-
import static org.springframework.ws.test.client.ResponseCreators.withPayload;
607+
import static org.springframework.ws.test.client.RequestMatchers.*;
608+
import static org.springframework.ws.test.client.ResponseCreators.*;
609609
610610
@RunWith(SpringJUnit4ClassRunner.class)
611611
@ContextConfiguration("integration-test.xml")
@@ -622,7 +622,7 @@ public class CustomerClientIntegrationTest {
622622
}
623623
624624
@Test
625-
public void basic() throws Exception {
625+
public void customerClient() throws Exception {
626626
Source requestPayload = new StringSource(
627627
"<customerCountRequest xmlns='http://springframework.org/spring-ws'>" +
628628
"<customerName>John Doe</customerName>" +
@@ -651,7 +651,7 @@ public class CustomerClientIntegrationTest {
651651
</callout>
652652
<callout arearefs="client.test.test.spring">
653653
<para>
654-
This tests uses the standard testing facilities provided in the Spring Framework.
654+
This test uses the standard testing facilities provided in the Spring Framework.
655655
This is not required, but is generally the easiest way to set up the test.
656656
</para>
657657
</callout>

0 commit comments

Comments
 (0)