From 3c239e2e48b009b2d1989f1267acb57c15935f4d Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Tue, 12 Jun 2007 21:21:03 +0000 Subject: [PATCH] Javadoc --- .../ws/soap/client/core/SoapActionCallback.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/core/src/main/java/org/springframework/ws/soap/client/core/SoapActionCallback.java b/core/src/main/java/org/springframework/ws/soap/client/core/SoapActionCallback.java index 66a01077..dc054e1c 100644 --- a/core/src/main/java/org/springframework/ws/soap/client/core/SoapActionCallback.java +++ b/core/src/main/java/org/springframework/ws/soap/client/core/SoapActionCallback.java @@ -27,11 +27,12 @@ import org.springframework.ws.soap.SoapMessage; *

* A usage example with {@link org.springframework.ws.client.core.WebServiceTemplate}: *

- * WebServiceTemplate template = new WebServiceTemplate(messageFactory, messageSender);
- * Source result = template.sendAndReceive(
+ * WebServiceTemplate template = new WebServiceTemplate(messageFactory);
+ * Result result = new DOMResult();
+ * template.sendAndReceive(
  *     new StringSource("<content xmlns=\"http://tempuri.org\"/>"),
- *     new SoapActionCallback("http://tempuri.org/SOAPAction")
- * );
+ *     new SoapActionCallback("http://tempuri.org/SOAPAction"),
+ *     result);
  * 
* * @author Arjen Poutsma