Oracle SOA Suite (MOSC)

MOSC Banner

Unable to fetch http response code in OSB pipeline while calling REST endpoint

I am calling rest service from pipeline. REST service is sending http response code 204 .

I am able to see that code when I run just business service

<http:http-response-code xmlns:http="http://www.bea.com/wli/sb/transports/http">204</http:http-response-code>

I have to make some decision in my code based on response code . in my pipeline I am using

following xpath to extract value of http response code , but for some reason it is coming null

$inbound/ctx:transport/ctx:response/http:http-response-code

I am using 12.2.1.4.0 version .

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center