Forum Stats

  • 3,875,354 Users
  • 2,266,905 Discussions
  • 7,912,170 Comments

Discussions

Weblogic | Oracle Service Bus | https api call returning 400 bad request

Hi,

I'm trying to call an api(https) through java in oracle service bus using the java callout component.

I'm receiving the expected result when i run my code directly from netbeans.

But i'm receiving 400 bad request when i call the same function using java callout component in osb pipeline.

In addition, i tried calling the same api using the business service component which resulted the same error.

To note that the api needs a p12 certificate in order to work, which i added in both my java code and weblogic store.

Weblogic Server Version: 12.2.1.2.0

Service Bus Console 12c

Regards,

Gilbert