File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
main/java/org/springframework/ws/test/server
test/java/org/springframework/ws/test/server/integration Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 4343 * <ol>
4444 * <li>Create a {@code MockWebServiceClient} instance by using {@link #createClient(ApplicationContext)} or
4545 * {@link #createClient(WebServiceMessageReceiver, WebServiceMessageFactory)}</li>
46- * <li>Send request messages by calling {@link #sendMessage (RequestCreator)}, possibly by using the default
46+ * <li>Send request messages by calling {@link #sendRequest (RequestCreator)}, possibly by using the default
4747 * {@link RequestCreator} implementations provided in {@link RequestCreators} (which can be statically imported).</li>
4848 * <li>Set up response expectations by calling {@link ResponseActions#andExpect(ResponseMatcher) andExpect(ResponseMatcher)},
4949 * possibly by using the default {@link ResponseMatcher} implementations provided in {@link ResponseMatchers}
@@ -170,7 +170,7 @@ public static MockWebServiceClient createClient(ApplicationContext applicationCo
170170 * @return the response actions
171171 * @see RequestCreators
172172 */
173- public ResponseActions sendMessage (RequestCreator requestCreator ) {
173+ public ResponseActions sendRequest (RequestCreator requestCreator ) {
174174 Assert .notNull (requestCreator , "'requestCreator' must not be null" );
175175 try {
176176 WebServiceMessage request = requestCreator .createRequest (messageFactory );
Original file line number Diff line number Diff line change 2929
3030/**
3131 * Factory methods for {@link RequestCreator} classes. Typically used to provide input for {@link
32- * MockWebServiceClient#sendMessage (RequestCreator)}.
32+ * MockWebServiceClient#sendRequest (RequestCreator)}.
3333 *
3434 * @author Arjen Poutsma
3535 * @since 2.0
Original file line number Diff line number Diff line change 1818
1919/**
2020 * Allows for setting up expectation about response messages. Implementations of this interface are returned by
21- * {@link MockWebServiceClient#sendMessage (RequestCreator)}.
21+ * {@link MockWebServiceClient#sendRequest (RequestCreator)}.
2222 *
2323 * @author Arjen Poutsma
2424 * @since 2.0
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ public void basic() throws Exception {
5757 "<customerCountResponse xmlns='http://springframework.org/spring-ws'>" +
5858 "<customerCount>42</customerCount>" + "</customerCountResponse>" );
5959
60- mockClient .sendMessage (withPayload (requestPayload )).andExpect (payload (expectedResponsePayload ));
60+ mockClient .sendRequest (withPayload (requestPayload )).andExpect (payload (expectedResponsePayload ));
6161 }
6262
6363
You can’t perform that action at this time.
0 commit comments