Convert Data Between ROS20Generic and StandardEvent (Doc ID 1027721.1)

Last updated on APRIL 01, 2011

Applies to:

Sun e*Gate - Version: 4.1.2 and later   [Release: 4.1 and later ]
Information in this document applies to any platform.
Sun SeeBeyond e*Gate - Version: 4.5.2 and later.
Checked for relevance on 01-April-2011.

Goal

Doing the following to unmarshal $text field in StandardEvent to ROS20Generic

====================================================
getunwrapping() .unmarshal(com.stc.eways.util.Base64Utils.base64DecodeToByte(getin().getTP_EVENT().getPayload().get$Text()));
=====================================================
and got the following error:
=====================================================
com.stc.jcsre.UnmarshalException: line 1: expecting , found Content-Type: multipart/related;
boundary=xyzseebeyondscx-multipart-related-boundary-0;
type=application/XML
Content-Description: ROS20 Business Msg, SeeBeyond

--xyzseebeyondscx-multipart-related-boundary-0
Content-Type: application/XML
Content-Description: RosettaNet-Preamble
Content-Location: RN-Preamble
Content-ID: stcseebeyondscx-rn20-preamble
=====================================================

Solution

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