Can the GenericSoapPort Using the GET_FILE Service get a Base64 Encoded File in the Response?

(Doc ID 2124843.1)

Last updated on SEPTEMBER 14, 2017

Applies to:

Oracle WebCenter Content - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Goal

Is there a way to get the Base64 encoded file in the GET_FILE response using the GenericSoapPort (WebService SOAP to connect to the WebCenter Contet (WCC) server) in a Fusion Applications environment?

Reference the KM notes:
Oracle WebCenter Content (WCC) Document Transfer Utility Readme (Doc ID 1624063.1)
Oracle Document Transfer Utility - Testing the GenericSoapPort connection (Doc ID 1969506.1)

The connection works, however, the expected Base64 encoded file is not returned.  The response from the GET_FILE service over the GenericSoapPort does not return a Base64 encoded file as the WCC WSDLs do.

The GenericSoapPort uses MTOM with XOP to return an "attachment".  The response includes a link to the file being requested.

Example:
             <ns2:Contents>
                   <xop:Include href="cid:693b1df5-00a5-4645-aa6d-fd022653517a" xmlns:xop="http://www.w3.org/2004/08/xop/include"/>
                </ns2:Contents>

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