You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/reference/asciidoc/ws.adoc
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,8 @@ To configure an outbound Web Service Gateway, use the "outbound-gateway" element
77
77
----
78
78
79
79
NOTE: Notice that this example does not provide a 'reply-channel'.
80
-
If the Web Service were to return a non-empty response, the Message containing that response would be sent to the reply channel provided in the request Message's REPLY_CHANNEL header, and if that were not available a channel resolution Exception would be thrown.
80
+
If the Web Service were to return a non-empty response, the Message containing that response would be sent to the reply
81
+
channel provided in the request Message's `REPLY_CHANNEL` header, and if that were not available a channel resolution Exception would be thrown.
81
82
If you want to send the reply to another channel instead, then provide a 'reply-channel' attribute on the 'outbound-gateway' element.
82
83
83
84
TIP: When invoking a Web Service that returns an empty response after using a String payload for the request Message, _no reply Message will be sent by default_.
@@ -152,7 +153,7 @@ _Controlling URI Encoding_
152
153
153
154
By default, the URL string is encoded (see http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/web/util/UriComponentsBuilder.html[UriComponentsBuilder]) to the URI object before sending the request.
154
155
In some scenarios with a non-standard URI it is undesirable to perform the encoding.
155
-
Since _version 4.1 _ the `<ws:outbound-gateway/>` provides an `encode-uri` attribute.
156
+
Since _version 4.1_ the `<ws:outbound-gateway/>` provides an `encode-uri` attribute.
156
157
To disable encoding the URL, this attribute should be set to `false` (by default it is `true`).
157
158
If you wish to partially encode some of the URL, this can be achieved using an `expression` within a `<uri-variable/>`:
0 commit comments