Skip to content

Commit 4dbbf09

Browse files
committed
SWS-462
1 parent 0b8b93f commit 4dbbf09

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

core-tiger/src/main/java/org/springframework/ws/server/endpoint/mapping/PayloadRootAnnotationMethodEndpointMapping.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
* <pre>
3535
* &#64;Endpoint
3636
* public class MyEndpoint{
37-
* &#64;Payload(localPart = "Request",
37+
* &#64;PayloadRoot(localPart = "Request",
3838
* namespace = "http://springframework.org/spring-ws")
3939
* public Source doSomethingWithRequest() {
4040
* ...
@@ -54,8 +54,9 @@ public class PayloadRootAnnotationMethodEndpointMapping extends AbstractAnnotati
5454
}
5555

5656
protected String getLookupKeyForMessage(MessageContext messageContext) throws Exception {
57-
QName qName = PayloadRootUtils
58-
.getPayloadRootQName(messageContext.getRequest().getPayloadSource(), transformerFactory);
57+
QName qName =
58+
PayloadRootUtils.getPayloadRootQName(messageContext.getRequest().getPayloadSource(), transformerFactory)
59+
;
5960
return qName != null ? qName.toString() : null;
6061
}
6162

0 commit comments

Comments
 (0)