Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

soa 12c issues reading REST response when Conten-Type is text/xml or text/xml

Rajmani Kumar-OracleJun 5 2015 — edited Jun 8 2015

Hi, I need to intergrate with one the REST end point using soa 12c however the Content-Type returned by this REST api is text/json which doesn't seem to be supported with soa 12c.

Is there any workaround to this ? I tried changing the mediaType to text/xml in the WADL but it didn't help.

soa returns the following error.

<RestFaultElement>

  <code>null</code>

  <summary>oracle.fabric.common.FabricInvocationException: java.lang.RuntimeException: Unknown media type : text/json; charset=utf-8</summary>

  <detail>Unknown media type : text/json; charset=utf-8</detail>

</RestFaultElement>

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 6 2015
Added on Jun 5 2015
1 comment
949 views