Calling marshalToString method on XSD OTD produces garbage characters at the end of Payload node (Doc ID 1280384.1)

Last updated on JANUARY 25, 2011

Applies to:

Oracle Java CAPS Enterprise Service Bus - Version: R6.2 and later   [Release: 6.0 and later ]
Information in this document applies to any platform.

Symptoms

Calling marshalToString() method on XSD based OTD produces garbage characters at the end of payload in the output. Payload node is defined as ANY type.

The extra garbage characters are (�ioz»"¢) at the end of payload as shown below in domain's server log file.

<StringPayload>TVNIfF5+XCZ................Q3MSAN
�ioz»"¢</StringPayload>


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms