Here your example has invalid XML tags (starting and closing XML tag names must match):
<errorCode>Your custom error code</exName>
<systemMessage>A system message</exMessage>
|
this.transformer.transform(new StringSource(""" |
|
<ns2:YourCustomException xmlns:ns2="http://serviceendpoint/"> |
|
<errorCode>Your custom error code</exName> |
|
<systemMessage>A system message</exMessage> |
|
</ns2:YourCustomException > |
|
"""), faultDetail.getResult()); |
Here your example has invalid XML tags (starting and closing XML tag names must match):
spring-ws/spring-ws-docs/src/docs/asciidoc/server.adoc
Lines 1253 to 1258 in b76e5f5