Skip to content

XML invalid in CustomSoapExceptionResolver example #1669

@Piratux

Description

@Piratux

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());

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions